diff --git a/runtime/kusama/constants/src/weights/block_weights.rs b/runtime/kusama/constants/src/weights/block_weights.rs index b2764de4e377..f1249659015b 100644 --- a/runtime/kusama/constants/src/weights/block_weights.rs +++ b/runtime/kusama/constants/src/weights/block_weights.rs @@ -13,9 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16 (Y/M/D) -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2023-04-28 (Y/M/D) +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` @@ -42,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 6_708_387, 7_042_534 - /// Average: 6_818_965 - /// Median: 6_826_464 - /// Std-Dev: 66350.7 + /// Min, Max: 3_425_466, 3_609_886 + /// Average: 3_467_068 + /// Median: 3_449_072 + /// Std-Dev: 36835.22 /// /// Percentiles nanoseconds: - /// 99th: 6_991_352 - /// 95th: 6_933_543 - /// 75th: 6_854_332 + /// 99th: 3_600_149 + /// 95th: 3_542_240 + /// 75th: 3_479_155 pub const BlockExecutionWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(6_818_965), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(3_467_068), 0); } #[cfg(test)] diff --git a/runtime/kusama/constants/src/weights/extrinsic_weights.rs b/runtime/kusama/constants/src/weights/extrinsic_weights.rs index 169740d3ae74..9877df58d3e2 100644 --- a/runtime/kusama/constants/src/weights/extrinsic_weights.rs +++ b/runtime/kusama/constants/src/weights/extrinsic_weights.rs @@ -13,9 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16 (Y/M/D) -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2023-04-28 (Y/M/D) +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` @@ -42,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 105_285, 107_713 - /// Average: 106_013 - /// Median: 105_990 - /// Std-Dev: 441.55 + /// Min, Max: 110_261, 112_028 + /// Average: 110_921 + /// Median: 110_835 + /// Std-Dev: 357.12 /// /// Percentiles nanoseconds: - /// 99th: 107_324 - /// 95th: 106_820 - /// 75th: 106_178 + /// 99th: 111_911 + /// 95th: 111_630 + /// 75th: 111_113 pub const ExtrinsicBaseWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(106_013), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(110_921), 0); } #[cfg(test)] diff --git a/runtime/kusama/src/weights/frame_benchmarking_baseline.rs b/runtime/kusama/src/weights/frame_benchmarking_baseline.rs index 7d97d1ef7baf..268d2076fed5 100644 --- a/runtime/kusama/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/kusama/src/weights/frame_benchmarking_baseline.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `frame_benchmarking::baseline` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `frame_benchmarking::baseline`. pub struct WeightInfo(PhantomData); @@ -50,8 +52,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 181_000 picoseconds. - Weight::from_parts(213_057, 0) + // Minimum execution time: 182_000 picoseconds. + Weight::from_parts(205_425, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -59,8 +61,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 187_000 picoseconds. - Weight::from_parts(218_567, 0) + // Minimum execution time: 181_000 picoseconds. + Weight::from_parts(211_154, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -68,8 +70,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 186_000 picoseconds. - Weight::from_parts(217_697, 0) + // Minimum execution time: 181_000 picoseconds. + Weight::from_parts(213_770, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -77,16 +79,16 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 175_000 picoseconds. - Weight::from_parts(215_174, 0) + // Minimum execution time: 182_000 picoseconds. + Weight::from_parts(205_830, 0) .saturating_add(Weight::from_parts(0, 0)) } fn hashing() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 19_355_019_000 picoseconds. - Weight::from_parts(19_438_410_000, 0) + // Minimum execution time: 19_204_192_000 picoseconds. + Weight::from_parts(19_387_813_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 100]`. @@ -94,10 +96,10 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 215_000 picoseconds. - Weight::from_parts(225_000, 0) + // Minimum execution time: 201_000 picoseconds. + Weight::from_parts(216_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 21_389 - .saturating_add(Weight::from_parts(47_593_832, 0).saturating_mul(i.into())) + // Standard Error: 7_416 + .saturating_add(Weight::from_parts(46_946_123, 0).saturating_mul(i.into())) } } diff --git a/runtime/kusama/src/weights/frame_election_provider_support.rs b/runtime/kusama/src/weights/frame_election_provider_support.rs index 990fe2de459e..4342f4f1fe24 100644 --- a/runtime/kusama/src/weights/frame_election_provider_support.rs +++ b/runtime/kusama/src/weights/frame_election_provider_support.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `frame_election_provider_support`. pub struct WeightInfo(PhantomData); @@ -52,13 +54,13 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_408_324_000 picoseconds. - Weight::from_parts(6_485_200_000, 0) + // Minimum execution time: 6_592_602_000 picoseconds. + Weight::from_parts(6_624_542_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 141_569 - .saturating_add(Weight::from_parts(5_934_369, 0).saturating_mul(v.into())) - // Standard Error: 14_473_545 - .saturating_add(Weight::from_parts(1_546_857_142, 0).saturating_mul(d.into())) + // Standard Error: 146_810 + .saturating_add(Weight::from_parts(6_132_062, 0).saturating_mul(v.into())) + // Standard Error: 15_009_354 + .saturating_add(Weight::from_parts(1_608_749_783, 0).saturating_mul(d.into())) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. @@ -67,12 +69,12 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_994_312_000 picoseconds. - Weight::from_parts(5_043_278_000, 0) + // Minimum execution time: 4_594_449_000 picoseconds. + Weight::from_parts(4_624_318_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 153_800 - .saturating_add(Weight::from_parts(5_926_584, 0).saturating_mul(v.into())) - // Standard Error: 15_724_043 - .saturating_add(Weight::from_parts(1_841_670_903, 0).saturating_mul(d.into())) + // Standard Error: 125_306 + .saturating_add(Weight::from_parts(4_982_326, 0).saturating_mul(v.into())) + // Standard Error: 12_810_878 + .saturating_add(Weight::from_parts(1_455_352_897, 0).saturating_mul(d.into())) } } diff --git a/runtime/kusama/src/weights/frame_system.rs b/runtime/kusama/src/weights/frame_system.rs index 7cc58211ba79..c6ab050835d3 100644 --- a/runtime/kusama/src/weights/frame_system.rs +++ b/runtime/kusama/src/weights/frame_system.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `frame_system`. pub struct WeightInfo(PhantomData); @@ -50,22 +52,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_184_000 picoseconds. - Weight::from_parts(2_232_000, 0) + // Minimum execution time: 2_539_000 picoseconds. + Weight::from_parts(2_627_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(374, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(365, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_626_000 picoseconds. - Weight::from_parts(7_777_000, 0) + // Minimum execution time: 8_055_000 picoseconds. + Weight::from_parts(8_173_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_410, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_398, 0).saturating_mul(b.into())) } /// Storage: System Digest (r:1 w:1) /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) @@ -75,8 +77,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 4_094_000 picoseconds. - Weight::from_parts(4_332_000, 0) + // Minimum execution time: 4_417_000 picoseconds. + Weight::from_parts(4_671_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -88,11 +90,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_142_000 picoseconds. - Weight::from_parts(2_256_000, 0) + // Minimum execution time: 2_558_000 picoseconds. + Weight::from_parts(2_602_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_736 - .saturating_add(Weight::from_parts(658_559, 0).saturating_mul(i.into())) + // Standard Error: 1_616 + .saturating_add(Weight::from_parts(660_932, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -102,11 +104,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_179_000 picoseconds. - Weight::from_parts(2_226_000, 0) + // Minimum execution time: 2_485_000 picoseconds. + Weight::from_parts(2_597_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 817 - .saturating_add(Weight::from_parts(485_258, 0).saturating_mul(i.into())) + // Standard Error: 762 + .saturating_add(Weight::from_parts(484_884, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -114,13 +116,13 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `120 + p * (69 ±0)` - // Estimated: `121 + p * (70 ±0)` - // Minimum execution time: 4_109_000 picoseconds. - Weight::from_parts(4_255_000, 0) - .saturating_add(Weight::from_parts(0, 121)) - // Standard Error: 1_259 - .saturating_add(Weight::from_parts(1_043_188, 0).saturating_mul(p.into())) + // Measured: `105 + p * (69 ±0)` + // Estimated: `115 + p * (70 ±0)` + // Minimum execution time: 4_495_000 picoseconds. + Weight::from_parts(4_626_000, 0) + .saturating_add(Weight::from_parts(0, 115)) + // Standard Error: 903 + .saturating_add(Weight::from_parts(1_003_387, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/kusama/src/weights/pallet_bags_list.rs b/runtime/kusama/src/weights/pallet_bags_list.rs index 84f983fc02ea..97f62b846ade 100644 --- a/runtime/kusama/src/weights/pallet_bags_list.rs +++ b/runtime/kusama/src/weights/pallet_bags_list.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bags_list`. pub struct WeightInfo(PhantomData); @@ -56,10 +58,10 @@ impl pallet_bags_list::WeightInfo for WeightInfo { fn rebag_non_terminal() -> Weight { // Proof Size summary in bytes: // Measured: `1654` - // Estimated: `23146` - // Minimum execution time: 60_668_000 picoseconds. - Weight::from_parts(62_285_000, 0) - .saturating_add(Weight::from_parts(0, 23146)) + // Estimated: `11506` + // Minimum execution time: 59_659_000 picoseconds. + Weight::from_parts(60_312_000, 0) + .saturating_add(Weight::from_parts(0, 11506)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -74,10 +76,10 @@ impl pallet_bags_list::WeightInfo for WeightInfo { fn rebag_terminal() -> Weight { // Proof Size summary in bytes: // Measured: `1548` - // Estimated: `23074` - // Minimum execution time: 58_418_000 picoseconds. - Weight::from_parts(59_124_000, 0) - .saturating_add(Weight::from_parts(0, 23074)) + // Estimated: `8877` + // Minimum execution time: 58_211_000 picoseconds. + Weight::from_parts(58_815_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -94,10 +96,10 @@ impl pallet_bags_list::WeightInfo for WeightInfo { fn put_in_front_of() -> Weight { // Proof Size summary in bytes: // Measured: `1857` - // Estimated: `30748` - // Minimum execution time: 64_409_000 picoseconds. - Weight::from_parts(65_566_000, 0) - .saturating_add(Weight::from_parts(0, 30748)) + // Estimated: `11506` + // Minimum execution time: 64_274_000 picoseconds. + Weight::from_parts(65_101_000, 0) + .saturating_add(Weight::from_parts(0, 11506)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs b/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs index a5c0b494fe8d..b411cdd9aa96 100644 --- a/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs +++ b/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,56 +39,57 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { + /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances Account (r:2 w:2) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) - /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `219` - // Estimated: `11258` - // Minimum execution time: 39_224_000 picoseconds. - Weight::from_parts(39_636_000, 0) - .saturating_add(Weight::from_parts(0, 11258)) + // Estimated: `6164` + // Minimum execution time: 53_848_000 picoseconds. + Weight::from_parts(54_405_000, 0) + .saturating_add(Weight::from_parts(0, 6164)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } + /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:0) + /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances Account (r:2 w:2) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `217` - // Estimated: `9757` - // Minimum execution time: 27_245_000 picoseconds. - Weight::from_parts(28_139_000, 0) - .saturating_add(Weight::from_parts(0, 9757)) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `219` + // Estimated: `6164` + // Minimum execution time: 40_963_000 picoseconds. + Weight::from_parts(41_704_000, 0) + .saturating_add(Weight::from_parts(0, 6164)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: NisCounterpartBalances Account (r:1 w:1) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) - /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `219` - // Estimated: `5078` - // Minimum execution time: 16_568_000 picoseconds. - Weight::from_parts(16_964_000, 0) - .saturating_add(Weight::from_parts(0, 5078)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `217` + // Estimated: `3577` + // Minimum execution time: 15_354_000 picoseconds. + Weight::from_parts(15_614_000, 0) + .saturating_add(Weight::from_parts(0, 3577)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: NisCounterpartBalances Account (r:1 w:1) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) @@ -98,56 +100,76 @@ impl pallet_balances::WeightInfo for WeightInfo { fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `393` - // Estimated: `8671` - // Minimum execution time: 24_153_000 picoseconds. - Weight::from_parts(24_529_000, 0) - .saturating_add(Weight::from_parts(0, 8671)) + // Estimated: `3593` + // Minimum execution time: 25_601_000 picoseconds. + Weight::from_parts(26_064_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } + /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances Account (r:2 w:2) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: System Account (r:2 w:2) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) - /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `322` - // Estimated: `13861` - // Minimum execution time: 41_412_000 picoseconds. - Weight::from_parts(42_310_000, 0) - .saturating_add(Weight::from_parts(0, 13861)) + // Estimated: `6196` + // Minimum execution time: 55_799_000 picoseconds. + Weight::from_parts(56_476_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: NisCounterpartBalances Account (r:2 w:2) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) + /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:0) + /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `217` - // Estimated: `9757` - // Minimum execution time: 35_218_000 picoseconds. - Weight::from_parts(36_321_000, 0) - .saturating_add(Weight::from_parts(0, 9757)) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `219` + // Estimated: `6164` + // Minimum execution time: 50_298_000 picoseconds. + Weight::from_parts(50_967_000, 0) + .saturating_add(Weight::from_parts(0, 6164)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: NisCounterpartBalances Account (r:1 w:1) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_unreserve() -> Weight { // Proof Size summary in bytes: - // Measured: `217` - // Estimated: `3577` - // Minimum execution time: 14_706_000 picoseconds. - Weight::from_parts(15_135_000, 0) - .saturating_add(Weight::from_parts(0, 3577)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `391` + // Estimated: `3593` + // Minimum execution time: 20_916_000 picoseconds. + Weight::from_parts(21_199_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } - fn upgrade_accounts(_: u32) -> Weight { - Weight::from_parts(0, 0) + /// Storage: NisCounterpartBalances Account (r:999 w:999) + /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) + /// Storage: System Account (r:999 w:999) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// The range of component `u` is `[1, 1000]`. + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + u * (256 ±0)` + // Estimated: `990 + u * (2603 ±0)` + // Minimum execution time: 20_435_000 picoseconds. + Weight::from_parts(20_823_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 13_048 + .saturating_add(Weight::from_parts(15_398_340, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } } diff --git a/runtime/kusama/src/weights/pallet_bounties.rs b/runtime/kusama/src/weights/pallet_bounties.rs index 5dbba85898e9..6bbb1d24ec16 100644 --- a/runtime/kusama/src/weights/pallet_bounties.rs +++ b/runtime/kusama/src/weights/pallet_bounties.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bounties`. pub struct WeightInfo(PhantomData); @@ -56,13 +58,13 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// The range of component `d` is `[0, 16384]`. fn propose_bounty(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `210` - // Estimated: `5082` - // Minimum execution time: 23_859_000 picoseconds. - Weight::from_parts(25_408_671, 0) - .saturating_add(Weight::from_parts(0, 5082)) + // Measured: `177` + // Estimated: `3593` + // Minimum execution time: 28_255_000 picoseconds. + Weight::from_parts(29_403_164, 0) + .saturating_add(Weight::from_parts(0, 3593)) // Standard Error: 8 - .saturating_add(Weight::from_parts(719, 0).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(687, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -72,11 +74,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) fn approve_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `302` - // Estimated: `5529` - // Minimum execution time: 11_187_000 picoseconds. - Weight::from_parts(11_502_000, 0) - .saturating_add(Weight::from_parts(0, 5529)) + // Measured: `269` + // Estimated: `3642` + // Minimum execution time: 11_058_000 picoseconds. + Weight::from_parts(11_325_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -84,10 +86,10 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn propose_curator() -> Weight { // Proof Size summary in bytes: - // Measured: `322` + // Measured: `289` // Estimated: `3642` - // Minimum execution time: 9_836_000 picoseconds. - Weight::from_parts(10_094_000, 0) + // Minimum execution time: 9_853_000 picoseconds. + Weight::from_parts(10_113_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,11 +100,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn unassign_curator() -> Weight { // Proof Size summary in bytes: - // Measured: `498` - // Estimated: `7235` - // Minimum execution time: 34_372_000 picoseconds. - Weight::from_parts(34_747_000, 0) - .saturating_add(Weight::from_parts(0, 7235)) + // Measured: `465` + // Estimated: `3642` + // Minimum execution time: 40_140_000 picoseconds. + Weight::from_parts(40_641_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -112,11 +114,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn accept_curator() -> Weight { // Proof Size summary in bytes: - // Measured: `494` - // Estimated: `7235` - // Minimum execution time: 22_979_000 picoseconds. - Weight::from_parts(23_299_000, 0) - .saturating_add(Weight::from_parts(0, 7235)) + // Measured: `461` + // Estimated: `3642` + // Minimum execution time: 26_728_000 picoseconds. + Weight::from_parts(27_104_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -126,11 +128,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen) fn award_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `506` - // Estimated: `7123` - // Minimum execution time: 19_237_000 picoseconds. - Weight::from_parts(19_629_000, 0) - .saturating_add(Weight::from_parts(0, 7123)) + // Measured: `405` + // Estimated: `3642` + // Minimum execution time: 19_297_000 picoseconds. + Weight::from_parts(19_626_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,11 +146,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn claim_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `870` - // Estimated: `15934` - // Minimum execution time: 74_467_000 picoseconds. - Weight::from_parts(75_107_000, 0) - .saturating_add(Weight::from_parts(0, 15934)) + // Measured: `769` + // Estimated: `8799` + // Minimum execution time: 110_040_000 picoseconds. + Weight::from_parts(110_661_000, 0) + .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -162,11 +164,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn close_bounty_proposed() -> Weight { // Proof Size summary in bytes: - // Measured: `550` - // Estimated: `10716` - // Minimum execution time: 39_805_000 picoseconds. - Weight::from_parts(40_350_000, 0) - .saturating_add(Weight::from_parts(0, 10716)) + // Measured: `449` + // Estimated: `3642` + // Minimum execution time: 45_454_000 picoseconds. + Weight::from_parts(45_940_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -180,11 +182,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn close_bounty_active() -> Weight { // Proof Size summary in bytes: - // Measured: `786` - // Estimated: `13319` - // Minimum execution time: 52_094_000 picoseconds. - Weight::from_parts(52_637_000, 0) - .saturating_add(Weight::from_parts(0, 13319)) + // Measured: `685` + // Estimated: `6196` + // Minimum execution time: 74_573_000 picoseconds. + Weight::from_parts(75_522_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -192,10 +194,10 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn extend_bounty_expiry() -> Weight { // Proof Size summary in bytes: - // Measured: `358` + // Measured: `325` // Estimated: `3642` - // Minimum execution time: 14_785_000 picoseconds. - Weight::from_parts(15_084_000, 0) + // Minimum execution time: 15_341_000 picoseconds. + Weight::from_parts(15_613_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -210,16 +212,16 @@ impl pallet_bounties::WeightInfo for WeightInfo { fn spend_funds(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + b * (297 ±0)` - // Estimated: `3867 + b * (7858 ±0)` - // Minimum execution time: 4_401_000 picoseconds. - Weight::from_parts(4_483_000, 0) - .saturating_add(Weight::from_parts(0, 3867)) - // Standard Error: 14_951 - .saturating_add(Weight::from_parts(31_756_079, 0).saturating_mul(b.into())) + // Estimated: `1887 + b * (5206 ±0)` + // Minimum execution time: 4_305_000 picoseconds. + Weight::from_parts(4_351_000, 0) + .saturating_add(Weight::from_parts(0, 1887)) + // Standard Error: 33_856 + .saturating_add(Weight::from_parts(38_149_515, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 7858).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 5206).saturating_mul(b.into())) } } diff --git a/runtime/kusama/src/weights/pallet_child_bounties.rs b/runtime/kusama/src/weights/pallet_child_bounties.rs index 433568248115..185845f59c5f 100644 --- a/runtime/kusama/src/weights/pallet_child_bounties.rs +++ b/runtime/kusama/src/weights/pallet_child_bounties.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_child_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_child_bounties`. pub struct WeightInfo(PhantomData); @@ -60,13 +62,13 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `646` - // Estimated: `14808` - // Minimum execution time: 50_138_000 picoseconds. - Weight::from_parts(51_829_783, 0) - .saturating_add(Weight::from_parts(0, 14808)) - // Standard Error: 10 - .saturating_add(Weight::from_parts(705, 0).saturating_mul(d.into())) + // Measured: `545` + // Estimated: `6196` + // Minimum execution time: 65_558_000 picoseconds. + Weight::from_parts(66_669_372, 0) + .saturating_add(Weight::from_parts(0, 6196)) + // Standard Error: 8 + .saturating_add(Weight::from_parts(710, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -78,11 +80,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `700` - // Estimated: `10745` - // Minimum execution time: 17_630_000 picoseconds. - Weight::from_parts(18_089_000, 0) - .saturating_add(Weight::from_parts(0, 10745)) + // Measured: `599` + // Estimated: `3642` + // Minimum execution time: 17_853_000 picoseconds. + Weight::from_parts(18_343_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,11 +96,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `846` - // Estimated: `10845` - // Minimum execution time: 30_082_000 picoseconds. - Weight::from_parts(30_536_000, 0) - .saturating_add(Weight::from_parts(0, 10845)) + // Measured: `745` + // Estimated: `3642` + // Minimum execution time: 31_791_000 picoseconds. + Weight::from_parts(32_371_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -110,11 +112,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `846` - // Estimated: `10845` - // Minimum execution time: 42_561_000 picoseconds. - Weight::from_parts(43_263_000, 0) - .saturating_add(Weight::from_parts(0, 10845)) + // Measured: `745` + // Estimated: `3642` + // Minimum execution time: 45_667_000 picoseconds. + Weight::from_parts(46_549_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -124,11 +126,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `743` - // Estimated: `7252` - // Minimum execution time: 21_717_000 picoseconds. - Weight::from_parts(22_164_000, 0) - .saturating_add(Weight::from_parts(0, 7252)) + // Measured: `642` + // Estimated: `3642` + // Minimum execution time: 21_792_000 picoseconds. + Weight::from_parts(22_192_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -142,11 +144,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `682` - // Estimated: `15890` - // Minimum execution time: 72_569_000 picoseconds. - Weight::from_parts(74_474_000, 0) - .saturating_add(Weight::from_parts(0, 15890)) + // Measured: `614` + // Estimated: `8799` + // Minimum execution time: 105_215_000 picoseconds. + Weight::from_parts(106_028_000, 0) + .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -164,11 +166,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `946` - // Estimated: `20422` - // Minimum execution time: 51_947_000 picoseconds. - Weight::from_parts(52_480_000, 0) - .saturating_add(Weight::from_parts(0, 20422)) + // Measured: `845` + // Estimated: `6196` + // Minimum execution time: 71_488_000 picoseconds. + Weight::from_parts(72_349_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -186,11 +188,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1133` - // Estimated: `23025` - // Minimum execution time: 63_618_000 picoseconds. - Weight::from_parts(64_227_000, 0) - .saturating_add(Weight::from_parts(0, 23025)) + // Measured: `1032` + // Estimated: `8799` + // Minimum execution time: 87_364_000 picoseconds. + Weight::from_parts(88_086_000, 0) + .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/kusama/src/weights/pallet_conviction_voting.rs b/runtime/kusama/src/weights/pallet_conviction_voting.rs index 47743abd73a7..baef2b895901 100644 --- a/runtime/kusama/src/weights/pallet_conviction_voting.rs +++ b/runtime/kusama/src/weights/pallet_conviction_voting.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_conviction_voting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_conviction_voting`. pub struct WeightInfo(PhantomData); @@ -53,16 +55,18 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `13445` - // Estimated: `86075` - // Minimum execution time: 111_359_000 picoseconds. - Weight::from_parts(115_021_000, 0) - .saturating_add(Weight::from_parts(0, 86075)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `42428` + // Minimum execution time: 115_953_000 picoseconds. + Weight::from_parts(117_572_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: Referenda ReferendumInfoFor (r:1 w:1) @@ -73,16 +77,18 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Scheduler Agenda (r:2 w:2) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `14166` - // Estimated: `127513` - // Minimum execution time: 171_272_000 picoseconds. - Weight::from_parts(175_200_000, 0) - .saturating_add(Weight::from_parts(0, 127513)) - .saturating_add(T::DbWeight::get().reads(6)) + // Estimated: `83866` + // Minimum execution time: 183_807_000 picoseconds. + Weight::from_parts(186_496_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: ConvictionVoting VotingFor (r:1 w:1) @@ -94,10 +100,10 @@ impl pallet_conviction_voting::WeightInfo for WeightInf fn remove_vote() -> Weight { // Proof Size summary in bytes: // Measured: `13918` - // Estimated: `118973` - // Minimum execution time: 149_987_000 picoseconds. - Weight::from_parts(152_677_000, 0) - .saturating_add(Weight::from_parts(0, 118973)) + // Estimated: `83866` + // Minimum execution time: 156_732_000 picoseconds. + Weight::from_parts(158_818_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -108,10 +114,10 @@ impl pallet_conviction_voting::WeightInfo for WeightInf fn remove_other_vote() -> Weight { // Proof Size summary in bytes: // Measured: `13004` - // Estimated: `35107` - // Minimum execution time: 60_514_000 picoseconds. - Weight::from_parts(62_286_000, 0) - .saturating_add(Weight::from_parts(0, 35107)) + // Estimated: `30706` + // Minimum execution time: 58_814_000 picoseconds. + Weight::from_parts(60_373_000, 0) + .saturating_add(Weight::from_parts(0, 30706)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,17 +131,19 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `r` is `[0, 512]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `29640 + r * (365 ±0)` - // Estimated: `153818 + r * (3411 ±0)` - // Minimum execution time: 52_412_000 picoseconds. - Weight::from_parts(1_574_668_129, 0) - .saturating_add(Weight::from_parts(0, 153818)) - // Standard Error: 136_001 - .saturating_add(Weight::from_parts(37_269_909, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Estimated: `83866 + r * (3411 ±0)` + // Minimum execution time: 61_667_000 picoseconds. + Weight::from_parts(1_653_934_030, 0) + .saturating_add(Weight::from_parts(0, 83866)) + // Standard Error: 143_001 + .saturating_add(Weight::from_parts(39_318_932, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -151,12 +159,12 @@ impl pallet_conviction_voting::WeightInfo for WeightInf fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `29555 + r * (365 ±0)` - // Estimated: `145278 + r * (3411 ±0)` - // Minimum execution time: 35_901_000 picoseconds. - Weight::from_parts(1_534_534_801, 0) - .saturating_add(Weight::from_parts(0, 145278)) - // Standard Error: 135_205 - .saturating_add(Weight::from_parts(37_478_595, 0).saturating_mul(r.into())) + // Estimated: `83866 + r * (3411 ±0)` + // Minimum execution time: 34_316_000 picoseconds. + Weight::from_parts(1_604_279_044, 0) + .saturating_add(Weight::from_parts(0, 83866)) + // Standard Error: 140_985 + .saturating_add(Weight::from_parts(39_065_843, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -169,14 +177,16 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn unlock() -> Weight { // Proof Size summary in bytes: - // Measured: `12217` - // Estimated: `39246` - // Minimum execution time: 71_968_000 picoseconds. - Weight::from_parts(74_104_000, 0) - .saturating_add(Weight::from_parts(0, 39246)) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `12218` + // Estimated: `30706` + // Minimum execution time: 83_835_000 picoseconds. + Weight::from_parts(85_818_000, 0) + .saturating_add(Weight::from_parts(0, 30706)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs index d2b42a491b7d..7df46227ce94 100644 --- a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_election_provider_multi_phase`. pub struct WeightInfo(PhantomData); @@ -63,11 +65,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured) fn on_initialize_nothing() -> Weight { // Proof Size summary in bytes: - // Measured: `1027` - // Estimated: `14936` - // Minimum execution time: 21_024_000 picoseconds. - Weight::from_parts(21_697_000, 0) - .saturating_add(Weight::from_parts(0, 14936)) + // Measured: `959` + // Estimated: `3481` + // Minimum execution time: 20_180_000 picoseconds. + Weight::from_parts(21_067_000, 0) + .saturating_add(Weight::from_parts(0, 3481)) .saturating_add(T::DbWeight::get().reads(8)) } /// Storage: ElectionProviderMultiPhase Round (r:1 w:0) @@ -76,11 +78,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured) fn on_initialize_open_signed() -> Weight { // Proof Size summary in bytes: - // Measured: `148` - // Estimated: `3266` - // Minimum execution time: 13_251_000 picoseconds. - Weight::from_parts(13_556_000, 0) - .saturating_add(Weight::from_parts(0, 3266)) + // Measured: `80` + // Estimated: `1565` + // Minimum execution time: 12_428_000 picoseconds. + Weight::from_parts(12_848_000, 0) + .saturating_add(Weight::from_parts(0, 1565)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -90,11 +92,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured) fn on_initialize_open_unsigned() -> Weight { // Proof Size summary in bytes: - // Measured: `148` - // Estimated: `3266` - // Minimum execution time: 14_586_000 picoseconds. - Weight::from_parts(14_932_000, 0) - .saturating_add(Weight::from_parts(0, 3266)) + // Measured: `80` + // Estimated: `1565` + // Minimum execution time: 13_756_000 picoseconds. + Weight::from_parts(14_012_000, 0) + .saturating_add(Weight::from_parts(0, 1565)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -105,10 +107,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn finalize_signed_phase_accept_solution() -> Weight { // Proof Size summary in bytes: // Measured: `174` - // Estimated: `3767` - // Minimum execution time: 24_044_000 picoseconds. - Weight::from_parts(24_456_000, 0) - .saturating_add(Weight::from_parts(0, 3767)) + // Estimated: `3593` + // Minimum execution time: 29_688_000 picoseconds. + Weight::from_parts(30_015_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -118,8 +120,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 16_778_000 picoseconds. - Weight::from_parts(17_098_000, 0) + // Minimum execution time: 20_493_000 picoseconds. + Weight::from_parts(20_753_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -132,15 +134,17 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. - fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight { + fn create_snapshot_internal(v: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 658_110_000 picoseconds. - Weight::from_parts(673_151_000, 0) + // Minimum execution time: 665_559_000 picoseconds. + Weight::from_parts(7_757_128, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_369 - .saturating_add(Weight::from_parts(392_624, 0).saturating_mul(v.into())) + // Standard Error: 2_303 + .saturating_add(Weight::from_parts(583_391, 0).saturating_mul(v.into())) + // Standard Error: 4_604 + .saturating_add(Weight::from_parts(99_435, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -167,17 +171,17 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn elect_queued(a: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `900 + a * (1152 ±0) + d * (47 ±0)` - // Estimated: `21873 + a * (10368 ±0) + d * (432 ±0)` - // Minimum execution time: 374_177_000 picoseconds. - Weight::from_parts(383_707_000, 0) - .saturating_add(Weight::from_parts(0, 21873)) - // Standard Error: 8_930 - .saturating_add(Weight::from_parts(575_485, 0).saturating_mul(a.into())) + // Measured: `832 + a * (1152 ±0) + d * (47 ±0)` + // Estimated: `4282 + a * (1152 ±0) + d * (48 ±0)` + // Minimum execution time: 386_115_000 picoseconds. + Weight::from_parts(399_168_000, 0) + .saturating_add(Weight::from_parts(0, 4282)) + // Standard Error: 8_656 + .saturating_add(Weight::from_parts(575_703, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(9)) - .saturating_add(Weight::from_parts(0, 10368).saturating_mul(a.into())) - .saturating_add(Weight::from_parts(0, 432).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 1152).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 48).saturating_mul(d.into())) } /// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured) @@ -193,11 +197,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionsMap (max_values: None, max_size: None, mode: Measured) fn submit() -> Weight { // Proof Size summary in bytes: - // Measured: `1238` - // Estimated: `13631` - // Minimum execution time: 45_426_000 picoseconds. - Weight::from_parts(46_000_000, 0) - .saturating_add(Weight::from_parts(0, 13631)) + // Measured: `1170` + // Estimated: `2655` + // Minimum execution time: 49_185_000 picoseconds. + Weight::from_parts(49_597_000, 0) + .saturating_add(Weight::from_parts(0, 2655)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -219,21 +223,23 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. - fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { + fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `253 + v * (809 ±0) + t * (32 ±0)` - // Estimated: `12166 + v * (5663 ±0) + t * (224 ±0)` - // Minimum execution time: 7_353_352_000 picoseconds. - Weight::from_parts(7_409_425_000, 0) - .saturating_add(Weight::from_parts(0, 12166)) - // Standard Error: 24_654 - .saturating_add(Weight::from_parts(9_966, 0).saturating_mul(v.into())) - // Standard Error: 73_060 - .saturating_add(Weight::from_parts(7_603_657, 0).saturating_mul(a.into())) + // Measured: `185 + t * (32 ±0) + v * (809 ±0)` + // Estimated: `1670 + t * (32 ±0) + v * (809 ±0)` + // Minimum execution time: 7_390_749_000 picoseconds. + Weight::from_parts(171_070_056, 0) + .saturating_add(Weight::from_parts(0, 1670)) + // Standard Error: 18_684 + .saturating_add(Weight::from_parts(903_428, 0).saturating_mul(v.into())) + // Standard Error: 62_193 + .saturating_add(Weight::from_parts(10_753_222, 0).saturating_mul(a.into())) + // Standard Error: 93_216 + .saturating_add(Weight::from_parts(1_714_649, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 5663).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 809).saturating_mul(v.into())) } /// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured) @@ -249,17 +255,17 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `228 + v * (809 ±0) + t * (32 ±0)` - // Estimated: `6852 + v * (3236 ±0) + t * (128 ±0)` - // Minimum execution time: 6_174_792_000 picoseconds. - Weight::from_parts(6_244_237_000, 0) - .saturating_add(Weight::from_parts(0, 6852)) - // Standard Error: 21_322 - .saturating_add(Weight::from_parts(142_059, 0).saturating_mul(v.into())) - // Standard Error: 63_186 - .saturating_add(Weight::from_parts(5_948_175, 0).saturating_mul(a.into())) + // Measured: `160 + t * (32 ±0) + v * (809 ±0)` + // Estimated: `1645 + t * (32 ±0) + v * (809 ±0)` + // Minimum execution time: 6_211_318_000 picoseconds. + Weight::from_parts(6_244_165_000, 0) + .saturating_add(Weight::from_parts(0, 1645)) + // Standard Error: 19_612 + .saturating_add(Weight::from_parts(134_010, 0).saturating_mul(v.into())) + // Standard Error: 58_119 + .saturating_add(Weight::from_parts(5_700_625, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(Weight::from_parts(0, 3236).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 128).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 809).saturating_mul(v.into())) } } diff --git a/runtime/kusama/src/weights/pallet_fast_unstake.rs b/runtime/kusama/src/weights/pallet_fast_unstake.rs index a90dcfe50d62..278f1dc7619b 100644 --- a/runtime/kusama/src/weights/pallet_fast_unstake.rs +++ b/runtime/kusama/src/weights/pallet_fast_unstake.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_fast_unstake` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_fast_unstake`. pub struct WeightInfo(PhantomData); @@ -69,6 +71,8 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:64 w:64) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:64 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Ledger (r:0 w:64) /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:64) @@ -76,18 +80,18 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// The range of component `b` is `[1, 64]`. fn on_idle_unstake(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1316 + b * (343 ±0)` - // Estimated: `20621 + b * (17898 ±0)` - // Minimum execution time: 76_169_000 picoseconds. - Weight::from_parts(42_721_141, 0) - .saturating_add(Weight::from_parts(0, 20621)) - // Standard Error: 49_311 - .saturating_add(Weight::from_parts(41_420_931, 0).saturating_mul(b.into())) + // Measured: `1214 + b * (343 ±0)` + // Estimated: `4676 + b * (3774 ±0)` + // Minimum execution time: 88_679_000 picoseconds. + Weight::from_parts(24_547_439, 0) + .saturating_add(Weight::from_parts(0, 4676)) + // Standard Error: 43_388 + .saturating_add(Weight::from_parts(54_036_464, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 17898).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 3774).saturating_mul(b.into())) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) /// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -107,20 +111,20 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// The range of component `b` is `[1, 64]`. fn on_idle_check(v: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1484 + v * (18487 ±0) + b * (48 ±0)` - // Estimated: `18256 + v * (39451 ±0) + b * (98 ±0)` - // Minimum execution time: 1_663_692_000 picoseconds. - Weight::from_parts(1_670_772_000, 0) - .saturating_add(Weight::from_parts(0, 18256)) - // Standard Error: 15_299_028 - .saturating_add(Weight::from_parts(489_545_566, 0).saturating_mul(v.into())) - // Standard Error: 61_213_154 - .saturating_add(Weight::from_parts(1_926_696_821, 0).saturating_mul(b.into())) + // Measured: `1382 + b * (48 ±0) + v * (18487 ±0)` + // Estimated: `4700 + b * (49 ±0) + v * (20963 ±0)` + // Minimum execution time: 1_642_912_000 picoseconds. + Weight::from_parts(1_651_614_000, 0) + .saturating_add(Weight::from_parts(0, 4700)) + // Standard Error: 15_060_369 + .saturating_add(Weight::from_parts(482_726_870, 0).saturating_mul(v.into())) + // Standard Error: 60_258_251 + .saturating_add(Weight::from_parts(1_893_734_636, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 39451).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 98).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 49).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 20963).saturating_mul(v.into())) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) /// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -148,16 +152,18 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: FastUnstake CounterForQueue (r:1 w:1) /// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn register_fast_unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `1898` - // Estimated: `43454` - // Minimum execution time: 111_662_000 picoseconds. - Weight::from_parts(112_581_000, 0) - .saturating_add(Weight::from_parts(0, 43454)) - .saturating_add(T::DbWeight::get().reads(14)) + // Measured: `1864` + // Estimated: `4764` + // Minimum execution time: 117_566_000 picoseconds. + Weight::from_parts(118_709_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(9)) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) @@ -172,11 +178,11 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn deregister() -> Weight { // Proof Size summary in bytes: - // Measured: `1156` - // Estimated: `15731` - // Minimum execution time: 40_644_000 picoseconds. - Weight::from_parts(41_516_000, 0) - .saturating_add(Weight::from_parts(0, 15731)) + // Measured: `1122` + // Estimated: `4676` + // Minimum execution time: 43_460_000 picoseconds. + Weight::from_parts(44_208_000, 0) + .saturating_add(Weight::from_parts(0, 4676)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -186,8 +192,8 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_901_000 picoseconds. - Weight::from_parts(3_026_000, 0) + // Minimum execution time: 2_858_000 picoseconds. + Weight::from_parts(3_088_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_identity.rs b/runtime/kusama/src/weights/pallet_identity.rs index 619463a46a9b..22721216f021 100644 --- a/runtime/kusama/src/weights/pallet_identity.rs +++ b/runtime/kusama/src/weights/pallet_identity.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); @@ -52,11 +54,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 11_971_000 picoseconds. - Weight::from_parts(12_647_916, 0) + // Minimum execution time: 12_101_000 picoseconds. + Weight::from_parts(12_743_753, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_923 - .saturating_add(Weight::from_parts(117_079, 0).saturating_mul(r.into())) + // Standard Error: 1_491 + .saturating_add(Weight::from_parts(106_844, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,13 +70,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `442 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 29_280_000 picoseconds. - Weight::from_parts(30_187_924, 0) + // Minimum execution time: 31_894_000 picoseconds. + Weight::from_parts(31_275_923, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_084 - .saturating_add(Weight::from_parts(6_401, 0).saturating_mul(r.into())) - // Standard Error: 796 - .saturating_add(Weight::from_parts(440_407, 0).saturating_mul(x.into())) + // Standard Error: 1_949 + .saturating_add(Weight::from_parts(90_177, 0).saturating_mul(r.into())) + // Standard Error: 380 + .saturating_add(Weight::from_parts(451_518, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,12 +90,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `101` - // Estimated: `18716 + s * (2589 ±0)` - // Minimum execution time: 9_217_000 picoseconds. - Weight::from_parts(22_366_407, 0) - .saturating_add(Weight::from_parts(0, 18716)) - // Standard Error: 5_217 - .saturating_add(Weight::from_parts(2_681_153, 0).saturating_mul(s.into())) + // Estimated: `11003 + s * (2589 ±0)` + // Minimum execution time: 9_703_000 picoseconds. + Weight::from_parts(25_002_066, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 4_078 + .saturating_add(Weight::from_parts(2_733_970, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,12 +112,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `194 + p * (32 ±0)` - // Estimated: `17726` - // Minimum execution time: 9_562_000 picoseconds. - Weight::from_parts(22_267_810, 0) - .saturating_add(Weight::from_parts(0, 17726)) - // Standard Error: 3_161 - .saturating_add(Weight::from_parts(1_068_419, 0).saturating_mul(p.into())) + // Estimated: `11003` + // Minimum execution time: 9_451_000 picoseconds. + Weight::from_parts(24_361_172, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_542 + .saturating_add(Weight::from_parts(1_121_341, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -132,16 +134,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `17726` - // Minimum execution time: 49_724_000 picoseconds. - Weight::from_parts(28_433_827, 0) - .saturating_add(Weight::from_parts(0, 17726)) - // Standard Error: 7_197 - .saturating_add(Weight::from_parts(45_635, 0).saturating_mul(r.into())) - // Standard Error: 1_405 - .saturating_add(Weight::from_parts(1_055_850, 0).saturating_mul(s.into())) - // Standard Error: 1_405 - .saturating_add(Weight::from_parts(236_616, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 54_101_000 picoseconds. + Weight::from_parts(33_192_607, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 4_080 + .saturating_add(Weight::from_parts(55_443, 0).saturating_mul(r.into())) + // Standard Error: 796 + .saturating_add(Weight::from_parts(1_092_165, 0).saturating_mul(s.into())) + // Standard Error: 796 + .saturating_add(Weight::from_parts(230_394, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -155,14 +157,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `367 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `13629` - // Minimum execution time: 30_181_000 picoseconds. - Weight::from_parts(30_036_356, 0) - .saturating_add(Weight::from_parts(0, 13629)) - // Standard Error: 3_733 - .saturating_add(Weight::from_parts(61_015, 0).saturating_mul(r.into())) - // Standard Error: 728 - .saturating_add(Weight::from_parts(464_610, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 33_110_000 picoseconds. + Weight::from_parts(31_913_069, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 1_882 + .saturating_add(Weight::from_parts(107_534, 0).saturating_mul(r.into())) + // Standard Error: 367 + .saturating_add(Weight::from_parts(468_986, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,13 +176,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `398 + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 27_256_000 picoseconds. - Weight::from_parts(27_361_959, 0) + // Minimum execution time: 30_079_000 picoseconds. + Weight::from_parts(27_259_116, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_547 - .saturating_add(Weight::from_parts(40_254, 0).saturating_mul(r.into())) - // Standard Error: 887 - .saturating_add(Weight::from_parts(464_938, 0).saturating_mul(x.into())) + // Standard Error: 23_842 + .saturating_add(Weight::from_parts(170_125, 0).saturating_mul(r.into())) + // Standard Error: 4_652 + .saturating_add(Weight::from_parts(481_642, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -191,11 +193,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_479_000 picoseconds. - Weight::from_parts(7_959_876, 0) + // Minimum execution time: 7_635_000 picoseconds. + Weight::from_parts(8_125_925, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_565 - .saturating_add(Weight::from_parts(91_853, 0).saturating_mul(r.into())) + // Standard Error: 1_129 + .saturating_add(Weight::from_parts(92_025, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,11 +208,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_750_000 picoseconds. - Weight::from_parts(8_097_434, 0) + // Minimum execution time: 7_791_000 picoseconds. + Weight::from_parts(8_298_456, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_227 - .saturating_add(Weight::from_parts(88_314, 0).saturating_mul(r.into())) + // Standard Error: 1_126 + .saturating_add(Weight::from_parts(85_726, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -221,11 +223,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_686_000 picoseconds. - Weight::from_parts(8_176_717, 0) + // Minimum execution time: 7_661_000 picoseconds. + Weight::from_parts(8_136_466, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_152 - .saturating_add(Weight::from_parts(80_559, 0).saturating_mul(r.into())) + // Standard Error: 1_079 + .saturating_add(Weight::from_parts(89_022, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -238,14 +240,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `445 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `13629` - // Minimum execution time: 22_923_000 picoseconds. - Weight::from_parts(22_446_926, 0) - .saturating_add(Weight::from_parts(0, 13629)) - // Standard Error: 6_242 - .saturating_add(Weight::from_parts(93_223, 0).saturating_mul(r.into())) - // Standard Error: 1_155 - .saturating_add(Weight::from_parts(734_993, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 23_630_000 picoseconds. + Weight::from_parts(22_129_771, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 2_838 + .saturating_add(Weight::from_parts(121_695, 0).saturating_mul(r.into())) + // Standard Error: 525 + .saturating_add(Weight::from_parts(748_599, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -263,16 +265,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `21319` - // Minimum execution time: 63_424_000 picoseconds. - Weight::from_parts(43_509_592, 0) - .saturating_add(Weight::from_parts(0, 21319)) - // Standard Error: 6_118 - .saturating_add(Weight::from_parts(34_163, 0).saturating_mul(r.into())) - // Standard Error: 1_194 - .saturating_add(Weight::from_parts(1_058_669, 0).saturating_mul(s.into())) - // Standard Error: 1_194 - .saturating_add(Weight::from_parts(226_324, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 70_382_000 picoseconds. + Weight::from_parts(48_756_189, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 4_513 + .saturating_add(Weight::from_parts(57_700, 0).saturating_mul(r.into())) + // Standard Error: 881 + .saturating_add(Weight::from_parts(1_107_373, 0).saturating_mul(s.into())) + // Standard Error: 881 + .saturating_add(Weight::from_parts(235_577, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -287,12 +289,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `475 + s * (36 ±0)` - // Estimated: `21305` - // Minimum execution time: 27_057_000 picoseconds. - Weight::from_parts(31_676_569, 0) - .saturating_add(Weight::from_parts(0, 21305)) - // Standard Error: 1_426 - .saturating_add(Weight::from_parts(59_355, 0).saturating_mul(s.into())) + // Estimated: `11003` + // Minimum execution time: 29_447_000 picoseconds. + Weight::from_parts(34_578_504, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 1_368 + .saturating_add(Weight::from_parts(60_635, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -304,12 +306,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `591 + s * (3 ±0)` - // Estimated: `14582` - // Minimum execution time: 12_795_000 picoseconds. - Weight::from_parts(15_135_109, 0) - .saturating_add(Weight::from_parts(0, 14582)) - // Standard Error: 629 - .saturating_add(Weight::from_parts(16_556, 0).saturating_mul(s.into())) + // Estimated: `11003` + // Minimum execution time: 13_214_000 picoseconds. + Weight::from_parts(15_133_067, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 498 + .saturating_add(Weight::from_parts(16_129, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -323,12 +325,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `638 + s * (35 ±0)` - // Estimated: `21305` - // Minimum execution time: 30_174_000 picoseconds. - Weight::from_parts(36_094_454, 0) - .saturating_add(Weight::from_parts(0, 21305)) - // Standard Error: 1_570 - .saturating_add(Weight::from_parts(50_442, 0).saturating_mul(s.into())) + // Estimated: `11003` + // Minimum execution time: 32_964_000 picoseconds. + Weight::from_parts(36_119_193, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 873 + .saturating_add(Weight::from_parts(48_803, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -336,17 +338,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `564 + s * (37 ±0)` - // Estimated: `10302` - // Minimum execution time: 19_729_000 picoseconds. - Weight::from_parts(22_325_410, 0) - .saturating_add(Weight::from_parts(0, 10302)) - // Standard Error: 975 - .saturating_add(Weight::from_parts(52_068, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `704 + s * (37 ±0)` + // Estimated: `6723` + // Minimum execution time: 24_456_000 picoseconds. + Weight::from_parts(26_964_746, 0) + .saturating_add(Weight::from_parts(0, 6723)) + // Standard Error: 877 + .saturating_add(Weight::from_parts(56_104, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/kusama/src/weights/pallet_im_online.rs b/runtime/kusama/src/weights/pallet_im_online.rs index b0ca85b470a5..dcc50ff92440 100644 --- a/runtime/kusama/src/weights/pallet_im_online.rs +++ b/runtime/kusama/src/weights/pallet_im_online.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_im_online`. pub struct WeightInfo(PhantomData); @@ -60,17 +62,17 @@ impl pallet_im_online::WeightInfo for WeightInfo { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `361 + k * (32 ±0)` - // Estimated: `10349676 + e * (35 ±0) + k * (64 ±0)` - // Minimum execution time: 91_159_000 picoseconds. - Weight::from_parts(74_157_856, 0) - .saturating_add(Weight::from_parts(0, 10349676)) - // Standard Error: 275 - .saturating_add(Weight::from_parts(20_308, 0).saturating_mul(k.into())) - // Standard Error: 2_777 - .saturating_add(Weight::from_parts(387_445, 0).saturating_mul(e.into())) + // Estimated: `10024497 + e * (35 ±0) + k * (32 ±0)` + // Minimum execution time: 92_733_000 picoseconds. + Weight::from_parts(72_169_379, 0) + .saturating_add(Weight::from_parts(0, 10024497)) + // Standard Error: 311 + .saturating_add(Weight::from_parts(24_625, 0).saturating_mul(k.into())) + // Standard Error: 3_141 + .saturating_add(Weight::from_parts(394_871, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(k.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(k.into())) } } diff --git a/runtime/kusama/src/weights/pallet_indices.rs b/runtime/kusama/src/weights/pallet_indices.rs index b08995cf86bb..58641ad8ee6d 100644 --- a/runtime/kusama/src/weights/pallet_indices.rs +++ b/runtime/kusama/src/weights/pallet_indices.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_indices`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3534` - // Minimum execution time: 19_717_000 picoseconds. - Weight::from_parts(19_973_000, 0) + // Minimum execution time: 24_137_000 picoseconds. + Weight::from_parts(24_687_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,10 +66,10 @@ impl pallet_indices::WeightInfo for WeightInfo { fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `341` - // Estimated: `7127` - // Minimum execution time: 25_883_000 picoseconds. - Weight::from_parts(26_341_000, 0) - .saturating_add(Weight::from_parts(0, 7127)) + // Estimated: `3593` + // Minimum execution time: 34_476_000 picoseconds. + Weight::from_parts(35_322_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -77,8 +79,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3534` - // Minimum execution time: 20_994_000 picoseconds. - Weight::from_parts(21_545_000, 0) + // Minimum execution time: 25_118_000 picoseconds. + Weight::from_parts(25_583_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,10 +92,10 @@ impl pallet_indices::WeightInfo for WeightInfo { fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `341` - // Estimated: `7127` - // Minimum execution time: 23_512_000 picoseconds. - Weight::from_parts(23_892_000, 0) - .saturating_add(Weight::from_parts(0, 7127)) + // Estimated: `3593` + // Minimum execution time: 27_535_000 picoseconds. + Weight::from_parts(27_859_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -103,8 +105,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3534` - // Minimum execution time: 23_144_000 picoseconds. - Weight::from_parts(23_511_000, 0) + // Minimum execution time: 27_324_000 picoseconds. + Weight::from_parts(27_696_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/kusama/src/weights/pallet_multisig.rs b/runtime/kusama/src/weights/pallet_multisig.rs index 6de53758f52e..107ea7c927b1 100644 --- a/runtime/kusama/src/weights/pallet_multisig.rs +++ b/runtime/kusama/src/weights/pallet_multisig.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_multisig`. pub struct WeightInfo(PhantomData); @@ -50,11 +52,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_823_000 picoseconds. - Weight::from_parts(12_266_007, 0) + // Minimum execution time: 12_077_000 picoseconds. + Weight::from_parts(12_503_434, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(498, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(500, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -64,13 +66,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `301 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 36_427_000 picoseconds. - Weight::from_parts(31_400_908, 0) + // Minimum execution time: 41_160_000 picoseconds. + Weight::from_parts(35_506_721, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 650 - .saturating_add(Weight::from_parts(54_330, 0).saturating_mul(s.into())) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_198, 0).saturating_mul(z.into())) + // Standard Error: 385 + .saturating_add(Weight::from_parts(63_369, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_194, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -82,13 +84,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `320` // Estimated: `6811` - // Minimum execution time: 26_513_000 picoseconds. - Weight::from_parts(21_729_726, 0) + // Minimum execution time: 26_935_000 picoseconds. + Weight::from_parts(21_624_406, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 412 - .saturating_add(Weight::from_parts(54_766, 0).saturating_mul(s.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(z.into())) + // Standard Error: 284 + .saturating_add(Weight::from_parts(59_288, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_222, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -101,14 +103,14 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `426 + s * (33 ±0)` - // Estimated: `10404` - // Minimum execution time: 44_380_000 picoseconds. - Weight::from_parts(35_396_612, 0) - .saturating_add(Weight::from_parts(0, 10404)) - // Standard Error: 1_363 - .saturating_add(Weight::from_parts(95_216, 0).saturating_mul(s.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_264, 0).saturating_mul(z.into())) + // Estimated: `6811` + // Minimum execution time: 46_401_000 picoseconds. + Weight::from_parts(39_301_660, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 703 + .saturating_add(Weight::from_parts(75_160, 0).saturating_mul(s.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_236, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -119,11 +121,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `301 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 27_881_000 picoseconds. - Weight::from_parts(29_392_537, 0) + // Minimum execution time: 32_549_000 picoseconds. + Weight::from_parts(34_081_487, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 647 - .saturating_add(Weight::from_parts(63_287, 0).saturating_mul(s.into())) + // Standard Error: 544 + .saturating_add(Weight::from_parts(66_832, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -134,11 +136,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `320` // Estimated: `6811` - // Minimum execution time: 18_831_000 picoseconds. - Weight::from_parts(20_022_948, 0) + // Minimum execution time: 19_568_000 picoseconds. + Weight::from_parts(20_570_167, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 709 - .saturating_add(Weight::from_parts(57_318, 0).saturating_mul(s.into())) + // Standard Error: 411 + .saturating_add(Weight::from_parts(59_691, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -149,11 +151,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `492 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 29_105_000 picoseconds. - Weight::from_parts(30_739_462, 0) + // Minimum execution time: 33_844_000 picoseconds. + Weight::from_parts(35_036_501, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_473 - .saturating_add(Weight::from_parts(90_499, 0).saturating_mul(s.into())) + // Standard Error: 503 + .saturating_add(Weight::from_parts(64_100, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_nis.rs b/runtime/kusama/src/weights/pallet_nis.rs index 5d4bc0f5e322..c37374865398 100644 --- a/runtime/kusama/src/weights/pallet_nis.rs +++ b/runtime/kusama/src/weights/pallet_nis.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_nis` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,165 +39,176 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_nis`. pub struct WeightInfo(PhantomData); impl pallet_nis::WeightInfo for WeightInfo { /// Storage: Nis Queues (r:1 w:1) /// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen) - /// Storage: Balances Reserves (r:1 w:1) - /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: Balances Holds (r:1 w:1) + /// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) /// Storage: Nis QueueTotals (r:1 w:1) /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(10002), added: 10497, mode: MaxEncodedLen) /// The range of component `l` is `[0, 999]`. fn place_bid(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `10216 + l * (48 ±0)` - // Estimated: `67688` - // Minimum execution time: 29_879_000 picoseconds. - Weight::from_parts(32_953_670, 0) - .saturating_add(Weight::from_parts(0, 67688)) - // Standard Error: 715 - .saturating_add(Weight::from_parts(71_838, 0).saturating_mul(l.into())) + // Measured: `10210 + l * (48 ±0)` + // Estimated: `51487` + // Minimum execution time: 45_950_000 picoseconds. + Weight::from_parts(47_235_564, 0) + .saturating_add(Weight::from_parts(0, 51487)) + // Standard Error: 723 + .saturating_add(Weight::from_parts(71_625, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Nis Queues (r:1 w:1) /// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen) - /// Storage: Balances Reserves (r:1 w:1) - /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: Balances Holds (r:1 w:1) + /// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) /// Storage: Nis QueueTotals (r:1 w:1) /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(10002), added: 10497, mode: MaxEncodedLen) fn place_bid_max() -> Weight { // Proof Size summary in bytes: - // Measured: `58218` - // Estimated: `67688` - // Minimum execution time: 107_169_000 picoseconds. - Weight::from_parts(108_661_000, 0) - .saturating_add(Weight::from_parts(0, 67688)) + // Measured: `58212` + // Estimated: `51487` + // Minimum execution time: 129_538_000 picoseconds. + Weight::from_parts(132_437_000, 0) + .saturating_add(Weight::from_parts(0, 51487)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Nis Queues (r:1 w:1) /// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen) + /// Storage: Balances Holds (r:1 w:1) + /// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) /// Storage: Nis QueueTotals (r:1 w:1) /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(10002), added: 10497, mode: MaxEncodedLen) - /// Storage: Balances Reserves (r:1 w:1) - /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) /// The range of component `l` is `[1, 1000]`. fn retract_bid(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `10216 + l * (48 ±0)` - // Estimated: `67688` - // Minimum execution time: 37_765_000 picoseconds. - Weight::from_parts(34_128_234, 0) - .saturating_add(Weight::from_parts(0, 67688)) - // Standard Error: 714 - .saturating_add(Weight::from_parts(59_820, 0).saturating_mul(l.into())) + // Measured: `10210 + l * (48 ±0)` + // Estimated: `51487` + // Minimum execution time: 49_489_000 picoseconds. + Weight::from_parts(44_072_270, 0) + .saturating_add(Weight::from_parts(0, 51487)) + // Standard Error: 744 + .saturating_add(Weight::from_parts(90_901, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Nis Summary (r:1 w:0) /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn fund_deficit() -> Weight { // Proof Size summary in bytes: // Measured: `225` - // Estimated: `5118` - // Minimum execution time: 34_474_000 picoseconds. - Weight::from_parts(35_247_000, 0) - .saturating_add(Weight::from_parts(0, 5118)) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `3593` + // Minimum execution time: 38_216_000 picoseconds. + Weight::from_parts(38_536_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Nis Receipts (r:1 w:1) /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) - /// Storage: Nis Summary (r:1 w:1) - /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) + /// Storage: Balances Holds (r:1 w:1) + /// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Reserves (r:1 w:1) - /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - fn thaw_private() -> Weight { - // Proof Size summary in bytes: - // Measured: `394` - // Estimated: `13378` - // Minimum execution time: 50_476_000 picoseconds. - Weight::from_parts(51_300_000, 0) - .saturating_add(Weight::from_parts(0, 13378)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) - } - /// Storage: Nis Receipts (r:1 w:1) - /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) /// Storage: Nis Summary (r:1 w:1) /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) - /// Storage: NisCounterpartBalances Account (r:1 w:1) - /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn thaw_communal() -> Weight { + /// Storage: NisCounterpartBalances Account (r:1 w:1) + /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) + fn communify() -> Weight { // Proof Size summary in bytes: - // Measured: `604` - // Estimated: `13742` - // Minimum execution time: 63_964_000 picoseconds. - Weight::from_parts(64_804_000, 0) - .saturating_add(Weight::from_parts(0, 13742)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `470` + // Estimated: `3593` + // Minimum execution time: 72_706_000 picoseconds. + Weight::from_parts(73_956_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Nis Receipts (r:1 w:1) /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) /// Storage: Nis Summary (r:1 w:1) /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances Account (r:1 w:1) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Balances Reserves (r:1 w:1) - /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: Balances Holds (r:1 w:1) + /// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) fn privatize() -> Weight { // Proof Size summary in bytes: - // Measured: `666` - // Estimated: `18456` - // Minimum execution time: 74_135_000 picoseconds. - Weight::from_parts(74_896_000, 0) - .saturating_add(Weight::from_parts(0, 18456)) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `660` + // Estimated: `3593` + // Minimum execution time: 85_985_000 picoseconds. + Weight::from_parts(87_206_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Nis Receipts (r:1 w:1) /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) - /// Storage: Balances Reserves (r:1 w:1) - /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) + /// Storage: Nis Summary (r:1 w:1) + /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Balances Holds (r:1 w:1) + /// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) + fn thaw_private() -> Weight { + // Proof Size summary in bytes: + // Measured: `388` + // Estimated: `3593` + // Minimum execution time: 47_928_000 picoseconds. + Weight::from_parts(48_637_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Nis Receipts (r:1 w:1) + /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) /// Storage: Nis Summary (r:1 w:1) /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances Account (r:1 w:1) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn communify() -> Weight { + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + fn thaw_communal() -> Weight { // Proof Size summary in bytes: - // Measured: `476` - // Estimated: `18456` - // Minimum execution time: 68_354_000 picoseconds. - Weight::from_parts(68_984_000, 0) - .saturating_add(Weight::from_parts(0, 18456)) + // Measured: `604` + // Estimated: `3593` + // Minimum execution time: 90_893_000 picoseconds. + Weight::from_parts(92_819_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: Nis Summary (r:1 w:1) /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Nis QueueTotals (r:1 w:1) @@ -204,11 +216,11 @@ impl pallet_nis::WeightInfo for WeightInfo { fn process_queues() -> Weight { // Proof Size summary in bytes: // Measured: `10658` - // Estimated: `16605` - // Minimum execution time: 24_500_000 picoseconds. - Weight::from_parts(24_920_000, 0) - .saturating_add(Weight::from_parts(0, 16605)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `11487` + // Minimum execution time: 24_052_000 picoseconds. + Weight::from_parts(24_288_000, 0) + .saturating_add(Weight::from_parts(0, 11487)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Nis Queues (r:1 w:1) @@ -217,8 +229,8 @@ impl pallet_nis::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `51487` - // Minimum execution time: 4_089_000 picoseconds. - Weight::from_parts(4_222_000, 0) + // Minimum execution time: 4_043_000 picoseconds. + Weight::from_parts(4_153_000, 0) .saturating_add(Weight::from_parts(0, 51487)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -229,8 +241,8 @@ impl pallet_nis::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_020_000 picoseconds. - Weight::from_parts(7_177_000, 0) + // Minimum execution time: 7_136_000 picoseconds. + Weight::from_parts(7_266_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_nomination_pools.rs b/runtime/kusama/src/weights/pallet_nomination_pools.rs index 00062535cd05..2243dbf3c0e2 100644 --- a/runtime/kusama/src/weights/pallet_nomination_pools.rs +++ b/runtime/kusama/src/weights/pallet_nomination_pools.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_nomination_pools`. pub struct WeightInfo(PhantomData); @@ -69,6 +71,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -76,11 +80,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn join() -> Weight { // Proof Size summary in bytes: // Measured: `3229` - // Estimated: `52915` - // Minimum execution time: 151_704_000 picoseconds. - Weight::from_parts(152_600_000, 0) - .saturating_add(Weight::from_parts(0, 52915)) - .saturating_add(T::DbWeight::get().reads(18)) + // Estimated: `8877` + // Minimum execution time: 177_669_000 picoseconds. + Weight::from_parts(179_103_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().writes(12)) } /// Storage: NominationPools PoolMembers (r:1 w:1) @@ -99,6 +103,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -106,11 +112,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn bond_extra_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `3239` - // Estimated: `49550` - // Minimum execution time: 148_678_000 picoseconds. - Weight::from_parts(149_465_000, 0) - .saturating_add(Weight::from_parts(0, 49550)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `8877` + // Minimum execution time: 175_672_000 picoseconds. + Weight::from_parts(176_469_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(12)) } /// Storage: NominationPools ClaimPermissions (r:1 w:0) @@ -131,6 +137,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -138,11 +146,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn bond_extra_other() -> Weight { // Proof Size summary in bytes: // Measured: `3304` - // Estimated: `53056` - // Minimum execution time: 167_308_000 picoseconds. - Weight::from_parts(168_397_000, 0) - .saturating_add(Weight::from_parts(0, 53056)) - .saturating_add(T::DbWeight::get().reads(16)) + // Estimated: `8877` + // Minimum execution time: 208_139_000 picoseconds. + Weight::from_parts(209_564_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(17)) .saturating_add(T::DbWeight::get().writes(13)) } /// Storage: NominationPools ClaimPermissions (r:1 w:0) @@ -160,10 +168,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn claim_payout() -> Weight { // Proof Size summary in bytes: // Measured: `1171` - // Estimated: `20012` - // Minimum execution time: 59_323_000 picoseconds. - Weight::from_parts(60_079_000, 0) - .saturating_add(Weight::from_parts(0, 20012)) + // Estimated: `4182` + // Minimum execution time: 75_175_000 picoseconds. + Weight::from_parts(76_017_000, 0) + .saturating_add(Weight::from_parts(0, 4182)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -189,6 +197,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -200,11 +210,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn unbond() -> Weight { // Proof Size summary in bytes: // Measured: `3506` - // Estimated: `60367` - // Minimum execution time: 154_517_000 picoseconds. - Weight::from_parts(155_646_000, 0) - .saturating_add(Weight::from_parts(0, 60367)) - .saturating_add(T::DbWeight::get().reads(19)) + // Estimated: `8877` + // Minimum execution time: 159_841_000 picoseconds. + Weight::from_parts(160_601_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(13)) } /// Storage: NominationPools BondedPools (r:1 w:0) @@ -217,17 +227,19 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1608` - // Estimated: `18031` - // Minimum execution time: 51_685_000 picoseconds. - Weight::from_parts(53_213_550, 0) - .saturating_add(Weight::from_parts(0, 18031)) - // Standard Error: 701 - .saturating_add(Weight::from_parts(4_700, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4764` + // Minimum execution time: 59_858_000 picoseconds. + Weight::from_parts(61_144_446, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 587 + .saturating_add(Weight::from_parts(6_282, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: NominationPools PoolMembers (r:1 w:1) @@ -244,6 +256,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: NominationPools CounterForPoolMembers (r:1 w:1) @@ -254,13 +268,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2036` - // Estimated: `31957` - // Minimum execution time: 100_044_000 picoseconds. - Weight::from_parts(101_993_618, 0) - .saturating_add(Weight::from_parts(0, 31957)) - // Standard Error: 1_667 - .saturating_add(Weight::from_parts(9_469, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(9)) + // Estimated: `4764` + // Minimum execution time: 122_632_000 picoseconds. + Weight::from_parts(124_462_310, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 676 + .saturating_add(Weight::from_parts(18_268, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: NominationPools PoolMembers (r:1 w:1) @@ -285,6 +299,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: NominationPools CounterForPoolMembers (r:1 w:1) /// Proof: NominationPools CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: NominationPools ReversePoolIdLookup (r:1 w:1) @@ -306,16 +322,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Storage: NominationPools ClaimPermissions (r:0 w:1) /// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(s: u32, ) -> Weight { + fn withdraw_unbonded_kill(_s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2394` - // Estimated: `64965` - // Minimum execution time: 156_926_000 picoseconds. - Weight::from_parts(160_051_616, 0) - .saturating_add(Weight::from_parts(0, 64965)) - // Standard Error: 2_567 - .saturating_add(Weight::from_parts(2_730, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(20)) + // Estimated: `6196` + // Minimum execution time: 205_332_000 picoseconds. + Weight::from_parts(208_023_885, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(21)) .saturating_add(T::DbWeight::get().writes(18)) } /// Storage: NominationPools LastPoolId (r:1 w:1) @@ -348,6 +362,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: NominationPools RewardPools (r:1 w:1) /// Proof: NominationPools RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: NominationPools CounterForRewardPools (r:1 w:1) @@ -363,11 +379,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn create() -> Weight { // Proof Size summary in bytes: // Measured: `1222` - // Estimated: `51890` - // Minimum execution time: 141_512_000 picoseconds. - Weight::from_parts(144_032_000, 0) - .saturating_add(Weight::from_parts(0, 51890)) - .saturating_add(T::DbWeight::get().reads(21)) + // Estimated: `6196` + // Minimum execution time: 180_680_000 picoseconds. + Weight::from_parts(181_910_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(22)) .saturating_add(T::DbWeight::get().writes(15)) } /// Storage: NominationPools BondedPools (r:1 w:0) @@ -398,12 +414,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1774` - // Estimated: `34190 + n * (2520 ±0)` - // Minimum execution time: 64_626_000 picoseconds. - Weight::from_parts(65_512_036, 0) - .saturating_add(Weight::from_parts(0, 34190)) - // Standard Error: 5_786 - .saturating_add(Weight::from_parts(1_267_907, 0).saturating_mul(n.into())) + // Estimated: `4556 + n * (2520 ±0)` + // Minimum execution time: 65_339_000 picoseconds. + Weight::from_parts(65_255_249, 0) + .saturating_add(Weight::from_parts(0, 4556)) + // Standard Error: 2_909 + .saturating_add(Weight::from_parts(1_291_006, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -418,10 +434,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_state() -> Weight { // Proof Size summary in bytes: // Measured: `1363` - // Estimated: `11778` - // Minimum execution time: 35_798_000 picoseconds. - Weight::from_parts(36_332_000, 0) - .saturating_add(Weight::from_parts(0, 11778)) + // Estimated: `4556` + // Minimum execution time: 35_433_000 picoseconds. + Weight::from_parts(35_860_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -435,12 +451,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_metadata(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `531` - // Estimated: `8909` - // Minimum execution time: 14_231_000 picoseconds. - Weight::from_parts(14_847_059, 0) - .saturating_add(Weight::from_parts(0, 8909)) - // Standard Error: 119 - .saturating_add(Weight::from_parts(821, 0).saturating_mul(n.into())) + // Estimated: `3735` + // Minimum execution time: 14_219_000 picoseconds. + Weight::from_parts(14_629_720, 0) + .saturating_add(Weight::from_parts(0, 3735)) + // Standard Error: 54 + .saturating_add(Weight::from_parts(1_446, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -460,8 +476,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_309_000 picoseconds. - Weight::from_parts(6_500_000, 0) + // Minimum execution time: 6_221_000 picoseconds. + Weight::from_parts(6_368_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -471,8 +487,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `531` // Estimated: `3685` - // Minimum execution time: 19_545_000 picoseconds. - Weight::from_parts(19_873_000, 0) + // Minimum execution time: 19_697_000 picoseconds. + Weight::from_parts(20_115_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -498,10 +514,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn chill() -> Weight { // Proof Size summary in bytes: // Measured: `1937` - // Estimated: `29711` - // Minimum execution time: 63_108_000 picoseconds. - Weight::from_parts(63_740_000, 0) - .saturating_add(Weight::from_parts(0, 29711)) + // Estimated: `4556` + // Minimum execution time: 63_674_000 picoseconds. + Weight::from_parts(64_352_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -516,10 +532,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_commission() -> Weight { // Proof Size summary in bytes: // Measured: `770` - // Estimated: `12324` - // Minimum execution time: 31_534_000 picoseconds. - Weight::from_parts(31_923_000, 0) - .saturating_add(Weight::from_parts(0, 12324)) + // Estimated: `3685` + // Minimum execution time: 31_835_000 picoseconds. + Weight::from_parts(32_163_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -529,8 +545,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `571` // Estimated: `3685` - // Minimum execution time: 18_914_000 picoseconds. - Weight::from_parts(19_482_000, 0) + // Minimum execution time: 18_810_000 picoseconds. + Weight::from_parts(18_983_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -541,8 +557,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `531` // Estimated: `3685` - // Minimum execution time: 19_606_000 picoseconds. - Weight::from_parts(20_215_000, 0) + // Minimum execution time: 19_450_000 picoseconds. + Weight::from_parts(19_856_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -554,10 +570,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_claim_permission() -> Weight { // Proof Size summary in bytes: // Measured: `542` - // Estimated: `7688` - // Minimum execution time: 14_577_000 picoseconds. - Weight::from_parts(15_134_000, 0) - .saturating_add(Weight::from_parts(0, 7688)) + // Estimated: `4182` + // Minimum execution time: 14_486_000 picoseconds. + Weight::from_parts(14_767_000, 0) + .saturating_add(Weight::from_parts(0, 4182)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -572,10 +588,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn claim_commission() -> Weight { // Proof Size summary in bytes: // Measured: `968` - // Estimated: `12324` - // Minimum execution time: 46_208_000 picoseconds. - Weight::from_parts(47_514_000, 0) - .saturating_add(Weight::from_parts(0, 12324)) + // Estimated: `3685` + // Minimum execution time: 61_566_000 picoseconds. + Weight::from_parts(62_663_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/kusama/src/weights/pallet_preimage.rs b/runtime/kusama/src/weights/pallet_preimage.rs index 8d10e455b555..00411a7f46d1 100644 --- a/runtime/kusama/src/weights/pallet_preimage.rs +++ b/runtime/kusama/src/weights/pallet_preimage.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); @@ -54,11 +56,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3556` - // Minimum execution time: 24_877_000 picoseconds. - Weight::from_parts(25_117_000, 0) + // Minimum execution time: 29_693_000 picoseconds. + Weight::from_parts(30_126_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_971, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_962, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -71,11 +73,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 15_956_000 picoseconds. - Weight::from_parts(16_228_000, 0) + // Minimum execution time: 16_453_000 picoseconds. + Weight::from_parts(16_742_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_971, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_958, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,11 +90,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 15_423_000 picoseconds. - Weight::from_parts(15_623_000, 0) + // Minimum execution time: 15_518_000 picoseconds. + Weight::from_parts(15_658_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_971, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_960, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -104,8 +106,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `289` // Estimated: `3556` - // Minimum execution time: 32_025_000 picoseconds. - Weight::from_parts(33_010_000, 0) + // Minimum execution time: 37_656_000 picoseconds. + Weight::from_parts(38_443_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -118,8 +120,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 20_745_000 picoseconds. - Weight::from_parts(22_025_000, 0) + // Minimum execution time: 21_911_000 picoseconds. + Weight::from_parts(22_472_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -130,8 +132,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `188` // Estimated: `3556` - // Minimum execution time: 18_566_000 picoseconds. - Weight::from_parts(19_645_000, 0) + // Minimum execution time: 20_309_000 picoseconds. + Weight::from_parts(21_076_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -142,8 +144,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 11_425_000 picoseconds. - Weight::from_parts(11_921_000, 0) + // Minimum execution time: 11_659_000 picoseconds. + Weight::from_parts(12_301_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -154,8 +156,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3556` - // Minimum execution time: 12_917_000 picoseconds. - Weight::from_parts(13_742_000, 0) + // Minimum execution time: 13_699_000 picoseconds. + Weight::from_parts(14_170_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,8 +168,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 7_930_000 picoseconds. - Weight::from_parts(8_153_000, 0) + // Minimum execution time: 8_513_000 picoseconds. + Weight::from_parts(8_776_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -180,8 +182,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 19_533_000 picoseconds. - Weight::from_parts(20_256_000, 0) + // Minimum execution time: 20_899_000 picoseconds. + Weight::from_parts(22_170_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -192,8 +194,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 7_840_000 picoseconds. - Weight::from_parts(8_014_000, 0) + // Minimum execution time: 8_227_000 picoseconds. + Weight::from_parts(8_457_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -204,8 +206,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 7_650_000 picoseconds. - Weight::from_parts(8_032_000, 0) + // Minimum execution time: 8_403_000 picoseconds. + Weight::from_parts(8_558_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/kusama/src/weights/pallet_proxy.rs b/runtime/kusama/src/weights/pallet_proxy.rs index a348858104ea..dd24fcb23796 100644 --- a/runtime/kusama/src/weights/pallet_proxy.rs +++ b/runtime/kusama/src/weights/pallet_proxy.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); @@ -52,11 +54,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 15_572_000 picoseconds. - Weight::from_parts(16_351_854, 0) + // Minimum execution time: 15_909_000 picoseconds. + Weight::from_parts(16_351_527, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_347 - .saturating_add(Weight::from_parts(32_817, 0).saturating_mul(p.into())) + // Standard Error: 598 + .saturating_add(Weight::from_parts(42_235, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -70,14 +72,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `554 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `13997` - // Minimum execution time: 37_457_000 picoseconds. - Weight::from_parts(38_031_782, 0) - .saturating_add(Weight::from_parts(0, 13997)) - // Standard Error: 2_230 - .saturating_add(Weight::from_parts(131_439, 0).saturating_mul(a.into())) - // Standard Error: 2_304 - .saturating_add(Weight::from_parts(13_344, 0).saturating_mul(p.into())) + // Estimated: `5698` + // Minimum execution time: 40_359_000 picoseconds. + Weight::from_parts(40_404_892, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 4_176 + .saturating_add(Weight::from_parts(111_611, 0).saturating_mul(a.into())) + // Standard Error: 4_315 + .saturating_add(Weight::from_parts(31_502, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,17 +89,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, p: u32, ) -> Weight { + fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + a * (68 ±0)` - // Estimated: `9291` - // Minimum execution time: 20_991_000 picoseconds. - Weight::from_parts(22_051_333, 0) - .saturating_add(Weight::from_parts(0, 9291)) - // Standard Error: 1_299 - .saturating_add(Weight::from_parts(167_423, 0).saturating_mul(a.into())) - // Standard Error: 1_342 - .saturating_add(Weight::from_parts(2_821, 0).saturating_mul(p.into())) + // Estimated: `5698` + // Minimum execution time: 24_162_000 picoseconds. + Weight::from_parts(25_237_127, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 1_755 + .saturating_add(Weight::from_parts(138_783, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -110,12 +110,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + a * (68 ±0)` - // Estimated: `9291` - // Minimum execution time: 21_151_000 picoseconds. - Weight::from_parts(22_318_114, 0) - .saturating_add(Weight::from_parts(0, 9291)) - // Standard Error: 1_227 - .saturating_add(Weight::from_parts(141_706, 0).saturating_mul(a.into())) + // Estimated: `5698` + // Minimum execution time: 24_157_000 picoseconds. + Weight::from_parts(25_182_335, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 1_098 + .saturating_add(Weight::from_parts(136_258, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -130,14 +130,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `486 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `13997` - // Minimum execution time: 29_255_000 picoseconds. - Weight::from_parts(32_863_289, 0) - .saturating_add(Weight::from_parts(0, 13997)) - // Standard Error: 2_687 - .saturating_add(Weight::from_parts(151_159, 0).saturating_mul(a.into())) - // Standard Error: 2_776 - .saturating_add(Weight::from_parts(24_689, 0).saturating_mul(p.into())) + // Estimated: `5698` + // Minimum execution time: 33_473_000 picoseconds. + Weight::from_parts(36_141_059, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 4_251 + .saturating_add(Weight::from_parts(121_015, 0).saturating_mul(a.into())) + // Standard Error: 4_392 + .saturating_add(Weight::from_parts(22_929, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -148,11 +148,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_317_000 picoseconds. - Weight::from_parts(23_302_699, 0) + // Minimum execution time: 24_898_000 picoseconds. + Weight::from_parts(25_514_219, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_487 - .saturating_add(Weight::from_parts(44_269, 0).saturating_mul(p.into())) + // Standard Error: 1_003 + .saturating_add(Weight::from_parts(52_434, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,11 +163,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 21_653_000 picoseconds. - Weight::from_parts(23_148_802, 0) + // Minimum execution time: 24_857_000 picoseconds. + Weight::from_parts(25_934_923, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_032 - .saturating_add(Weight::from_parts(62_340, 0).saturating_mul(p.into())) + // Standard Error: 1_495 + .saturating_add(Weight::from_parts(52_534, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +178,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 17_749_000 picoseconds. - Weight::from_parts(18_674_923, 0) + // Minimum execution time: 21_972_000 picoseconds. + Weight::from_parts(22_722_374, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_450 - .saturating_add(Weight::from_parts(26_630, 0).saturating_mul(p.into())) + // Standard Error: 946 + .saturating_add(Weight::from_parts(31_366, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +193,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `239` // Estimated: `4706` - // Minimum execution time: 24_229_000 picoseconds. - Weight::from_parts(25_116_004, 0) + // Minimum execution time: 26_801_000 picoseconds. + Weight::from_parts(27_492_405, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_528 - .saturating_add(Weight::from_parts(8_119, 0).saturating_mul(p.into())) + // Standard Error: 673 + .saturating_add(Weight::from_parts(2_841, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,11 +208,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `264 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 18_787_000 picoseconds. - Weight::from_parts(19_605_766, 0) + // Minimum execution time: 23_022_000 picoseconds. + Weight::from_parts(23_716_687, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_159 - .saturating_add(Weight::from_parts(30_136, 0).saturating_mul(p.into())) + // Standard Error: 842 + .saturating_add(Weight::from_parts(33_007, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_ranked_collective.rs b/runtime/kusama/src/weights/pallet_ranked_collective.rs index ab3ff59404af..e9529717841b 100644 --- a/runtime/kusama/src/weights/pallet_ranked_collective.rs +++ b/runtime/kusama/src/weights/pallet_ranked_collective.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_ranked_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_ranked_collective`. pub struct WeightInfo(PhantomData); @@ -56,10 +58,10 @@ impl pallet_ranked_collective::WeightInfo for WeightInf fn add_member() -> Weight { // Proof Size summary in bytes: // Measured: `76` - // Estimated: `6986` - // Minimum execution time: 17_330_000 picoseconds. - Weight::from_parts(18_056_000, 0) - .saturating_add(Weight::from_parts(0, 6986)) + // Estimated: `3507` + // Minimum execution time: 17_166_000 picoseconds. + Weight::from_parts(17_525_000, 0) + .saturating_add(Weight::from_parts(0, 3507)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -75,17 +77,17 @@ impl pallet_ranked_collective::WeightInfo for WeightInf fn remove_member(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `550 + r * (281 ±0)` - // Estimated: `14024 + r * (7547 ±0)` - // Minimum execution time: 27_803_000 picoseconds. - Weight::from_parts(32_948_051, 0) - .saturating_add(Weight::from_parts(0, 14024)) - // Standard Error: 34_857 - .saturating_add(Weight::from_parts(11_563_940, 0).saturating_mul(r.into())) + // Estimated: `3519 + r * (2529 ±0)` + // Minimum execution time: 27_083_000 picoseconds. + Weight::from_parts(31_255_405, 0) + .saturating_add(Weight::from_parts(0, 3519)) + // Standard Error: 26_146 + .saturating_add(Weight::from_parts(11_608_764, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 7547).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2529).saturating_mul(r.into())) } /// Storage: FellowshipCollective Members (r:1 w:1) /// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen) @@ -99,12 +101,12 @@ impl pallet_ranked_collective::WeightInfo for WeightInf fn promote_member(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `248 + r * (17 ±0)` - // Estimated: `6986` - // Minimum execution time: 19_310_000 picoseconds. - Weight::from_parts(20_134_066, 0) - .saturating_add(Weight::from_parts(0, 6986)) - // Standard Error: 3_943 - .saturating_add(Weight::from_parts(316_477, 0).saturating_mul(r.into())) + // Estimated: `3507` + // Minimum execution time: 19_158_000 picoseconds. + Weight::from_parts(19_893_892, 0) + .saturating_add(Weight::from_parts(0, 3507)) + // Standard Error: 4_132 + .saturating_add(Weight::from_parts(318_611, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -120,12 +122,12 @@ impl pallet_ranked_collective::WeightInfo for WeightInf fn demote_member(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `566 + r * (72 ±0)` - // Estimated: `14024` - // Minimum execution time: 27_232_000 picoseconds. - Weight::from_parts(31_561_050, 0) - .saturating_add(Weight::from_parts(0, 14024)) - // Standard Error: 26_545 - .saturating_add(Weight::from_parts(771_800, 0).saturating_mul(r.into())) + // Estimated: `3519` + // Minimum execution time: 27_058_000 picoseconds. + Weight::from_parts(29_517_469, 0) + .saturating_add(Weight::from_parts(0, 3519)) + // Standard Error: 32_402 + .saturating_add(Weight::from_parts(639_726, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -139,11 +141,11 @@ impl pallet_ranked_collective::WeightInfo for WeightInf /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn vote() -> Weight { // Proof Size summary in bytes: - // Measured: `672` - // Estimated: `95268` - // Minimum execution time: 51_056_000 picoseconds. - Weight::from_parts(51_866_000, 0) - .saturating_add(Weight::from_parts(0, 95268)) + // Measured: `638` + // Estimated: `83866` + // Minimum execution time: 50_139_000 picoseconds. + Weight::from_parts(50_871_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -156,13 +158,13 @@ impl pallet_ranked_collective::WeightInfo for WeightInf /// The range of component `n` is `[0, 100]`. fn cleanup_poll(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `468 + n * (50 ±0)` - // Estimated: `8934 + n * (2540 ±0)` - // Minimum execution time: 14_635_000 picoseconds. - Weight::from_parts(18_272_905, 0) - .saturating_add(Weight::from_parts(0, 8934)) - // Standard Error: 1_276 - .saturating_add(Weight::from_parts(935_824, 0).saturating_mul(n.into())) + // Measured: `434 + n * (50 ±0)` + // Estimated: `4365 + n * (2540 ±0)` + // Minimum execution time: 14_639_000 picoseconds. + Weight::from_parts(17_825_612, 0) + .saturating_add(Weight::from_parts(0, 4365)) + // Standard Error: 1_138 + .saturating_add(Weight::from_parts(921_612, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) diff --git a/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs b/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs index b93fb0eda30e..dfc2ffbfaa00 100644 --- a/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs +++ b/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_referenda` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_referenda`. pub struct WeightInfo(PhantomData); @@ -55,11 +57,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen) fn submit() -> Weight { // Proof Size summary in bytes: - // Measured: `361` - // Estimated: `47424` - // Minimum execution time: 30_081_000 picoseconds. - Weight::from_parts(30_508_000, 0) - .saturating_add(Weight::from_parts(0, 47424)) + // Measured: `327` + // Estimated: `42428` + // Minimum execution time: 30_026_000 picoseconds. + Weight::from_parts(30_391_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -69,11 +71,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn place_decision_deposit_preparing() -> Weight { // Proof Size summary in bytes: - // Measured: `438` - // Estimated: `88231` - // Minimum execution time: 49_779_000 picoseconds. - Weight::from_parts(50_298_000, 0) - .saturating_add(Weight::from_parts(0, 88231)) + // Measured: `404` + // Estimated: `83866` + // Minimum execution time: 53_519_000 picoseconds. + Weight::from_parts(54_364_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -85,11 +87,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen) fn place_decision_deposit_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `1879` - // Estimated: `12121` - // Minimum execution time: 64_167_000 picoseconds. - Weight::from_parts(66_457_000, 0) - .saturating_add(Weight::from_parts(0, 12121)) + // Measured: `1845` + // Estimated: `4365` + // Minimum execution time: 69_669_000 picoseconds. + Weight::from_parts(71_436_000, 0) + .saturating_add(Weight::from_parts(0, 4365)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -101,11 +103,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen) fn place_decision_deposit_not_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `1920` - // Estimated: `12121` - // Minimum execution time: 64_004_000 picoseconds. - Weight::from_parts(66_024_000, 0) - .saturating_add(Weight::from_parts(0, 12121)) + // Measured: `1886` + // Estimated: `4365` + // Minimum execution time: 68_491_000 picoseconds. + Weight::from_parts(70_483_000, 0) + .saturating_add(Weight::from_parts(0, 4365)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -119,11 +121,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn place_decision_deposit_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `808` - // Estimated: `95189` - // Minimum execution time: 121_186_000 picoseconds. - Weight::from_parts(128_218_000, 0) - .saturating_add(Weight::from_parts(0, 95189)) + // Measured: `774` + // Estimated: `83866` + // Minimum execution time: 126_622_000 picoseconds. + Weight::from_parts(132_198_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -135,11 +137,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) fn place_decision_deposit_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `580` - // Estimated: `11323` - // Minimum execution time: 41_770_000 picoseconds. - Weight::from_parts(42_309_000, 0) - .saturating_add(Weight::from_parts(0, 11323)) + // Measured: `546` + // Estimated: `4365` + // Minimum execution time: 45_825_000 picoseconds. + Weight::from_parts(46_440_000, 0) + .saturating_add(Weight::from_parts(0, 4365)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -147,10 +149,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen) fn refund_decision_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `351` + // Measured: `317` // Estimated: `4365` - // Minimum execution time: 26_740_000 picoseconds. - Weight::from_parts(27_508_000, 0) + // Minimum execution time: 30_724_000 picoseconds. + Weight::from_parts(31_246_000, 0) .saturating_add(Weight::from_parts(0, 4365)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -159,10 +161,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen) fn refund_submission_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `201` + // Measured: `167` // Estimated: `4365` - // Minimum execution time: 15_428_000 picoseconds. - Weight::from_parts(15_672_000, 0) + // Minimum execution time: 15_550_000 picoseconds. + Weight::from_parts(15_889_000, 0) .saturating_add(Weight::from_parts(0, 4365)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -173,11 +175,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `383` - // Estimated: `88231` - // Minimum execution time: 38_278_000 picoseconds. - Weight::from_parts(38_779_000, 0) - .saturating_add(Weight::from_parts(0, 88231)) + // Measured: `349` + // Estimated: `83866` + // Minimum execution time: 38_618_000 picoseconds. + Weight::from_parts(39_045_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -189,11 +191,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn kill() -> Weight { // Proof Size summary in bytes: - // Measured: `484` - // Estimated: `91748` - // Minimum execution time: 70_052_000 picoseconds. - Weight::from_parts(71_709_000, 0) - .saturating_add(Weight::from_parts(0, 91748)) + // Measured: `450` + // Estimated: `83866` + // Minimum execution time: 76_221_000 picoseconds. + Weight::from_parts(77_031_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -203,11 +205,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) fn one_fewer_deciding_queue_empty() -> Weight { // Proof Size summary in bytes: - // Measured: `174` - // Estimated: `7756` - // Minimum execution time: 10_103_000 picoseconds. - Weight::from_parts(10_288_000, 0) - .saturating_add(Weight::from_parts(0, 7756)) + // Measured: `140` + // Estimated: `4277` + // Minimum execution time: 9_994_000 picoseconds. + Weight::from_parts(10_330_000, 0) + .saturating_add(Weight::from_parts(0, 4277)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -221,11 +223,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn one_fewer_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `3052` - // Estimated: `95987` - // Minimum execution time: 134_978_000 picoseconds. - Weight::from_parts(137_992_000, 0) - .saturating_add(Weight::from_parts(0, 95987)) + // Measured: `3018` + // Estimated: `83866` + // Minimum execution time: 136_387_000 picoseconds. + Weight::from_parts(139_419_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -239,11 +241,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn one_fewer_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `3052` - // Estimated: `95987` - // Minimum execution time: 136_814_000 picoseconds. - Weight::from_parts(139_254_000, 0) - .saturating_add(Weight::from_parts(0, 95987)) + // Measured: `3018` + // Estimated: `83866` + // Minimum execution time: 139_137_000 picoseconds. + Weight::from_parts(142_118_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -255,11 +257,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_requeued_insertion() -> Weight { // Proof Size summary in bytes: - // Measured: `2695` - // Estimated: `51070` - // Minimum execution time: 72_954_000 picoseconds. - Weight::from_parts(75_645_000, 0) - .saturating_add(Weight::from_parts(0, 51070)) + // Measured: `2661` + // Estimated: `42428` + // Minimum execution time: 75_604_000 picoseconds. + Weight::from_parts(77_294_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -271,11 +273,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_requeued_slide() -> Weight { // Proof Size summary in bytes: - // Measured: `2662` - // Estimated: `51070` - // Minimum execution time: 72_505_000 picoseconds. - Weight::from_parts(74_867_000, 0) - .saturating_add(Weight::from_parts(0, 51070)) + // Measured: `2628` + // Estimated: `42428` + // Minimum execution time: 75_552_000 picoseconds. + Weight::from_parts(77_339_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -289,11 +291,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `2678` - // Estimated: `54549` - // Minimum execution time: 76_277_000 picoseconds. - Weight::from_parts(77_687_000, 0) - .saturating_add(Weight::from_parts(0, 54549)) + // Measured: `2644` + // Estimated: `42428` + // Minimum execution time: 77_946_000 picoseconds. + Weight::from_parts(80_444_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -307,11 +309,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_not_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `2719` - // Estimated: `54549` - // Minimum execution time: 76_078_000 picoseconds. - Weight::from_parts(78_067_000, 0) - .saturating_add(Weight::from_parts(0, 54549)) + // Measured: `2685` + // Estimated: `42428` + // Minimum execution time: 77_557_000 picoseconds. + Weight::from_parts(79_420_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -321,11 +323,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_no_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `335` - // Estimated: `46793` - // Minimum execution time: 26_265_000 picoseconds. - Weight::from_parts(26_673_000, 0) - .saturating_add(Weight::from_parts(0, 46793)) + // Measured: `301` + // Estimated: `42428` + // Minimum execution time: 25_972_000 picoseconds. + Weight::from_parts(26_364_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -335,11 +337,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_preparing() -> Weight { // Proof Size summary in bytes: - // Measured: `383` - // Estimated: `46793` - // Minimum execution time: 26_405_000 picoseconds. - Weight::from_parts(26_889_000, 0) - .saturating_add(Weight::from_parts(0, 46793)) + // Measured: `349` + // Estimated: `42428` + // Minimum execution time: 26_412_000 picoseconds. + Weight::from_parts(26_765_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -347,10 +349,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen) fn nudge_referendum_timed_out() -> Weight { // Proof Size summary in bytes: - // Measured: `242` + // Measured: `208` // Estimated: `4365` - // Minimum execution time: 17_372_000 picoseconds. - Weight::from_parts(17_889_000, 0) + // Minimum execution time: 17_815_000 picoseconds. + Weight::from_parts(18_068_000, 0) .saturating_add(Weight::from_parts(0, 4365)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -365,11 +367,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `618` - // Estimated: `53751` - // Minimum execution time: 38_271_000 picoseconds. - Weight::from_parts(38_831_000, 0) - .saturating_add(Weight::from_parts(0, 53751)) + // Measured: `584` + // Estimated: `42428` + // Minimum execution time: 38_419_000 picoseconds. + Weight::from_parts(38_825_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -383,11 +385,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `753` - // Estimated: `53751` - // Minimum execution time: 64_433_000 picoseconds. - Weight::from_parts(66_200_000, 0) - .saturating_add(Weight::from_parts(0, 53751)) + // Measured: `719` + // Estimated: `42428` + // Minimum execution time: 63_382_000 picoseconds. + Weight::from_parts(65_585_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -399,11 +401,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `804` - // Estimated: `50272` - // Minimum execution time: 88_210_000 picoseconds. - Weight::from_parts(92_275_000, 0) - .saturating_add(Weight::from_parts(0, 50272)) + // Measured: `770` + // Estimated: `42428` + // Minimum execution time: 86_762_000 picoseconds. + Weight::from_parts(91_844_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -415,11 +417,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_end_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `789` - // Estimated: `50272` - // Minimum execution time: 89_249_000 picoseconds. - Weight::from_parts(93_124_000, 0) - .saturating_add(Weight::from_parts(0, 50272)) + // Measured: `755` + // Estimated: `42428` + // Minimum execution time: 88_479_000 picoseconds. + Weight::from_parts(95_903_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -431,11 +433,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_continue_not_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `804` - // Estimated: `50272` - // Minimum execution time: 83_355_000 picoseconds. - Weight::from_parts(89_702_000, 0) - .saturating_add(Weight::from_parts(0, 50272)) + // Measured: `770` + // Estimated: `42428` + // Minimum execution time: 85_223_000 picoseconds. + Weight::from_parts(88_848_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -447,11 +449,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_continue_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `810` - // Estimated: `50272` - // Minimum execution time: 58_227_000 picoseconds. - Weight::from_parts(59_994_000, 0) - .saturating_add(Weight::from_parts(0, 50272)) + // Measured: `776` + // Estimated: `42428` + // Minimum execution time: 56_821_000 picoseconds. + Weight::from_parts(58_801_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -465,11 +467,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn nudge_referendum_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `810` - // Estimated: `95223` - // Minimum execution time: 104_526_000 picoseconds. - Weight::from_parts(110_892_000, 0) - .saturating_add(Weight::from_parts(0, 95223)) + // Measured: `776` + // Estimated: `83866` + // Minimum execution time: 103_463_000 picoseconds. + Weight::from_parts(106_239_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -481,11 +483,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_rejected() -> Weight { // Proof Size summary in bytes: - // Measured: `806` - // Estimated: `50272` - // Minimum execution time: 75_050_000 picoseconds. - Weight::from_parts(91_115_000, 0) - .saturating_add(Weight::from_parts(0, 50272)) + // Measured: `772` + // Estimated: `42428` + // Minimum execution time: 77_123_000 picoseconds. + Weight::from_parts(91_273_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -497,11 +499,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn set_some_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `386` - // Estimated: `7921` - // Minimum execution time: 20_846_000 picoseconds. - Weight::from_parts(21_275_000, 0) - .saturating_add(Weight::from_parts(0, 7921)) + // Measured: `352` + // Estimated: `4365` + // Minimum execution time: 20_702_000 picoseconds. + Weight::from_parts(21_003_000, 0) + .saturating_add(Weight::from_parts(0, 4365)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -511,11 +513,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `319` - // Estimated: `7882` - // Minimum execution time: 18_521_000 picoseconds. - Weight::from_parts(18_978_000, 0) - .saturating_add(Weight::from_parts(0, 7882)) + // Measured: `285` + // Estimated: `4365` + // Minimum execution time: 18_676_000 picoseconds. + Weight::from_parts(18_993_000, 0) + .saturating_add(Weight::from_parts(0, 4365)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_referenda_referenda.rs b/runtime/kusama/src/weights/pallet_referenda_referenda.rs index 77bb6130e7eb..7ee5de52fd55 100644 --- a/runtime/kusama/src/weights/pallet_referenda_referenda.rs +++ b/runtime/kusama/src/weights/pallet_referenda_referenda.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_referenda` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_referenda`. pub struct WeightInfo(PhantomData); @@ -53,11 +55,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn submit() -> Weight { // Proof Size summary in bytes: - // Measured: `185` - // Estimated: `43917` - // Minimum execution time: 35_637_000 picoseconds. - Weight::from_parts(36_388_000, 0) - .saturating_add(Weight::from_parts(0, 43917)) + // Measured: `186` + // Estimated: `42428` + // Minimum execution time: 39_741_000 picoseconds. + Weight::from_parts(40_248_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -67,11 +69,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn place_decision_deposit_preparing() -> Weight { // Proof Size summary in bytes: - // Measured: `438` - // Estimated: `88267` - // Minimum execution time: 49_103_000 picoseconds. - Weight::from_parts(50_573_000, 0) - .saturating_add(Weight::from_parts(0, 88267)) + // Measured: `439` + // Estimated: `83866` + // Minimum execution time: 51_664_000 picoseconds. + Weight::from_parts(52_160_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -83,11 +85,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) fn place_decision_deposit_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3034` - // Estimated: `13357` - // Minimum execution time: 44_797_000 picoseconds. - Weight::from_parts(45_606_000, 0) - .saturating_add(Weight::from_parts(0, 13357)) + // Measured: `3035` + // Estimated: `5477` + // Minimum execution time: 48_021_000 picoseconds. + Weight::from_parts(48_641_000, 0) + .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,11 +101,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) fn place_decision_deposit_not_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3054` - // Estimated: `13357` - // Minimum execution time: 44_300_000 picoseconds. - Weight::from_parts(45_215_000, 0) - .saturating_add(Weight::from_parts(0, 13357)) + // Measured: `3055` + // Estimated: `5477` + // Minimum execution time: 47_596_000 picoseconds. + Weight::from_parts(48_391_000, 0) + .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,11 +119,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn place_decision_deposit_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `438` - // Estimated: `93247` - // Minimum execution time: 64_058_000 picoseconds. - Weight::from_parts(66_457_000, 0) - .saturating_add(Weight::from_parts(0, 93247)) + // Measured: `439` + // Estimated: `83866` + // Minimum execution time: 63_844_000 picoseconds. + Weight::from_parts(64_556_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -133,11 +135,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn place_decision_deposit_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `345` - // Estimated: `9381` - // Minimum execution time: 39_214_000 picoseconds. - Weight::from_parts(40_199_000, 0) - .saturating_add(Weight::from_parts(0, 9381)) + // Measured: `346` + // Estimated: `4401` + // Minimum execution time: 41_570_000 picoseconds. + Weight::from_parts(41_909_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -145,10 +147,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn refund_decision_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `279` // Estimated: `4401` - // Minimum execution time: 25_633_000 picoseconds. - Weight::from_parts(26_200_000, 0) + // Minimum execution time: 30_061_000 picoseconds. + Weight::from_parts(30_760_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -157,10 +159,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn refund_submission_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `268` + // Measured: `269` // Estimated: `4401` - // Minimum execution time: 25_887_000 picoseconds. - Weight::from_parts(26_428_000, 0) + // Minimum execution time: 30_118_000 picoseconds. + Weight::from_parts(30_763_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -171,11 +173,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `88267` - // Minimum execution time: 37_627_000 picoseconds. - Weight::from_parts(38_185_000, 0) - .saturating_add(Weight::from_parts(0, 88267)) + // Measured: `347` + // Estimated: `83866` + // Minimum execution time: 38_071_000 picoseconds. + Weight::from_parts(38_612_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -187,11 +189,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn kill() -> Weight { // Proof Size summary in bytes: - // Measured: `587` - // Estimated: `91784` - // Minimum execution time: 92_363_000 picoseconds. - Weight::from_parts(93_288_000, 0) - .saturating_add(Weight::from_parts(0, 91784)) + // Measured: `588` + // Estimated: `83866` + // Minimum execution time: 99_074_000 picoseconds. + Weight::from_parts(99_988_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -201,11 +203,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) fn one_fewer_deciding_queue_empty() -> Weight { // Proof Size summary in bytes: - // Measured: `101` - // Estimated: `8956` - // Minimum execution time: 9_171_000 picoseconds. - Weight::from_parts(9_545_000, 0) - .saturating_add(Weight::from_parts(0, 8956)) + // Measured: `102` + // Estimated: `5477` + // Minimum execution time: 9_600_000 picoseconds. + Weight::from_parts(9_799_000, 0) + .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,11 +221,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn one_fewer_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `3804` - // Estimated: `95245` - // Minimum execution time: 107_076_000 picoseconds. - Weight::from_parts(107_863_000, 0) - .saturating_add(Weight::from_parts(0, 95245)) + // Measured: `3805` + // Estimated: `83866` + // Minimum execution time: 109_886_000 picoseconds. + Weight::from_parts(110_776_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -237,11 +239,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn one_fewer_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `3804` - // Estimated: `95245` - // Minimum execution time: 108_656_000 picoseconds. - Weight::from_parts(109_588_000, 0) - .saturating_add(Weight::from_parts(0, 95245)) + // Measured: `3805` + // Estimated: `83866` + // Minimum execution time: 112_690_000 picoseconds. + Weight::from_parts(113_528_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -253,11 +255,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_requeued_insertion() -> Weight { // Proof Size summary in bytes: - // Measured: `3822` - // Estimated: `52306` - // Minimum execution time: 56_686_000 picoseconds. - Weight::from_parts(57_215_000, 0) - .saturating_add(Weight::from_parts(0, 52306)) + // Measured: `3823` + // Estimated: `42428` + // Minimum execution time: 58_976_000 picoseconds. + Weight::from_parts(59_487_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -269,11 +271,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_requeued_slide() -> Weight { // Proof Size summary in bytes: - // Measured: `3822` - // Estimated: `52306` - // Minimum execution time: 56_533_000 picoseconds. - Weight::from_parts(57_130_000, 0) - .saturating_add(Weight::from_parts(0, 52306)) + // Measured: `3823` + // Estimated: `42428` + // Minimum execution time: 58_833_000 picoseconds. + Weight::from_parts(59_343_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -287,11 +289,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3796` - // Estimated: `55785` - // Minimum execution time: 58_599_000 picoseconds. - Weight::from_parts(59_180_000, 0) - .saturating_add(Weight::from_parts(0, 55785)) + // Measured: `3797` + // Estimated: `42428` + // Minimum execution time: 60_579_000 picoseconds. + Weight::from_parts(61_323_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -305,11 +307,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_not_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3816` - // Estimated: `55785` - // Minimum execution time: 58_664_000 picoseconds. - Weight::from_parts(59_215_000, 0) - .saturating_add(Weight::from_parts(0, 55785)) + // Measured: `3817` + // Estimated: `42428` + // Minimum execution time: 60_324_000 picoseconds. + Weight::from_parts(60_914_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -319,11 +321,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_no_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `298` - // Estimated: `46829` - // Minimum execution time: 25_040_000 picoseconds. - Weight::from_parts(25_512_000, 0) - .saturating_add(Weight::from_parts(0, 46829)) + // Measured: `299` + // Estimated: `42428` + // Minimum execution time: 25_364_000 picoseconds. + Weight::from_parts(25_880_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -333,11 +335,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_preparing() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `46829` - // Minimum execution time: 25_143_000 picoseconds. - Weight::from_parts(26_027_000, 0) - .saturating_add(Weight::from_parts(0, 46829)) + // Measured: `347` + // Estimated: `42428` + // Minimum execution time: 25_709_000 picoseconds. + Weight::from_parts(26_100_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -345,10 +347,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn nudge_referendum_timed_out() -> Weight { // Proof Size summary in bytes: - // Measured: `205` + // Measured: `206` // Estimated: `4401` - // Minimum execution time: 16_580_000 picoseconds. - Weight::from_parts(17_305_000, 0) + // Minimum execution time: 17_452_000 picoseconds. + Weight::from_parts(17_649_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -363,11 +365,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `51809` - // Minimum execution time: 35_384_000 picoseconds. - Weight::from_parts(35_850_000, 0) - .saturating_add(Weight::from_parts(0, 51809)) + // Measured: `347` + // Estimated: `42428` + // Minimum execution time: 35_315_000 picoseconds. + Weight::from_parts(35_845_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -381,11 +383,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `51809` - // Minimum execution time: 37_799_000 picoseconds. - Weight::from_parts(38_672_000, 0) - .saturating_add(Weight::from_parts(0, 51809)) + // Measured: `347` + // Estimated: `42428` + // Minimum execution time: 37_531_000 picoseconds. + Weight::from_parts(38_135_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -397,11 +399,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `399` - // Estimated: `48330` - // Minimum execution time: 31_282_000 picoseconds. - Weight::from_parts(31_812_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) + // Measured: `400` + // Estimated: `42428` + // Minimum execution time: 31_415_000 picoseconds. + Weight::from_parts(31_776_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -413,11 +415,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_end_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `382` - // Estimated: `48330` - // Minimum execution time: 32_692_000 picoseconds. - Weight::from_parts(33_118_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) + // Measured: `383` + // Estimated: `42428` + // Minimum execution time: 32_398_000 picoseconds. + Weight::from_parts(32_747_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -429,11 +431,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_continue_not_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `399` - // Estimated: `48330` - // Minimum execution time: 29_825_000 picoseconds. - Weight::from_parts(30_210_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) + // Measured: `400` + // Estimated: `42428` + // Minimum execution time: 29_640_000 picoseconds. + Weight::from_parts(30_060_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -445,11 +447,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_continue_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `403` - // Estimated: `48330` - // Minimum execution time: 28_156_000 picoseconds. - Weight::from_parts(28_686_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) + // Measured: `404` + // Estimated: `42428` + // Minimum execution time: 28_283_000 picoseconds. + Weight::from_parts(28_904_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -463,11 +465,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn nudge_referendum_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `403` - // Estimated: `93281` - // Minimum execution time: 44_274_000 picoseconds. - Weight::from_parts(44_748_000, 0) - .saturating_add(Weight::from_parts(0, 93281)) + // Measured: `404` + // Estimated: `83866` + // Minimum execution time: 43_817_000 picoseconds. + Weight::from_parts(44_477_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -479,11 +481,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_rejected() -> Weight { // Proof Size summary in bytes: - // Measured: `399` - // Estimated: `48330` - // Minimum execution time: 31_654_000 picoseconds. - Weight::from_parts(32_198_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) + // Measured: `400` + // Estimated: `42428` + // Minimum execution time: 31_464_000 picoseconds. + Weight::from_parts(32_071_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -495,11 +497,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn set_some_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `7957` - // Minimum execution time: 20_050_000 picoseconds. - Weight::from_parts(20_684_000, 0) - .saturating_add(Weight::from_parts(0, 7957)) + // Measured: `350` + // Estimated: `4401` + // Minimum execution time: 20_035_000 picoseconds. + Weight::from_parts(20_500_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -509,11 +511,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `282` - // Estimated: `7918` - // Minimum execution time: 17_427_000 picoseconds. - Weight::from_parts(17_920_000, 0) - .saturating_add(Weight::from_parts(0, 7918)) + // Measured: `283` + // Estimated: `4401` + // Minimum execution time: 17_757_000 picoseconds. + Weight::from_parts(18_157_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_scheduler.rs b/runtime/kusama/src/weights/pallet_scheduler.rs index 74122154658d..7dea204619f0 100644 --- a/runtime/kusama/src/weights/pallet_scheduler.rs +++ b/runtime/kusama/src/weights/pallet_scheduler.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69` // Estimated: `1489` - // Minimum execution time: 3_952_000 picoseconds. - Weight::from_parts(4_041_000, 0) + // Minimum execution time: 4_021_000 picoseconds. + Weight::from_parts(4_146_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,11 +66,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_546_000 picoseconds. - Weight::from_parts(6_896_089, 0) + // Minimum execution time: 3_615_000 picoseconds. + Weight::from_parts(6_705_712, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_110 - .saturating_add(Weight::from_parts(751_504, 0).saturating_mul(s.into())) + // Standard Error: 1_879 + .saturating_add(Weight::from_parts(769_736, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,8 +78,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_524_000 picoseconds. - Weight::from_parts(5_697_000, 0) + // Minimum execution time: 5_925_000 picoseconds. + Weight::from_parts(6_018_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -88,12 +90,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` - // Estimated: `7200 + s * (1 ±0)` - // Minimum execution time: 18_739_000 picoseconds. - Weight::from_parts(18_916_000, 0) - .saturating_add(Weight::from_parts(0, 7200)) + // Estimated: `3644 + s * (1 ±0)` + // Minimum execution time: 19_169_000 picoseconds. + Weight::from_parts(19_305_000, 0) + .saturating_add(Weight::from_parts(0, 3644)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_168, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_167, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -104,8 +106,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_343_000 picoseconds. - Weight::from_parts(7_519_000, 0) + // Minimum execution time: 7_535_000 picoseconds. + Weight::from_parts(7_627_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,24 +115,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_531_000 picoseconds. - Weight::from_parts(5_699_000, 0) + // Minimum execution time: 5_980_000 picoseconds. + Weight::from_parts(6_069_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_918_000 picoseconds. - Weight::from_parts(3_037_000, 0) + // Minimum execution time: 3_143_000 picoseconds. + Weight::from_parts(3_301_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_941_000 picoseconds. - Weight::from_parts(3_034_000, 0) + // Minimum execution time: 3_161_000 picoseconds. + Weight::from_parts(3_251_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -140,11 +142,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 14_269_000 picoseconds. - Weight::from_parts(17_390_869, 0) + // Minimum execution time: 13_675_000 picoseconds. + Weight::from_parts(16_925_902, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_065 - .saturating_add(Weight::from_parts(738_805, 0).saturating_mul(s.into())) + // Standard Error: 2_132 + .saturating_add(Weight::from_parts(765_522, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -157,11 +159,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 18_261_000 picoseconds. - Weight::from_parts(17_908_720, 0) + // Minimum execution time: 18_259_000 picoseconds. + Weight::from_parts(17_631_069, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_214 - .saturating_add(Weight::from_parts(1_318_747, 0).saturating_mul(s.into())) + // Standard Error: 1_622 + .saturating_add(Weight::from_parts(1_355_072, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -173,12 +175,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 16_924_000 picoseconds. - Weight::from_parts(21_290_922, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 3_117 - .saturating_add(Weight::from_parts(771_166, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 17_145_000 picoseconds. + Weight::from_parts(21_075_330, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_764 + .saturating_add(Weight::from_parts(790_285, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -190,12 +192,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `319 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 19_236_000 picoseconds. - Weight::from_parts(19_949_783, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 2_288 - .saturating_add(Weight::from_parts(1_338_921, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 19_614_000 picoseconds. + Weight::from_parts(19_816_769, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 1_943 + .saturating_add(Weight::from_parts(1_379_346, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/kusama/src/weights/pallet_session.rs b/runtime/kusama/src/weights/pallet_session.rs index 3f900297a17b..45beaf009c5d 100644 --- a/runtime/kusama/src/weights/pallet_session.rs +++ b/runtime/kusama/src/weights/pallet_session.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); @@ -54,10 +56,10 @@ impl pallet_session::WeightInfo for WeightInfo { fn set_keys() -> Weight { // Proof Size summary in bytes: // Measured: `2083` - // Estimated: `28027` - // Minimum execution time: 51_544_000 picoseconds. - Weight::from_parts(52_127_000, 0) - .saturating_add(Weight::from_parts(0, 28027)) + // Estimated: `17923` + // Minimum execution time: 52_023_000 picoseconds. + Weight::from_parts(52_743_000, 0) + .saturating_add(Weight::from_parts(0, 17923)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -70,10 +72,10 @@ impl pallet_session::WeightInfo for WeightInfo { fn purge_keys() -> Weight { // Proof Size summary in bytes: // Measured: `1947` - // Estimated: `11915` - // Minimum execution time: 37_019_000 picoseconds. - Weight::from_parts(37_594_000, 0) - .saturating_add(Weight::from_parts(0, 11915)) + // Estimated: `5412` + // Minimum execution time: 37_004_000 picoseconds. + Weight::from_parts(37_461_000, 0) + .saturating_add(Weight::from_parts(0, 5412)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/kusama/src/weights/pallet_staking.rs b/runtime/kusama/src/weights/pallet_staking.rs index abffa45dde3a..57195e7fec62 100644 --- a/runtime/kusama/src/weights/pallet_staking.rs +++ b/runtime/kusama/src/weights/pallet_staking.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_staking`. pub struct WeightInfo(PhantomData); @@ -53,16 +55,18 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:1) /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) fn bond() -> Weight { // Proof Size summary in bytes: // Measured: `980` - // Estimated: `14346` - // Minimum execution time: 44_042_000 picoseconds. - Weight::from_parts(44_821_000, 0) - .saturating_add(Weight::from_parts(0, 14346)) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `4764` + // Minimum execution time: 50_841_000 picoseconds. + Weight::from_parts(51_241_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Staking Bonded (r:1 w:0) @@ -71,6 +75,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -78,11 +84,11 @@ impl pallet_staking::WeightInfo for WeightInfo { fn bond_extra() -> Weight { // Proof Size summary in bytes: // Measured: `1955` - // Estimated: `27838` - // Minimum execution time: 81_755_000 picoseconds. - Weight::from_parts(83_690_000, 0) - .saturating_add(Weight::from_parts(0, 27838)) - .saturating_add(T::DbWeight::get().reads(8)) + // Estimated: `8877` + // Minimum execution time: 90_692_000 picoseconds. + Weight::from_parts(91_828_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: Staking Ledger (r:1 w:1) @@ -95,6 +101,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) @@ -106,11 +114,11 @@ impl pallet_staking::WeightInfo for WeightInfo { fn unbond() -> Weight { // Proof Size summary in bytes: // Measured: `2166` - // Estimated: `38700` - // Minimum execution time: 90_019_000 picoseconds. - Weight::from_parts(90_803_000, 0) - .saturating_add(Weight::from_parts(0, 38700)) - .saturating_add(T::DbWeight::get().reads(12)) + // Estimated: `8877` + // Minimum execution time: 94_445_000 picoseconds. + Weight::from_parts(95_226_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: Staking Ledger (r:1 w:1) @@ -119,19 +127,21 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `944` - // Estimated: `14402` - // Minimum execution time: 35_822_000 picoseconds. - Weight::from_parts(37_107_548, 0) - .saturating_add(Weight::from_parts(0, 14402)) - // Standard Error: 688 - .saturating_add(Weight::from_parts(9_909, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `4764` + // Minimum execution time: 43_590_000 picoseconds. + Weight::from_parts(45_220_761, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 447 + .saturating_add(Weight::from_parts(13_983, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Staking Ledger (r:1 w:1) @@ -158,6 +168,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:1) /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) /// Storage: Staking SpanSlash (r:0 w:100) @@ -166,13 +178,13 @@ impl pallet_staking::WeightInfo for WeightInfo { fn withdraw_unbonded_kill(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2217 + s * (4 ±0)` - // Estimated: `44178 + s * (4 ±0)` - // Minimum execution time: 77_649_000 picoseconds. - Weight::from_parts(82_955_230, 0) - .saturating_add(Weight::from_parts(0, 44178)) - // Standard Error: 3_559 - .saturating_add(Weight::from_parts(1_141_606, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(13)) + // Estimated: `6248 + s * (4 ±0)` + // Minimum execution time: 89_295_000 picoseconds. + Weight::from_parts(94_047_121, 0) + .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 1_981 + .saturating_add(Weight::from_parts(1_177_496, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into())) @@ -202,10 +214,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn validate() -> Weight { // Proof Size summary in bytes: // Measured: `1341` - // Estimated: `30505` - // Minimum execution time: 54_722_000 picoseconds. - Weight::from_parts(55_742_000, 0) - .saturating_add(Weight::from_parts(0, 30505)) + // Estimated: `4556` + // Minimum execution time: 56_556_000 picoseconds. + Weight::from_parts(57_220_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -217,12 +229,12 @@ impl pallet_staking::WeightInfo for WeightInfo { fn kick(k: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1306 + k * (823 ±0)` - // Estimated: `5546 + k * (3289 ±0)` - // Minimum execution time: 29_931_000 picoseconds. - Weight::from_parts(25_215_408, 0) - .saturating_add(Weight::from_parts(0, 5546)) - // Standard Error: 10_792 - .saturating_add(Weight::from_parts(8_187_563, 0).saturating_mul(k.into())) + // Estimated: `4556 + k * (3289 ±0)` + // Minimum execution time: 29_533_000 picoseconds. + Weight::from_parts(25_748_941, 0) + .saturating_add(Weight::from_parts(0, 4556)) + // Standard Error: 8_071 + .saturating_add(Weight::from_parts(8_317_605, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -254,12 +266,12 @@ impl pallet_staking::WeightInfo for WeightInfo { fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1907 + n * (89 ±0)` - // Estimated: `33134 + n * (2520 ±0)` - // Minimum execution time: 63_671_000 picoseconds. - Weight::from_parts(64_987_721, 0) - .saturating_add(Weight::from_parts(0, 33134)) - // Standard Error: 14_470 - .saturating_add(Weight::from_parts(2_913_561, 0).saturating_mul(n.into())) + // Estimated: `6248 + n * (2520 ±0)` + // Minimum execution time: 64_490_000 picoseconds. + Weight::from_parts(65_180_288, 0) + .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 14_245 + .saturating_add(Weight::from_parts(2_916_284, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -282,10 +294,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn chill() -> Weight { // Proof Size summary in bytes: // Measured: `1671` - // Estimated: `25118` - // Minimum execution time: 56_988_000 picoseconds. - Weight::from_parts(57_495_000, 0) - .saturating_add(Weight::from_parts(0, 25118)) + // Estimated: `6248` + // Minimum execution time: 57_652_000 picoseconds. + Weight::from_parts(58_292_000, 0) + .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -297,8 +309,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `735` // Estimated: `4556` - // Minimum execution time: 13_932_000 picoseconds. - Weight::from_parts(14_197_000, 0) + // Minimum execution time: 14_387_000 picoseconds. + Weight::from_parts(14_552_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -310,10 +322,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn set_controller() -> Weight { // Proof Size summary in bytes: // Measured: `834` - // Estimated: `11659` - // Minimum execution time: 21_186_000 picoseconds. - Weight::from_parts(21_542_000, 0) - .saturating_add(Weight::from_parts(0, 11659)) + // Estimated: `8122` + // Minimum execution time: 21_482_000 picoseconds. + Weight::from_parts(21_941_000, 0) + .saturating_add(Weight::from_parts(0, 8122)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -323,8 +335,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_260_000 picoseconds. - Weight::from_parts(3_420_000, 0) + // Minimum execution time: 3_383_000 picoseconds. + Weight::from_parts(3_527_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -334,8 +346,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_605_000 picoseconds. - Weight::from_parts(11_826_000, 0) + // Minimum execution time: 11_686_000 picoseconds. + Weight::from_parts(12_074_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -345,8 +357,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_310_000 picoseconds. - Weight::from_parts(11_876_000, 0) + // Minimum execution time: 11_704_000 picoseconds. + Weight::from_parts(11_983_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -356,8 +368,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_317_000 picoseconds. - Weight::from_parts(11_715_000, 0) + // Minimum execution time: 11_829_000 picoseconds. + Weight::from_parts(12_101_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -368,11 +380,11 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_408_000 picoseconds. - Weight::from_parts(3_727_318, 0) + // Minimum execution time: 3_486_000 picoseconds. + Weight::from_parts(3_831_440, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 26 - .saturating_add(Weight::from_parts(10_437, 0).saturating_mul(v.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(10_384, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Staking Bonded (r:1 w:1) @@ -395,6 +407,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Ledger (r:0 w:1) /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:1) @@ -405,13 +419,13 @@ impl pallet_staking::WeightInfo for WeightInfo { fn force_unstake(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1947 + s * (4 ±0)` - // Estimated: `37863 + s * (4 ±0)` - // Minimum execution time: 72_106_000 picoseconds. - Weight::from_parts(75_001_032, 0) - .saturating_add(Weight::from_parts(0, 37863)) - // Standard Error: 2_494 - .saturating_add(Weight::from_parts(1_173_131, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(11)) + // Estimated: `6248 + s * (4 ±0)` + // Minimum execution time: 81_929_000 picoseconds. + Weight::from_parts(86_720_085, 0) + .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 1_829 + .saturating_add(Weight::from_parts(1_180_842, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into())) @@ -423,11 +437,11 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `66572` // Estimated: `70037` - // Minimum execution time: 115_672_000 picoseconds. - Weight::from_parts(926_225_061, 0) + // Minimum execution time: 114_732_000 picoseconds. + Weight::from_parts(900_906_916, 0) .saturating_add(Weight::from_parts(0, 70037)) - // Standard Error: 58_775 - .saturating_add(Weight::from_parts(4_947_596, 0).saturating_mul(s.into())) + // Standard Error: 56_985 + .saturating_add(Weight::from_parts(4_933_668, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -453,17 +467,17 @@ impl pallet_staking::WeightInfo for WeightInfo { fn payout_stakers_dead_controller(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `34175 + n * (149 ±0)` - // Estimated: `88502 + n * (8024 ±0)` - // Minimum execution time: 86_392_000 picoseconds. - Weight::from_parts(78_682_975, 0) - .saturating_add(Weight::from_parts(0, 88502)) - // Standard Error: 14_557 - .saturating_add(Weight::from_parts(27_491_494, 0).saturating_mul(n.into())) + // Estimated: `32387 + n * (2603 ±0)` + // Minimum execution time: 89_810_000 picoseconds. + Weight::from_parts(79_103_052, 0) + .saturating_add(Weight::from_parts(0, 32387)) + // Standard Error: 12_667 + .saturating_add(Weight::from_parts(29_866_847, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 8024).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) } /// Storage: Staking CurrentEra (r:1 w:0) /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -485,26 +499,30 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:513 w:513) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:513 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `n` is `[0, 512]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `61914 + n * (410 ±0)` - // Estimated: `140702 + n * (15906 ±3)` - // Minimum execution time: 103_991_000 picoseconds. - Weight::from_parts(80_018_960, 0) - .saturating_add(Weight::from_parts(0, 140702)) - // Standard Error: 20_611 - .saturating_add(Weight::from_parts(39_332_370, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) + // Estimated: `56105 + n * (3774 ±3)` + // Minimum execution time: 116_007_000 picoseconds. + Weight::from_parts(74_807_058, 0) + .saturating_add(Weight::from_parts(0, 56105)) + // Standard Error: 17_553 + .saturating_add(Weight::from_parts(49_081_924, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 15906).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3774).saturating_mul(n.into())) } /// Storage: Staking Ledger (r:1 w:1) /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) @@ -517,13 +535,13 @@ impl pallet_staking::WeightInfo for WeightInfo { fn rebond(l: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1956 + l * (5 ±0)` - // Estimated: `31431` - // Minimum execution time: 80_158_000 picoseconds. - Weight::from_parts(82_003_260, 0) - .saturating_add(Weight::from_parts(0, 31431)) - // Standard Error: 3_750 - .saturating_add(Weight::from_parts(38_417, 0).saturating_mul(l.into())) - .saturating_add(T::DbWeight::get().reads(9)) + // Estimated: `8877` + // Minimum execution time: 85_816_000 picoseconds. + Weight::from_parts(87_015_652, 0) + .saturating_add(Weight::from_parts(0, 8877)) + // Standard Error: 1_710 + .saturating_add(Weight::from_parts(28_102, 0).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: System Account (r:1 w:1) @@ -548,6 +566,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:1) /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) /// Storage: Staking SpanSlash (r:0 w:100) @@ -556,13 +576,13 @@ impl pallet_staking::WeightInfo for WeightInfo { fn reap_stash(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2217 + s * (4 ±0)` - // Estimated: `42694 + s * (4 ±0)` - // Minimum execution time: 83_082_000 picoseconds. - Weight::from_parts(84_388_993, 0) - .saturating_add(Weight::from_parts(0, 42694)) - // Standard Error: 1_929 - .saturating_add(Weight::from_parts(1_134_719, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(12)) + // Estimated: `6248 + s * (4 ±0)` + // Minimum execution time: 94_760_000 picoseconds. + Weight::from_parts(95_629_703, 0) + .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 1_843 + .saturating_add(Weight::from_parts(1_166_025, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into())) @@ -607,22 +627,22 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + v * (3592 ±0) + n * (714 ±0)` - // Estimated: `452092 + v * (16951 ±0) + n * (13007 ±0)` - // Minimum execution time: 472_916_000 picoseconds. - Weight::from_parts(475_850_000, 0) - .saturating_add(Weight::from_parts(0, 452092)) - // Standard Error: 1_827_919 - .saturating_add(Weight::from_parts(59_004_651, 0).saturating_mul(v.into())) - // Standard Error: 182_142 - .saturating_add(Weight::from_parts(16_220_659, 0).saturating_mul(n.into())) + // Measured: `0 + n * (714 ±0) + v * (3592 ±0)` + // Estimated: `425452 + n * (3566 ±3) + v * (3566 ±38)` + // Minimum execution time: 474_739_000 picoseconds. + Weight::from_parts(476_689_000, 0) + .saturating_add(Weight::from_parts(0, 425452)) + // Standard Error: 1_873_426 + .saturating_add(Weight::from_parts(59_816_500, 0).saturating_mul(v.into())) + // Standard Error: 186_676 + .saturating_add(Weight::from_parts(16_303_018, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(173)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 16951).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 13007).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into())) } /// Storage: VoterList CounterForListNodes (r:1 w:0) /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -646,21 +666,21 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[500, 1000]`. fn get_npos_voters(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3069 + v * (389 ±0) + n * (1161 ±0)` - // Estimated: `433424 + v * (14551 ±0) + n * (12031 ±0)` - // Minimum execution time: 31_166_092_000 picoseconds. - Weight::from_parts(31_458_183_000, 0) - .saturating_add(Weight::from_parts(0, 433424)) - // Standard Error: 343_946 - .saturating_add(Weight::from_parts(4_656_629, 0).saturating_mul(v.into())) - // Standard Error: 343_946 - .saturating_add(Weight::from_parts(3_128_879, 0).saturating_mul(n.into())) + // Measured: `3069 + n * (1161 ±0) + v * (389 ±0)` + // Estimated: `425452 + n * (3566 ±0) + v * (3566 ±0)` + // Minimum execution time: 30_564_146_000 picoseconds. + Weight::from_parts(30_728_963_000, 0) + .saturating_add(Weight::from_parts(0, 425452)) + // Standard Error: 336_327 + .saturating_add(Weight::from_parts(4_530_831, 0).saturating_mul(v.into())) + // Standard Error: 336_327 + .saturating_add(Weight::from_parts(3_125_337, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(168)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 14551).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 12031).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into())) } /// Storage: Staking CounterForValidators (r:1 w:0) /// Proof: Staking CounterForValidators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -672,12 +692,12 @@ impl pallet_staking::WeightInfo for WeightInfo { fn get_npos_targets(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `917 + v * (50 ±0)` - // Estimated: `6532 + v * (2520 ±0)` - // Minimum execution time: 2_231_177_000 picoseconds. - Weight::from_parts(61_363_363, 0) - .saturating_add(Weight::from_parts(0, 6532)) - // Standard Error: 10_349 - .saturating_add(Weight::from_parts(4_459_825, 0).saturating_mul(v.into())) + // Estimated: `3510 + v * (2520 ±0)` + // Minimum execution time: 2_206_013_000 picoseconds. + Weight::from_parts(40_237_775, 0) + .saturating_add(Weight::from_parts(0, 3510)) + // Standard Error: 5_793 + .saturating_add(Weight::from_parts(4_437_197, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -699,8 +719,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_719_000 picoseconds. - Weight::from_parts(6_905_000, 0) + // Minimum execution time: 6_841_000 picoseconds. + Weight::from_parts(7_136_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -720,8 +740,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_100_000 picoseconds. - Weight::from_parts(6_295_000, 0) + // Minimum execution time: 6_510_000 picoseconds. + Weight::from_parts(6_780_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -748,10 +768,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn chill_other() -> Weight { // Proof Size summary in bytes: // Measured: `1794` - // Estimated: `29594` - // Minimum execution time: 69_172_000 picoseconds. - Weight::from_parts(69_612_000, 0) - .saturating_add(Weight::from_parts(0, 29594)) + // Estimated: `6248` + // Minimum execution time: 69_308_000 picoseconds. + Weight::from_parts(70_184_000, 0) + .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -762,10 +782,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn force_apply_min_commission() -> Weight { // Proof Size summary in bytes: // Measured: `627` - // Estimated: `4999` - // Minimum execution time: 12_861_000 picoseconds. - Weight::from_parts(13_158_000, 0) - .saturating_add(Weight::from_parts(0, 4999)) + // Estimated: `3510` + // Minimum execution time: 13_463_000 picoseconds. + Weight::from_parts(13_706_000, 0) + .saturating_add(Weight::from_parts(0, 3510)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -775,8 +795,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_483_000 picoseconds. - Weight::from_parts(3_619_000, 0) + // Minimum execution time: 3_489_000 picoseconds. + Weight::from_parts(3_668_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_timestamp.rs b/runtime/kusama/src/weights/pallet_timestamp.rs index e2f45a0c761f..2c7025e82fb5 100644 --- a/runtime/kusama/src/weights/pallet_timestamp.rs +++ b/runtime/kusama/src/weights/pallet_timestamp.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); @@ -51,20 +53,20 @@ impl pallet_timestamp::WeightInfo for WeightInfo { /// Proof: Babe CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn set() -> Weight { // Proof Size summary in bytes: - // Measured: `345` - // Estimated: `2986` - // Minimum execution time: 9_159_000 picoseconds. - Weight::from_parts(9_663_000, 0) - .saturating_add(Weight::from_parts(0, 2986)) + // Measured: `311` + // Estimated: `1493` + // Minimum execution time: 9_429_000 picoseconds. + Weight::from_parts(9_671_000, 0) + .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `128` + // Measured: `94` // Estimated: `0` - // Minimum execution time: 3_803_000 picoseconds. - Weight::from_parts(4_007_000, 0) + // Minimum execution time: 3_646_000 picoseconds. + Weight::from_parts(3_834_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/kusama/src/weights/pallet_treasury.rs b/runtime/kusama/src/weights/pallet_treasury.rs index fb9fd9fdc0a7..1d1872cc768e 100644 --- a/runtime/kusama/src/weights/pallet_treasury.rs +++ b/runtime/kusama/src/weights/pallet_treasury.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_treasury`. pub struct WeightInfo(PhantomData); @@ -54,10 +56,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { // Proof Size summary in bytes: // Measured: `6` - // Estimated: `3376` - // Minimum execution time: 14_516_000 picoseconds. - Weight::from_parts(14_898_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Estimated: `1887` + // Minimum execution time: 14_692_000 picoseconds. + Weight::from_parts(15_059_000, 0) + .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -69,8 +71,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107` // Estimated: `1489` - // Minimum execution time: 21_971_000 picoseconds. - Weight::from_parts(22_591_000, 0) + // Minimum execution time: 26_358_000 picoseconds. + Weight::from_parts(26_761_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -82,10 +84,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `265` - // Estimated: `7166` - // Minimum execution time: 34_087_000 picoseconds. - Weight::from_parts(34_367_000, 0) - .saturating_add(Weight::from_parts(0, 7166)) + // Estimated: `3593` + // Minimum execution time: 39_586_000 picoseconds. + Weight::from_parts(40_113_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -97,12 +99,12 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `433 + p * (8 ±0)` - // Estimated: `5460` - // Minimum execution time: 9_511_000 picoseconds. - Weight::from_parts(12_247_904, 0) - .saturating_add(Weight::from_parts(0, 5460)) - // Standard Error: 903 - .saturating_add(Weight::from_parts(28_147, 0).saturating_mul(p.into())) + // Estimated: `3573` + // Minimum execution time: 9_225_000 picoseconds. + Weight::from_parts(11_898_418, 0) + .saturating_add(Weight::from_parts(0, 3573)) + // Standard Error: 888 + .saturating_add(Weight::from_parts(30_177, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -112,8 +114,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `90` // Estimated: `1887` - // Minimum execution time: 6_948_000 picoseconds. - Weight::from_parts(7_162_000, 0) + // Minimum execution time: 6_896_000 picoseconds. + Weight::from_parts(7_093_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -133,17 +135,17 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `297 + p * (251 ±0)` - // Estimated: `11359 + p * (7789 ±0)` - // Minimum execution time: 57_179_000 picoseconds. - Weight::from_parts(61_547_634, 0) - .saturating_add(Weight::from_parts(0, 11359)) - // Standard Error: 30_382 - .saturating_add(Weight::from_parts(32_012_031, 0).saturating_mul(p.into())) + // Measured: `264 + p * (251 ±0)` + // Estimated: `3593 + p * (5206 ±0)` + // Minimum execution time: 62_552_000 picoseconds. + Weight::from_parts(65_526_861, 0) + .saturating_add(Weight::from_parts(0, 3593)) + // Standard Error: 20_034 + .saturating_add(Weight::from_parts(37_730_613, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7789).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) } } diff --git a/runtime/kusama/src/weights/pallet_utility.rs b/runtime/kusama/src/weights/pallet_utility.rs index 5640decc0a01..09f560982902 100644 --- a/runtime/kusama/src/weights/pallet_utility.rs +++ b/runtime/kusama/src/weights/pallet_utility.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); @@ -50,18 +52,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_159_000 picoseconds. - Weight::from_parts(13_044_055, 0) + // Minimum execution time: 6_979_000 picoseconds. + Weight::from_parts(15_260_348, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_765 - .saturating_add(Weight::from_parts(4_553_907, 0).saturating_mul(c.into())) + // Standard Error: 6_475 + .saturating_add(Weight::from_parts(4_765_339, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_562_000 picoseconds. - Weight::from_parts(5_752_000, 0) + // Minimum execution time: 5_676_000 picoseconds. + Weight::from_parts(5_766_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -69,18 +71,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_939_000 picoseconds. - Weight::from_parts(16_867_349, 0) + // Minimum execution time: 7_129_000 picoseconds. + Weight::from_parts(8_354_582, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_809 - .saturating_add(Weight::from_parts(4_848_850, 0).saturating_mul(c.into())) + // Standard Error: 2_090 + .saturating_add(Weight::from_parts(5_031_085, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_243_000 picoseconds. - Weight::from_parts(9_507_000, 0) + // Minimum execution time: 9_677_000 picoseconds. + Weight::from_parts(9_857_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -88,10 +90,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_958_000 picoseconds. - Weight::from_parts(14_931_896, 0) + // Minimum execution time: 7_101_000 picoseconds. + Weight::from_parts(8_909_687, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_015 - .saturating_add(Weight::from_parts(4_565_357, 0).saturating_mul(c.into())) + // Standard Error: 2_010 + .saturating_add(Weight::from_parts(4_797_717, 0).saturating_mul(c.into())) } } diff --git a/runtime/kusama/src/weights/pallet_vesting.rs b/runtime/kusama/src/weights/pallet_vesting.rs index 898b1cf0a638..18de6d99961d 100644 --- a/runtime/kusama/src/weights/pallet_vesting.rs +++ b/runtime/kusama/src/weights/pallet_vesting.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_vesting`. pub struct WeightInfo(PhantomData); @@ -49,46 +51,52 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `314 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9286` - // Minimum execution time: 29_916_000 picoseconds. - Weight::from_parts(29_339_698, 0) - .saturating_add(Weight::from_parts(0, 9286)) - // Standard Error: 908 - .saturating_add(Weight::from_parts(42_085, 0).saturating_mul(l.into())) - // Standard Error: 1_617 - .saturating_add(Weight::from_parts(59_635, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4764` + // Minimum execution time: 34_236_000 picoseconds. + Weight::from_parts(33_164_001, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 490 + .saturating_add(Weight::from_parts(41_391, 0).saturating_mul(l.into())) + // Standard Error: 872 + .saturating_add(Weight::from_parts(68_595, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `314 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9286` - // Minimum execution time: 28_994_000 picoseconds. - Weight::from_parts(28_920_073, 0) - .saturating_add(Weight::from_parts(0, 9286)) - // Standard Error: 945 - .saturating_add(Weight::from_parts(36_459, 0).saturating_mul(l.into())) - // Standard Error: 1_682 - .saturating_add(Weight::from_parts(47_574, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4764` + // Minimum execution time: 37_520_000 picoseconds. + Weight::from_parts(37_108_105, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 919 + .saturating_add(Weight::from_parts(32_138, 0).saturating_mul(l.into())) + // Standard Error: 1_635 + .saturating_add(Weight::from_parts(47_195, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -96,21 +104,23 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `417 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 31_776_000 picoseconds. - Weight::from_parts(31_051_512, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 1_014 - .saturating_add(Weight::from_parts(45_683, 0).saturating_mul(l.into())) - // Standard Error: 1_805 - .saturating_add(Weight::from_parts(68_567, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 35_805_000 picoseconds. + Weight::from_parts(35_003_794, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 472 + .saturating_add(Weight::from_parts(42_012, 0).saturating_mul(l.into())) + // Standard Error: 840 + .saturating_add(Weight::from_parts(69_679, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -118,15 +128,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `417 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 31_198_000 picoseconds. - Weight::from_parts(30_371_234, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 1_053 - .saturating_add(Weight::from_parts(46_897, 0).saturating_mul(l.into())) - // Standard Error: 1_874 - .saturating_add(Weight::from_parts(56_085, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 39_517_000 picoseconds. + Weight::from_parts(39_084_170, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 728 + .saturating_add(Weight::from_parts(32_883, 0).saturating_mul(l.into())) + // Standard Error: 1_295 + .saturating_add(Weight::from_parts(41_418, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) @@ -135,20 +145,22 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `488 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 50_336_000 picoseconds. - Weight::from_parts(50_095_582, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 1_723 - .saturating_add(Weight::from_parts(36_719, 0).saturating_mul(l.into())) - // Standard Error: 3_065 - .saturating_add(Weight::from_parts(53_956, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 68_240_000 picoseconds. + Weight::from_parts(71_024_237, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 1_774 + .saturating_add(Weight::from_parts(47_755, 0).saturating_mul(l.into())) + // Standard Error: 3_156 + .saturating_add(Weight::from_parts(105_520, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) @@ -157,26 +169,30 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `591 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `15482` - // Minimum execution time: 51_785_000 picoseconds. - Weight::from_parts(51_785_937, 0) - .saturating_add(Weight::from_parts(0, 15482)) - // Standard Error: 1_668 - .saturating_add(Weight::from_parts(37_557, 0).saturating_mul(l.into())) - // Standard Error: 2_968 - .saturating_add(Weight::from_parts(56_009, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `6196` + // Minimum execution time: 70_320_000 picoseconds. + Weight::from_parts(72_764_211, 0) + .saturating_add(Weight::from_parts(0, 6196)) + // Standard Error: 2_462 + .saturating_add(Weight::from_parts(58_515, 0).saturating_mul(l.into())) + // Standard Error: 4_381 + .saturating_add(Weight::from_parts(98_639, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -184,21 +200,23 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `415 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 32_591_000 picoseconds. - Weight::from_parts(32_031_830, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 873 - .saturating_add(Weight::from_parts(42_198, 0).saturating_mul(l.into())) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(61_400, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 36_998_000 picoseconds. + Weight::from_parts(35_461_370, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 1_549 + .saturating_add(Weight::from_parts(48_190, 0).saturating_mul(l.into())) + // Standard Error: 2_860 + .saturating_add(Weight::from_parts(78_961, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -206,15 +224,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `415 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 32_180_000 picoseconds. - Weight::from_parts(32_258_692, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 940 - .saturating_add(Weight::from_parts(38_939, 0).saturating_mul(l.into())) - // Standard Error: 1_736 - .saturating_add(Weight::from_parts(58_252, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 40_973_000 picoseconds. + Weight::from_parts(39_794_870, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 502 + .saturating_add(Weight::from_parts(43_457, 0).saturating_mul(l.into())) + // Standard Error: 927 + .saturating_add(Weight::from_parts(70_228, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/kusama/src/weights/pallet_whitelist.rs b/runtime/kusama/src/weights/pallet_whitelist.rs index b2f155a91c73..703131784951 100644 --- a/runtime/kusama/src/weights/pallet_whitelist.rs +++ b/runtime/kusama/src/weights/pallet_whitelist.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_whitelist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_whitelist`. pub struct WeightInfo(PhantomData); @@ -51,11 +53,11 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn whitelist_call() -> Weight { // Proof Size summary in bytes: - // Measured: `151` - // Estimated: `7061` - // Minimum execution time: 19_424_000 picoseconds. - Weight::from_parts(19_701_000, 0) - .saturating_add(Weight::from_parts(0, 7061)) + // Measured: `118` + // Estimated: `3556` + // Minimum execution time: 19_547_000 picoseconds. + Weight::from_parts(20_009_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -65,11 +67,11 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn remove_whitelisted_call() -> Weight { // Proof Size summary in bytes: - // Measured: `280` - // Estimated: `7061` - // Minimum execution time: 17_225_000 picoseconds. - Weight::from_parts(18_022_000, 0) - .saturating_add(Weight::from_parts(0, 7061)) + // Measured: `247` + // Estimated: `3556` + // Minimum execution time: 17_349_000 picoseconds. + Weight::from_parts(17_784_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -82,13 +84,13 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 4194294]`. fn dispatch_whitelisted_call(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `356 + n * (1 ±0)` - // Estimated: `10881 + n * (1 ±0)` - // Minimum execution time: 29_224_000 picoseconds. - Weight::from_parts(29_514_000, 0) - .saturating_add(Weight::from_parts(0, 10881)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_195, 0).saturating_mul(n.into())) + // Measured: `323 + n * (1 ±0)` + // Estimated: `3787 + n * (1 ±0)` + // Minimum execution time: 29_783_000 picoseconds. + Weight::from_parts(29_954_000, 0) + .saturating_add(Weight::from_parts(0, 3787)) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_197, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -100,13 +102,13 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 10000]`. fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `280` - // Estimated: `7061` - // Minimum execution time: 21_796_000 picoseconds. - Weight::from_parts(22_483_999, 0) - .saturating_add(Weight::from_parts(0, 7061)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_227, 0).saturating_mul(n.into())) + // Measured: `247` + // Estimated: `3556` + // Minimum execution time: 21_895_000 picoseconds. + Weight::from_parts(22_547_428, 0) + .saturating_add(Weight::from_parts(0, 3556)) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_199, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/kusama/src/weights/pallet_xcm.rs b/runtime/kusama/src/weights/pallet_xcm.rs index 8c7f30348911..b0b74fad33f9 100644 --- a/runtime/kusama/src/weights/pallet_xcm.rs +++ b/runtime/kusama/src/weights/pallet_xcm.rs @@ -17,30 +17,29 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=kusama-dev // --steps=50 // --repeat=20 +// --pallet=pallet_xcm // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json -// --pallet=pallet_xcm -// --chain=kusama-dev // --header=./file_header.txt // --output=./runtime/kusama/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; @@ -48,6 +47,8 @@ use core::marker::PhantomData; /// Weight functions for `pallet_xcm`. pub struct WeightInfo(PhantomData); impl pallet_xcm::WeightInfo for WeightInfo { + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -62,34 +63,34 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3676` - // Minimum execution time: 32_058_000 picoseconds. - Weight::from_parts(32_630_000, 0) + // Minimum execution time: 33_882_000 picoseconds. + Weight::from_parts(34_520_000, 0) .saturating_add(Weight::from_parts(0, 3676)) - .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } fn teleport_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 21_569_000 picoseconds. - Weight::from_parts(21_969_000, 0) + // Minimum execution time: 21_929_000 picoseconds. + Weight::from_parts(22_338_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 20_667_000 picoseconds. - Weight::from_parts(21_006_000, 0) + // Minimum execution time: 21_902_000 picoseconds. + Weight::from_parts(22_199_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_993_000 picoseconds. - Weight::from_parts(10_278_000, 0) + // Minimum execution time: 10_124_000 picoseconds. + Weight::from_parts(10_240_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: XcmPallet SupportedVersion (r:0 w:1) @@ -98,8 +99,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_234_000 picoseconds. - Weight::from_parts(10_498_000, 0) + // Minimum execution time: 10_417_000 picoseconds. + Weight::from_parts(10_755_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -109,8 +110,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_272_000 picoseconds. - Weight::from_parts(3_469_000, 0) + // Minimum execution time: 3_418_000 picoseconds. + Weight::from_parts(3_573_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -118,6 +119,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet QueryCounter (r:1 w:1) /// Proof Skipped: XcmPallet QueryCounter (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -134,14 +137,16 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3676` - // Minimum execution time: 36_157_000 picoseconds. - Weight::from_parts(36_777_000, 0) + // Minimum execution time: 38_909_000 picoseconds. + Weight::from_parts(39_524_000, 0) .saturating_add(Weight::from_parts(0, 3676)) - .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: XcmPallet VersionNotifiers (r:1 w:1) /// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -158,10 +163,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `483` // Estimated: `3948` - // Minimum execution time: 39_613_000 picoseconds. - Weight::from_parts(39_905_000, 0) + // Minimum execution time: 42_228_000 picoseconds. + Weight::from_parts(42_616_000, 0) .saturating_add(Weight::from_parts(0, 3948)) - .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: XcmPallet XcmExecutionSuspended (r:0 w:1) @@ -170,8 +175,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_296_000 picoseconds. - Weight::from_parts(3_485_000, 0) + // Minimum execution time: 3_475_000 picoseconds. + Weight::from_parts(3_617_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -181,8 +186,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `229` // Estimated: `11119` - // Minimum execution time: 16_201_000 picoseconds. - Weight::from_parts(16_681_000, 0) + // Minimum execution time: 16_151_000 picoseconds. + Weight::from_parts(16_682_000, 0) .saturating_add(Weight::from_parts(0, 11119)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -193,8 +198,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `233` // Estimated: `11123` - // Minimum execution time: 16_157_000 picoseconds. - Weight::from_parts(16_674_000, 0) + // Minimum execution time: 16_244_000 picoseconds. + Weight::from_parts(16_570_000, 0) .saturating_add(Weight::from_parts(0, 11123)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -205,13 +210,15 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `243` // Estimated: `13608` - // Minimum execution time: 17_502_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 16_904_000 picoseconds. + Weight::from_parts(17_585_000, 0) .saturating_add(Weight::from_parts(0, 13608)) .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: XcmPallet VersionNotifyTargets (r:2 w:1) /// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -226,10 +233,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281` // Estimated: `6221` - // Minimum execution time: 33_198_000 picoseconds. - Weight::from_parts(33_742_000, 0) + // Minimum execution time: 35_534_000 picoseconds. + Weight::from_parts(36_048_000, 0) .saturating_add(Weight::from_parts(0, 6221)) - .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: XcmPallet VersionNotifyTargets (r:3 w:0) @@ -238,8 +245,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `272` // Estimated: `8687` - // Minimum execution time: 8_989_000 picoseconds. - Weight::from_parts(9_241_000, 0) + // Minimum execution time: 8_878_000 picoseconds. + Weight::from_parts(9_105_000, 0) .saturating_add(Weight::from_parts(0, 8687)) .saturating_add(T::DbWeight::get().reads(3)) } @@ -249,14 +256,16 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `240` // Estimated: `11130` - // Minimum execution time: 16_709_000 picoseconds. - Weight::from_parts(17_237_000, 0) + // Minimum execution time: 16_754_000 picoseconds. + Weight::from_parts(17_201_000, 0) .saturating_add(Weight::from_parts(0, 11130)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: XcmPallet VersionNotifyTargets (r:4 w:2) /// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -271,10 +280,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `285` // Estimated: `11175` - // Minimum execution time: 40_749_000 picoseconds. - Weight::from_parts(41_154_000, 0) + // Minimum execution time: 42_609_000 picoseconds. + Weight::from_parts(43_104_000, 0) .saturating_add(Weight::from_parts(0, 11175)) - .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) } } diff --git a/runtime/kusama/src/weights/runtime_common_auctions.rs b/runtime/kusama/src/weights/runtime_common_auctions.rs index 446383f3966f..e0a80c965983 100644 --- a/runtime/kusama/src/weights/runtime_common_auctions.rs +++ b/runtime/kusama/src/weights/runtime_common_auctions.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::auctions`. pub struct WeightInfo(PhantomData); @@ -52,10 +54,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn new_auction() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `2982` - // Minimum execution time: 11_993_000 picoseconds. - Weight::from_parts(12_236_000, 0) - .saturating_add(Weight::from_parts(0, 2982)) + // Estimated: `1493` + // Minimum execution time: 12_488_000 picoseconds. + Weight::from_parts(12_721_000, 0) + .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,10 +78,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn bid() -> Weight { // Proof Size summary in bytes: // Measured: `661` - // Estimated: `26272` - // Minimum execution time: 67_297_000 picoseconds. - Weight::from_parts(69_648_000, 0) - .saturating_add(Weight::from_parts(0, 26272)) + // Estimated: `6060` + // Minimum execution time: 76_985_000 picoseconds. + Weight::from_parts(80_137_000, 0) + .saturating_add(Weight::from_parts(0, 6060)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -110,10 +112,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `6947662` - // Estimated: `50786970` - // Minimum execution time: 6_214_250_000 picoseconds. - Weight::from_parts(6_357_890_000, 0) - .saturating_add(Weight::from_parts(0, 50786970)) + // Estimated: `15822990` + // Minimum execution time: 6_361_059_000 picoseconds. + Weight::from_parts(6_395_078_000, 0) + .saturating_add(Weight::from_parts(0, 15822990)) .saturating_add(T::DbWeight::get().reads(3688)) .saturating_add(T::DbWeight::get().writes(3683)) } @@ -128,10 +130,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn cancel_auction() -> Weight { // Proof Size summary in bytes: // Measured: `177732` - // Estimated: `16012473` - // Minimum execution time: 4_808_798_000 picoseconds. - Weight::from_parts(4_914_429_000, 0) - .saturating_add(Weight::from_parts(0, 16012473)) + // Estimated: `15822990` + // Minimum execution time: 4_884_032_000 picoseconds. + Weight::from_parts(4_964_958_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/runtime/kusama/src/weights/runtime_common_claims.rs b/runtime/kusama/src/weights/runtime_common_claims.rs index 770bf68555d4..db0351f2062a 100644 --- a/runtime/kusama/src/weights/runtime_common_claims.rs +++ b/runtime/kusama/src/weights/runtime_common_claims.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::claims`. pub struct WeightInfo(PhantomData); @@ -59,14 +61,16 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `620` - // Estimated: `27239` - // Minimum execution time: 145_654_000 picoseconds. - Weight::from_parts(148_989_000, 0) - .saturating_add(Weight::from_parts(0, 27239)) - .saturating_add(T::DbWeight::get().reads(7)) + // Estimated: `4764` + // Minimum execution time: 150_481_000 picoseconds. + Weight::from_parts(167_576_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Claims Total (r:1 w:1) @@ -80,10 +84,10 @@ impl runtime_common::claims::WeightInfo for WeightInfo< fn mint_claim() -> Weight { // Proof Size summary in bytes: // Measured: `216` - // Estimated: `2349` - // Minimum execution time: 10_889_000 picoseconds. - Weight::from_parts(11_366_000, 0) - .saturating_add(Weight::from_parts(0, 2349)) + // Estimated: `1701` + // Minimum execution time: 10_875_000 picoseconds. + Weight::from_parts(11_260_000, 0) + .saturating_add(Weight::from_parts(0, 1701)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -101,14 +105,16 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn claim_attest() -> Weight { // Proof Size summary in bytes: // Measured: `620` - // Estimated: `27239` - // Minimum execution time: 149_604_000 picoseconds. - Weight::from_parts(157_491_000, 0) - .saturating_add(Weight::from_parts(0, 27239)) - .saturating_add(T::DbWeight::get().reads(7)) + // Estimated: `4764` + // Minimum execution time: 153_279_000 picoseconds. + Weight::from_parts(155_466_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Claims Preclaims (r:1 w:1) @@ -127,14 +133,16 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn attest() -> Weight { // Proof Size summary in bytes: // Measured: `694` - // Estimated: `31694` - // Minimum execution time: 69_342_000 picoseconds. - Weight::from_parts(75_572_000, 0) - .saturating_add(Weight::from_parts(0, 31694)) - .saturating_add(T::DbWeight::get().reads(8)) + // Estimated: `4764` + // Minimum execution time: 72_886_000 picoseconds. + Weight::from_parts(84_366_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: Claims Claims (r:1 w:2) @@ -148,10 +156,10 @@ impl runtime_common::claims::WeightInfo for WeightInfo< fn move_claim() -> Weight { // Proof Size summary in bytes: // Measured: `440` - // Estimated: `15620` - // Minimum execution time: 21_552_000 picoseconds. - Weight::from_parts(21_994_000, 0) - .saturating_add(Weight::from_parts(0, 15620)) + // Estimated: `3905` + // Minimum execution time: 21_278_000 picoseconds. + Weight::from_parts(21_795_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/runtime/kusama/src/weights/runtime_common_crowdloan.rs b/runtime/kusama/src/weights/runtime_common_crowdloan.rs index 01e32776ea62..37ffcdf2c2cb 100644 --- a/runtime/kusama/src/weights/runtime_common_crowdloan.rs +++ b/runtime/kusama/src/weights/runtime_common_crowdloan.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::crowdloan`. pub struct WeightInfo(PhantomData); @@ -53,15 +55,17 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured) /// Storage: Crowdloan NextFundIndex (r:1 w:1) /// Proof Skipped: Crowdloan NextFundIndex (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `363` - // Estimated: `13332` - // Minimum execution time: 38_745_000 picoseconds. - Weight::from_parts(39_628_000, 0) - .saturating_add(Weight::from_parts(0, 13332)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `415` + // Estimated: `3880` + // Minimum execution time: 49_125_000 picoseconds. + Weight::from_parts(50_337_000, 0) + .saturating_add(Weight::from_parts(0, 3880)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) @@ -81,11 +85,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn contribute() -> Weight { // Proof Size summary in bytes: - // Measured: `375` - // Estimated: `21827` - // Minimum execution time: 116_800_000 picoseconds. - Weight::from_parts(118_160_000, 0) - .saturating_add(Weight::from_parts(0, 21827)) + // Measured: `463` + // Estimated: `3928` + // Minimum execution time: 128_273_000 picoseconds. + Weight::from_parts(130_318_000, 0) + .saturating_add(Weight::from_parts(0, 3928)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -100,10 +104,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `690` - // Estimated: `16007` - // Minimum execution time: 56_476_000 picoseconds. - Weight::from_parts(57_072_000, 0) - .saturating_add(Weight::from_parts(0, 16007)) + // Estimated: `6196` + // Minimum execution time: 72_478_000 picoseconds. + Weight::from_parts(73_735_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -112,13 +116,13 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `k` is `[0, 1000]`. fn refund(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + k * (189 ±0)` - // Estimated: `134 + k * (189 ±0)` - // Minimum execution time: 41_098_000 picoseconds. - Weight::from_parts(54_551_000, 0) - .saturating_add(Weight::from_parts(0, 134)) - // Standard Error: 14_010 - .saturating_add(Weight::from_parts(22_470_363, 0).saturating_mul(k.into())) + // Measured: `128 + k * (189 ±0)` + // Estimated: `141 + k * (189 ±0)` + // Minimum execution time: 40_559_000 picoseconds. + Weight::from_parts(55_414_000, 0) + .saturating_add(Weight::from_parts(0, 141)) + // Standard Error: 19_957 + .saturating_add(Weight::from_parts(38_704_934, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -127,17 +131,17 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) + /// Storage: System Account (r:2 w:2) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn dissolve() -> Weight { // Proof Size summary in bytes: - // Measured: `375` - // Estimated: `7433` - // Minimum execution time: 29_931_000 picoseconds. - Weight::from_parts(31_008_000, 0) - .saturating_add(Weight::from_parts(0, 7433)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `515` + // Estimated: `6196` + // Minimum execution time: 40_738_000 picoseconds. + Weight::from_parts(41_642_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) @@ -145,8 +149,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 18_038_000 picoseconds. - Weight::from_parts(18_767_000, 0) + // Minimum execution time: 17_930_000 picoseconds. + Weight::from_parts(18_801_000, 0) .saturating_add(Weight::from_parts(0, 3700)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,10 +162,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn add_memo() -> Weight { // Proof Size summary in bytes: // Measured: `412` - // Estimated: `7754` - // Minimum execution time: 24_982_000 picoseconds. - Weight::from_parts(25_704_000, 0) - .saturating_add(Weight::from_parts(0, 7754)) + // Estimated: `3877` + // Minimum execution time: 24_949_000 picoseconds. + Weight::from_parts(25_752_000, 0) + .saturating_add(Weight::from_parts(0, 3877)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -172,10 +176,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn poke() -> Weight { // Proof Size summary in bytes: // Measured: `239` - // Estimated: `5428` - // Minimum execution time: 17_226_000 picoseconds. - Weight::from_parts(17_899_000, 0) - .saturating_add(Weight::from_parts(0, 5428)) + // Estimated: `3704` + // Minimum execution time: 17_708_000 picoseconds. + Weight::from_parts(18_216_000, 0) + .saturating_add(Weight::from_parts(0, 3704)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,16 +207,16 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn on_initialize(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `130 + n * (356 ±0)` - // Estimated: `16917 + n * (14348 ±0)` - // Minimum execution time: 108_411_000 picoseconds. - Weight::from_parts(109_758_000, 0) - .saturating_add(Weight::from_parts(0, 16917)) - // Standard Error: 51_868 - .saturating_add(Weight::from_parts(48_608_412, 0).saturating_mul(n.into())) + // Estimated: `5385 + n * (2832 ±0)` + // Minimum execution time: 128_669_000 picoseconds. + Weight::from_parts(130_198_000, 0) + .saturating_add(Weight::from_parts(0, 5385)) + // Standard Error: 58_196 + .saturating_add(Weight::from_parts(59_962_432, 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)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 14348).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2832).saturating_mul(n.into())) } } diff --git a/runtime/kusama/src/weights/runtime_common_paras_registrar.rs b/runtime/kusama/src/weights/runtime_common_paras_registrar.rs index 4c9f8325e0fe..ca9ca4cc09eb 100644 --- a/runtime/kusama/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/kusama/src/weights/runtime_common_paras_registrar.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::paras_registrar`. pub struct WeightInfo(PhantomData); @@ -54,10 +56,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn reserve() -> Weight { // Proof Size summary in bytes: // Measured: `70` - // Estimated: `8625` - // Minimum execution time: 24_916_000 picoseconds. - Weight::from_parts(25_518_000, 0) - .saturating_add(Weight::from_parts(0, 8625)) + // Estimated: `3535` + // Minimum execution time: 29_547_000 picoseconds. + Weight::from_parts(29_913_000, 0) + .saturating_add(Weight::from_parts(0, 3535)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -82,10 +84,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn register() -> Weight { // Proof Size summary in bytes: // Measured: `270` - // Estimated: `24705` - // Minimum execution time: 6_318_888_000 picoseconds. - Weight::from_parts(6_402_988_000, 0) - .saturating_add(Weight::from_parts(0, 24705)) + // Estimated: `3735` + // Minimum execution time: 6_332_415_000 picoseconds. + Weight::from_parts(6_403_095_000, 0) + .saturating_add(Weight::from_parts(0, 3735)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -110,10 +112,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn force_register() -> Weight { // Proof Size summary in bytes: // Measured: `160` - // Estimated: `23715` - // Minimum execution time: 6_283_567_000 picoseconds. - Weight::from_parts(6_439_879_000, 0) - .saturating_add(Weight::from_parts(0, 23715)) + // Estimated: `3625` + // Minimum execution time: 6_304_074_000 picoseconds. + Weight::from_parts(6_374_116_000, 0) + .saturating_add(Weight::from_parts(0, 3625)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -132,10 +134,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn deregister() -> Weight { // Proof Size summary in bytes: // Measured: `435` - // Estimated: `17955` - // Minimum execution time: 40_641_000 picoseconds. - Weight::from_parts(41_347_000, 0) - .saturating_add(Weight::from_parts(0, 17955)) + // Estimated: `3900` + // Minimum execution time: 45_612_000 picoseconds. + Weight::from_parts(46_877_000, 0) + .saturating_add(Weight::from_parts(0, 3900)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -156,10 +158,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn swap() -> Weight { // Proof Size summary in bytes: // Measured: `676` - // Estimated: `34432` - // Minimum execution time: 46_671_000 picoseconds. - Weight::from_parts(47_756_000, 0) - .saturating_add(Weight::from_parts(0, 34432)) + // Estimated: `6616` + // Minimum execution time: 47_750_000 picoseconds. + Weight::from_parts(50_567_000, 0) + .saturating_add(Weight::from_parts(0, 6616)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -187,12 +189,12 @@ impl runtime_common::paras_registrar::WeightInfo for We fn schedule_code_upgrade(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `25525` - // Minimum execution time: 38_256_000 picoseconds. - Weight::from_parts(38_387_000, 0) - .saturating_add(Weight::from_parts(0, 25525)) + // Estimated: `3493` + // Minimum execution time: 39_204_000 picoseconds. + Weight::from_parts(39_509_000, 0) + .saturating_add(Weight::from_parts(0, 3493)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_973, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_951, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -203,11 +205,11 @@ impl runtime_common::paras_registrar::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_081_000 picoseconds. - Weight::from_parts(9_232_000, 0) + // Minimum execution time: 9_233_000 picoseconds. + Weight::from_parts(9_317_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(870, 0).saturating_mul(b.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(856, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/kusama/src/weights/runtime_common_slots.rs b/runtime/kusama/src/weights/runtime_common_slots.rs index 3150976672c9..c218d1f38b97 100644 --- a/runtime/kusama/src/weights/runtime_common_slots.rs +++ b/runtime/kusama/src/weights/runtime_common_slots.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::slots`. pub struct WeightInfo(PhantomData); @@ -52,10 +54,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `220` - // Estimated: `7278` - // Minimum execution time: 25_623_000 picoseconds. - Weight::from_parts(26_120_000, 0) - .saturating_add(Weight::from_parts(0, 7278)) + // Estimated: `3685` + // Minimum execution time: 29_423_000 picoseconds. + Weight::from_parts(30_136_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,22 +78,22 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `9 + c * (47 ±0) + t * (308 ±0)` - // Estimated: `7999 + c * (2781 ±0) + t * (9308 ±0)` - // Minimum execution time: 630_879_000 picoseconds. - Weight::from_parts(638_193_000, 0) - .saturating_add(Weight::from_parts(0, 7999)) - // Standard Error: 81_763 - .saturating_add(Weight::from_parts(2_702_321, 0).saturating_mul(c.into())) - // Standard Error: 81_763 - .saturating_add(Weight::from_parts(11_634_633, 0).saturating_mul(t.into())) + // Estimated: `2786 + c * (2526 ±0) + t * (2789 ±0)` + // Minimum execution time: 649_587_000 picoseconds. + Weight::from_parts(656_654_000, 0) + .saturating_add(Weight::from_parts(0, 2786)) + // Standard Error: 81_802 + .saturating_add(Weight::from_parts(2_619_750, 0).saturating_mul(c.into())) + // Standard Error: 81_802 + .saturating_add(Weight::from_parts(11_410_153, 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((3_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2781).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 9308).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2526).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2789).saturating_mul(t.into())) } /// Storage: Slots Leases (r:1 w:1) /// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured) @@ -100,10 +102,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `2692` - // Estimated: `27971` - // Minimum execution time: 96_214_000 picoseconds. - Weight::from_parts(97_599_000, 0) - .saturating_add(Weight::from_parts(0, 27971)) + // Estimated: `21814` + // Minimum execution time: 126_621_000 picoseconds. + Weight::from_parts(128_276_000, 0) + .saturating_add(Weight::from_parts(0, 21814)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -120,10 +122,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `580` - // Estimated: `18245` - // Minimum execution time: 29_910_000 picoseconds. - Weight::from_parts(30_542_000, 0) - .saturating_add(Weight::from_parts(0, 18245)) + // Estimated: `4045` + // Minimum execution time: 26_888_000 picoseconds. + Weight::from_parts(27_688_000, 0) + .saturating_add(Weight::from_parts(0, 4045)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_configuration.rs b/runtime/kusama/src/weights/runtime_parachains_configuration.rs index d5344bc8ea26..109cbcce1a8d 100644 --- a/runtime/kusama/src/weights/runtime_parachains_configuration.rs +++ b/runtime/kusama/src/weights/runtime_parachains_configuration.rs @@ -13,36 +13,36 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=kusama-dev // --steps=50 // --repeat=20 +// --pallet=runtime_parachains::configuration // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json -// --pallet=runtime_parachains::configuration -// --chain=kusama-dev // --header=./file_header.txt -// --output=./runtime/kusama/src/weights/ +// --output=./runtime/kusama/src/weights/runtime_parachains_configuration.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::configuration`. pub struct WeightInfo(PhantomData); @@ -56,10 +56,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `4725` - // Minimum execution time: 9_394_000 picoseconds. - Weight::from_parts(9_686_000, 0) - .saturating_add(Weight::from_parts(0, 4725)) + // Estimated: `1575` + // Minimum execution time: 9_482_000 picoseconds. + Weight::from_parts(9_845_000, 0) + .saturating_add(Weight::from_parts(0, 1575)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -72,10 +72,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `4725` - // Minimum execution time: 9_379_000 picoseconds. - Weight::from_parts(9_700_000, 0) - .saturating_add(Weight::from_parts(0, 4725)) + // Estimated: `1575` + // Minimum execution time: 9_689_000 picoseconds. + Weight::from_parts(9_960_000, 0) + .saturating_add(Weight::from_parts(0, 1575)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,10 +88,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_option_u32() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `4725` - // Minimum execution time: 9_612_000 picoseconds. - Weight::from_parts(16_194_000, 0) - .saturating_add(Weight::from_parts(0, 4725)) + // Estimated: `1575` + // Minimum execution time: 9_523_000 picoseconds. + Weight::from_parts(9_736_000, 0) + .saturating_add(Weight::from_parts(0, 1575)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -104,10 +104,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `4725` - // Minimum execution time: 9_533_000 picoseconds. - Weight::from_parts(9_745_000, 0) - .saturating_add(Weight::from_parts(0, 4725)) + // Estimated: `1575` + // Minimum execution time: 9_443_000 picoseconds. + Weight::from_parts(9_679_000, 0) + .saturating_add(Weight::from_parts(0, 1575)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -130,10 +130,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_balance() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `4725` - // Minimum execution time: 9_463_000 picoseconds. - Weight::from_parts(9_852_000, 0) - .saturating_add(Weight::from_parts(0, 4725)) + // Estimated: `1575` + // Minimum execution time: 9_460_000 picoseconds. + Weight::from_parts(9_716_000, 0) + .saturating_add(Weight::from_parts(0, 1575)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -146,10 +146,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_executor_params() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `4725` - // Minimum execution time: 10_405_000 picoseconds. - Weight::from_parts(10_693_000, 0) - .saturating_add(Weight::from_parts(0, 4725)) + // Estimated: `1575` + // Minimum execution time: 10_279_000 picoseconds. + Weight::from_parts(10_615_000, 0) + .saturating_add(Weight::from_parts(0, 1575)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_disputes.rs b/runtime/kusama/src/weights/runtime_parachains_disputes.rs index b9daf35fc0a2..648391321564 100644 --- a/runtime/kusama/src/weights/runtime_parachains_disputes.rs +++ b/runtime/kusama/src/weights/runtime_parachains_disputes.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::disputes`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl runtime_parachains::disputes::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_908_000 picoseconds. - Weight::from_parts(3_045_000, 0) + // Minimum execution time: 3_098_000 picoseconds. + Weight::from_parts(3_256_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_disputes_slashing.rs b/runtime/kusama/src/weights/runtime_parachains_disputes_slashing.rs index 07cec1aa360f..3562a42ed941 100644 --- a/runtime/kusama/src/weights/runtime_parachains_disputes_slashing.rs +++ b/runtime/kusama/src/weights/runtime_parachains_disputes_slashing.rs @@ -13,36 +13,36 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::disputes::slashing` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=kusama-dev // --steps=50 // --repeat=20 +// --pallet=runtime_parachains::disputes::slashing // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json -// --pallet=runtime_parachains::disputes::slashing -// --chain=kusama-dev // --header=./file_header.txt -// --output=./runtime/kusama/src/weights/ +// --output=./runtime/kusama/src/weights/runtime_parachains_disputes_slashing.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::disputes::slashing`. pub struct WeightInfo(PhantomData); @@ -55,8 +55,6 @@ impl runtime_parachains::disputes::slashing::WeightInfo /// Proof Skipped: ParaSessionInfo Sessions (max_values: None, max_size: None, mode: Measured) /// Storage: ParasSlashing UnappliedSlashes (r:1 w:1) /// Proof Skipped: ParasSlashing UnappliedSlashes (max_values: None, max_size: None, mode: Measured) - /// Storage: Offences ReportsByKindIndex (r:1 w:1) - /// Proof Skipped: Offences ReportsByKindIndex (max_values: None, max_size: None, mode: Measured) /// Storage: Offences ConcurrentReportsIndex (r:1 w:1) /// Proof Skipped: Offences ConcurrentReportsIndex (max_values: None, max_size: None, mode: Measured) /// Storage: Offences Reports (r:1 w:1) @@ -88,15 +86,15 @@ impl runtime_parachains::disputes::slashing::WeightInfo /// The range of component `n` is `[4, 1000]`. fn report_dispute_lost(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `5724 + n * (284 ±0)` - // Estimated: `106621 + n * (3726 ±0)` - // Minimum execution time: 117_366_000 picoseconds. - Weight::from_parts(141_256_413, 0) - .saturating_add(Weight::from_parts(0, 106621)) - // Standard Error: 2_293 - .saturating_add(Weight::from_parts(290_124, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(19)) - .saturating_add(T::DbWeight::get().writes(11)) - .saturating_add(Weight::from_parts(0, 3726).saturating_mul(n.into())) + // Measured: `5647 + n * (284 ±0)` + // Estimated: `8857 + n * (288 ±0)` + // Minimum execution time: 114_131_000 picoseconds. + Weight::from_parts(136_092_746, 0) + .saturating_add(Weight::from_parts(0, 8857)) + // Standard Error: 2_265 + .saturating_add(Weight::from_parts(288_810, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(18)) + .saturating_add(T::DbWeight::get().writes(10)) + .saturating_add(Weight::from_parts(0, 288).saturating_mul(n.into())) } } diff --git a/runtime/kusama/src/weights/runtime_parachains_hrmp.rs b/runtime/kusama/src/weights/runtime_parachains_hrmp.rs index 61d7d0e3765a..7f9e219ba10f 100644 --- a/runtime/kusama/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/kusama/src/weights/runtime_parachains_hrmp.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::hrmp`. pub struct WeightInfo(PhantomData); @@ -64,10 +66,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_init_open_channel() -> Weight { // Proof Size summary in bytes: // Measured: `350` - // Estimated: `31015` - // Minimum execution time: 36_600_000 picoseconds. - Weight::from_parts(37_059_000, 0) - .saturating_add(Weight::from_parts(0, 31015)) + // Estimated: `6290` + // Minimum execution time: 38_178_000 picoseconds. + Weight::from_parts(38_781_000, 0) + .saturating_add(Weight::from_parts(0, 6290)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -86,10 +88,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_accept_open_channel() -> Weight { // Proof Size summary in bytes: // Measured: `582` - // Estimated: `24282` - // Minimum execution time: 39_338_000 picoseconds. - Weight::from_parts(39_683_000, 0) - .saturating_add(Weight::from_parts(0, 24282)) + // Estimated: `4047` + // Minimum execution time: 37_341_000 picoseconds. + Weight::from_parts(37_972_000, 0) + .saturating_add(Weight::from_parts(0, 4047)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -106,10 +108,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_close_channel() -> Weight { // Proof Size summary in bytes: // Measured: `453` - // Estimated: `17610` - // Minimum execution time: 33_003_000 picoseconds. - Weight::from_parts(33_497_000, 0) - .saturating_add(Weight::from_parts(0, 17610)) + // Estimated: `3918` + // Minimum execution time: 33_129_000 picoseconds. + Weight::from_parts(33_746_000, 0) + .saturating_add(Weight::from_parts(0, 3918)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -129,23 +131,23 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `197 + i * (100 ±0) + e * (100 ±0)` - // Estimated: `9084 + i * (5550 ±0) + e * (5550 ±0)` - // Minimum execution time: 1_069_168_000 picoseconds. - Weight::from_parts(1_080_360_000, 0) - .saturating_add(Weight::from_parts(0, 9084)) - // Standard Error: 96_878 - .saturating_add(Weight::from_parts(3_125_436, 0).saturating_mul(i.into())) - // Standard Error: 96_878 - .saturating_add(Weight::from_parts(3_120_319, 0).saturating_mul(e.into())) + // Measured: `197 + e * (100 ±0) + i * (100 ±0)` + // Estimated: `3659 + e * (2575 ±0) + i * (2575 ±0)` + // Minimum execution time: 1_092_709_000 picoseconds. + Weight::from_parts(1_107_686_000, 0) + .saturating_add(Weight::from_parts(0, 3659)) + // Standard Error: 100_266 + .saturating_add(Weight::from_parts(3_174_242, 0).saturating_mul(i.into())) + // Standard Error: 100_266 + .saturating_add(Weight::from_parts(3_333_814, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5550).saturating_mul(i.into())) - .saturating_add(Weight::from_parts(0, 5550).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2575).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2575).saturating_mul(i.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -167,17 +169,17 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_open(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `425 + c * (136 ±0)` - // Estimated: `10753 + c * (18413 ±0)` - // Minimum execution time: 7_019_000 picoseconds. - Weight::from_parts(3_329_027, 0) - .saturating_add(Weight::from_parts(0, 10753)) - // Standard Error: 19_293 - .saturating_add(Weight::from_parts(18_922_500, 0).saturating_mul(c.into())) + // Estimated: `1880 + c * (5086 ±0)` + // Minimum execution time: 7_319_000 picoseconds. + Weight::from_parts(4_516_472, 0) + .saturating_add(Weight::from_parts(0, 1880)) + // Standard Error: 14_344 + .saturating_add(Weight::from_parts(18_856_807, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 18413).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5086).saturating_mul(c.into())) } /// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -195,17 +197,17 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_close(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `268 + c * (124 ±0)` - // Estimated: `5973 + c * (8175 ±0)` - // Minimum execution time: 5_563_000 picoseconds. - Weight::from_parts(3_789_883, 0) - .saturating_add(Weight::from_parts(0, 5973)) - // Standard Error: 14_257 - .saturating_add(Weight::from_parts(11_414_412, 0).saturating_mul(c.into())) + // Estimated: `1728 + c * (2600 ±0)` + // Minimum execution time: 5_815_000 picoseconds. + Weight::from_parts(2_546_765, 0) + .saturating_add(Weight::from_parts(0, 1728)) + // Standard Error: 10_317 + .saturating_add(Weight::from_parts(11_604_007, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 8175).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2600).saturating_mul(c.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -217,15 +219,15 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_cancel_open_request(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `959 + c * (13 ±0)` - // Estimated: `10704 + c * (45 ±0)` - // Minimum execution time: 20_994_000 picoseconds. - Weight::from_parts(25_773_807, 0) - .saturating_add(Weight::from_parts(0, 10704)) - // Standard Error: 1_554 - .saturating_add(Weight::from_parts(79_758, 0).saturating_mul(c.into())) + // Estimated: `4228 + c * (15 ±0)` + // Minimum execution time: 21_865_000 picoseconds. + Weight::from_parts(26_301_513, 0) + .saturating_add(Weight::from_parts(0, 4228)) + // Standard Error: 1_461 + .saturating_add(Weight::from_parts(79_436, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 45).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 15).saturating_mul(c.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -235,17 +237,17 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn clean_open_channel_requests(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `176 + c * (63 ±0)` - // Estimated: `2821 + c * (2602 ±0)` - // Minimum execution time: 4_414_000 picoseconds. - Weight::from_parts(4_215_377, 0) - .saturating_add(Weight::from_parts(0, 2821)) - // Standard Error: 3_931 - .saturating_add(Weight::from_parts(3_107_864, 0).saturating_mul(c.into())) + // Estimated: `1655 + c * (2538 ±0)` + // Minimum execution time: 4_216_000 picoseconds. + Weight::from_parts(3_749_377, 0) + .saturating_add(Weight::from_parts(0, 1655)) + // Standard Error: 2_994 + .saturating_add(Weight::from_parts(3_163_255, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2602).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2538).saturating_mul(c.into())) } /// Storage: Paras ParaLifecycles (r:2 w:0) /// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured) @@ -270,10 +272,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_open_hrmp_channel() -> Weight { // Proof Size summary in bytes: // Measured: `350` - // Estimated: `43595` - // Minimum execution time: 51_336_000 picoseconds. - Weight::from_parts(51_833_000, 0) - .saturating_add(Weight::from_parts(0, 43595)) + // Estimated: `6290` + // Minimum execution time: 52_161_000 picoseconds. + Weight::from_parts(52_599_000, 0) + .saturating_add(Weight::from_parts(0, 6290)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(8)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_initializer.rs b/runtime/kusama/src/weights/runtime_parachains_initializer.rs index 6fd49d3f4273..487ce7e8d2f6 100644 --- a/runtime/kusama/src/weights/runtime_parachains_initializer.rs +++ b/runtime/kusama/src/weights/runtime_parachains_initializer.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::initializer`. pub struct WeightInfo(PhantomData); @@ -52,11 +54,11 @@ impl runtime_parachains::initializer::WeightInfo for We // Proof Size summary in bytes: // Measured: `0 + d * (11 ±0)` // Estimated: `1480 + d * (11 ±0)` - // Minimum execution time: 3_910_000 picoseconds. - Weight::from_parts(6_817_637, 0) + // Minimum execution time: 4_069_000 picoseconds. + Weight::from_parts(6_582_960, 0) .saturating_add(Weight::from_parts(0, 1480)) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_287, 0).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(1_316, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 11).saturating_mul(d.into())) diff --git a/runtime/kusama/src/weights/runtime_parachains_paras.rs b/runtime/kusama/src/weights/runtime_parachains_paras.rs index 548e375fd8f4..afc83c21dc41 100644 --- a/runtime/kusama/src/weights/runtime_parachains_paras.rs +++ b/runtime/kusama/src/weights/runtime_parachains_paras.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::paras`. pub struct WeightInfo(PhantomData); @@ -61,11 +63,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `8309` - // Estimated: `61734` - // Minimum execution time: 31_689_000 picoseconds. - Weight::from_parts(32_304_000, 0) - .saturating_add(Weight::from_parts(0, 61734)) - // Standard Error: 1 + // Estimated: `11774` + // Minimum execution time: 31_454_000 picoseconds. + Weight::from_parts(31_826_000, 0) + .saturating_add(Weight::from_parts(0, 11774)) + // Standard Error: 3 .saturating_add(Weight::from_parts(1_953, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) @@ -77,11 +79,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_257_000 picoseconds. - Weight::from_parts(8_433_000, 0) + // Minimum execution time: 8_749_000 picoseconds. + Weight::from_parts(8_953_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(868, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(857, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Paras FutureCodeHash (r:1 w:1) @@ -108,12 +110,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_schedule_code_upgrade(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `16462` - // Estimated: `186400` - // Minimum execution time: 56_247_000 picoseconds. - Weight::from_parts(56_549_000, 0) - .saturating_add(Weight::from_parts(0, 186400)) + // Estimated: `19927` + // Minimum execution time: 55_906_000 picoseconds. + Weight::from_parts(56_178_000, 0) + .saturating_add(Weight::from_parts(0, 19927)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_984, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_967, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -127,12 +129,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `95` - // Estimated: `3750` - // Minimum execution time: 13_546_000 picoseconds. - Weight::from_parts(13_706_000, 0) - .saturating_add(Weight::from_parts(0, 3750)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(860, 0).saturating_mul(s.into())) + // Estimated: `3560` + // Minimum execution time: 13_961_000 picoseconds. + Weight::from_parts(14_114_000, 0) + .saturating_add(Weight::from_parts(0, 3560)) + // Standard Error: 2 + .saturating_add(Weight::from_parts(858, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -143,10 +145,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_queue_action() -> Weight { // Proof Size summary in bytes: // Measured: `4251` - // Estimated: `13452` - // Minimum execution time: 18_545_000 picoseconds. - Weight::from_parts(19_736_000, 0) - .saturating_add(Weight::from_parts(0, 13452)) + // Estimated: `7716` + // Minimum execution time: 20_280_000 picoseconds. + Weight::from_parts(20_641_000, 0) + .saturating_add(Weight::from_parts(0, 7716)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -158,12 +160,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn add_trusted_validation_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `6986` - // Minimum execution time: 7_917_000 picoseconds. - Weight::from_parts(8_117_000, 0) - .saturating_add(Weight::from_parts(0, 6986)) + // Estimated: `3493` + // Minimum execution time: 8_193_000 picoseconds. + Weight::from_parts(8_317_000, 0) + .saturating_add(Weight::from_parts(0, 3493)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_970, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_948, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,10 +176,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn poke_unused_validation_code() -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `3521` - // Minimum execution time: 5_680_000 picoseconds. - Weight::from_parts(5_933_000, 0) - .saturating_add(Weight::from_parts(0, 3521)) + // Estimated: `3493` + // Minimum execution time: 6_072_000 picoseconds. + Weight::from_parts(6_224_000, 0) + .saturating_add(Weight::from_parts(0, 3493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,10 +192,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn include_pvf_check_statement() -> Weight { // Proof Size summary in bytes: // Measured: `26645` - // Estimated: `86370` - // Minimum execution time: 88_543_000 picoseconds. - Weight::from_parts(90_632_000, 0) - .saturating_add(Weight::from_parts(0, 86370)) + // Estimated: `30110` + // Minimum execution time: 89_474_000 picoseconds. + Weight::from_parts(90_579_000, 0) + .saturating_add(Weight::from_parts(0, 30110)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -214,10 +216,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { // Proof Size summary in bytes: // Measured: `27199` - // Estimated: `201283` - // Minimum execution time: 766_572_000 picoseconds. - Weight::from_parts(775_372_000, 0) - .saturating_add(Weight::from_parts(0, 201283)) + // Estimated: `30664` + // Minimum execution time: 783_434_000 picoseconds. + Weight::from_parts(789_541_000, 0) + .saturating_add(Weight::from_parts(0, 30664)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(104)) } @@ -230,10 +232,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { // Proof Size summary in bytes: // Measured: `27177` - // Estimated: `87966` - // Minimum execution time: 87_380_000 picoseconds. - Weight::from_parts(88_804_000, 0) - .saturating_add(Weight::from_parts(0, 87966)) + // Estimated: `30642` + // Minimum execution time: 87_212_000 picoseconds. + Weight::from_parts(89_108_000, 0) + .saturating_add(Weight::from_parts(0, 30642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -250,10 +252,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { // Proof Size summary in bytes: // Measured: `26667` - // Estimated: `144720` - // Minimum execution time: 599_249_000 picoseconds. - Weight::from_parts(607_707_000, 0) - .saturating_add(Weight::from_parts(0, 144720)) + // Estimated: `30132` + // Minimum execution time: 624_548_000 picoseconds. + Weight::from_parts(628_911_000, 0) + .saturating_add(Weight::from_parts(0, 30132)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -266,10 +268,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { // Proof Size summary in bytes: // Measured: `26645` - // Estimated: `86370` - // Minimum execution time: 87_013_000 picoseconds. - Weight::from_parts(88_543_000, 0) - .saturating_add(Weight::from_parts(0, 86370)) + // Estimated: `30110` + // Minimum execution time: 86_738_000 picoseconds. + Weight::from_parts(87_816_000, 0) + .saturating_add(Weight::from_parts(0, 30110)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs b/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs index cf7822b057a2..a93e791fc7a4 100644 --- a/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::paras_inherent`. pub struct WeightInfo(PhantomData); @@ -83,6 +85,8 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured) /// Storage: Dmp DownwardMessageQueues (r:1 w:1) /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:1) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: Hrmp HrmpChannelDigests (r:1 w:1) /// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured) /// Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -110,15 +114,15 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `50748` - // Estimated: `1483464 + v * (23 ±0)` - // Minimum execution time: 769_729_000 picoseconds. - Weight::from_parts(297_815_591, 0) - .saturating_add(Weight::from_parts(0, 1483464)) - // Standard Error: 29_486 - .saturating_add(Weight::from_parts(48_796_195, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(28)) - .saturating_add(T::DbWeight::get().writes(16)) + // Measured: `50714` + // Estimated: `56654 + v * (23 ±0)` + // Minimum execution time: 776_993_000 picoseconds. + Weight::from_parts(309_276_006, 0) + .saturating_add(Weight::from_parts(0, 56654)) + // Standard Error: 18_546 + .saturating_add(Weight::from_parts(48_055_492, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(29)) + .saturating_add(T::DbWeight::get().writes(17)) .saturating_add(Weight::from_parts(0, 23).saturating_mul(v.into())) } /// Storage: ParaInherent Included (r:1 w:1) @@ -151,6 +155,8 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured) /// Storage: Dmp DownwardMessageQueues (r:1 w:1) /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:1) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: Hrmp HrmpChannelDigests (r:1 w:1) /// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured) /// Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -183,13 +189,13 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Paras UpgradeGoAheadSignal (max_values: None, max_size: None, mode: Measured) fn enter_bitfields() -> Weight { // Proof Size summary in bytes: - // Measured: `42582` - // Estimated: `1205232` - // Minimum execution time: 328_321_000 picoseconds. - Weight::from_parts(342_358_000, 0) - .saturating_add(Weight::from_parts(0, 1205232)) - .saturating_add(T::DbWeight::get().reads(26)) - .saturating_add(T::DbWeight::get().writes(17)) + // Measured: `42548` + // Estimated: `48488` + // Minimum execution time: 333_025_000 picoseconds. + Weight::from_parts(358_666_000, 0) + .saturating_add(Weight::from_parts(0, 48488)) + .saturating_add(T::DbWeight::get().reads(27)) + .saturating_add(T::DbWeight::get().writes(18)) } /// Storage: ParaInherent Included (r:1 w:1) /// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured) @@ -221,6 +227,8 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured) /// Storage: Dmp DownwardMessageQueues (r:1 w:1) /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:1) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: Hrmp HrmpChannelDigests (r:1 w:1) /// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured) /// Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -256,15 +264,15 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `42613` - // Estimated: `1258087` - // Minimum execution time: 5_578_743_000 picoseconds. - Weight::from_parts(810_980_132, 0) - .saturating_add(Weight::from_parts(0, 1258087)) - // Standard Error: 53_608 - .saturating_add(Weight::from_parts(48_048_855, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(29)) - .saturating_add(T::DbWeight::get().writes(16)) + // Measured: `42579` + // Estimated: `48519` + // Minimum execution time: 5_556_034_000 picoseconds. + Weight::from_parts(783_738_110, 0) + .saturating_add(Weight::from_parts(0, 48519)) + // Standard Error: 45_125 + .saturating_add(Weight::from_parts(47_609_339, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(30)) + .saturating_add(T::DbWeight::get().writes(17)) } /// Storage: ParaInherent Included (r:1 w:1) /// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured) @@ -296,6 +304,8 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured) /// Storage: Dmp DownwardMessageQueues (r:1 w:1) /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:1) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: Hrmp HrmpChannelDigests (r:1 w:1) /// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured) /// Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -334,12 +344,12 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Paras UpgradeGoAheadSignal (max_values: None, max_size: None, mode: Measured) fn enter_backed_candidate_code_upgrade() -> Weight { // Proof Size summary in bytes: - // Measured: `42640` - // Estimated: `1351053` - // Minimum execution time: 32_728_672_000 picoseconds. - Weight::from_parts(32_934_819_000, 0) - .saturating_add(Weight::from_parts(0, 1351053)) - .saturating_add(T::DbWeight::get().reads(31)) - .saturating_add(T::DbWeight::get().writes(16)) + // Measured: `42606` + // Estimated: `48546` + // Minimum execution time: 32_619_921_000 picoseconds. + Weight::from_parts(32_813_876_000, 0) + .saturating_add(Weight::from_parts(0, 48546)) + .saturating_add(T::DbWeight::get().reads(32)) + .saturating_add(T::DbWeight::get().writes(17)) } } diff --git a/runtime/kusama/src/weights/runtime_parachains_ump.rs b/runtime/kusama/src/weights/runtime_parachains_ump.rs index d9995f789890..fce7c6c3cf22 100644 --- a/runtime/kusama/src/weights/runtime_parachains_ump.rs +++ b/runtime/kusama/src/weights/runtime_parachains_ump.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::ump`. pub struct WeightInfo(PhantomData); @@ -50,11 +52,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_924_000 picoseconds. - Weight::from_parts(6_060_000, 0) + // Minimum execution time: 5_945_000 picoseconds. + Weight::from_parts(6_047_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 8 - .saturating_add(Weight::from_parts(1_396, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_364, 0).saturating_mul(s.into())) } /// Storage: Ump NeedsDispatch (r:1 w:1) /// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured) @@ -66,11 +68,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo /// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured) fn clean_ump_after_outgoing() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3930` - // Minimum execution time: 9_662_000 picoseconds. - Weight::from_parts(9_886_000, 0) - .saturating_add(Weight::from_parts(0, 3930)) + // Measured: `206` + // Estimated: `1691` + // Minimum execution time: 9_308_000 picoseconds. + Weight::from_parts(9_501_000, 0) + .saturating_add(Weight::from_parts(0, 1691)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -80,11 +82,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo /// Proof: Ump CounterForOverweight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn service_overweight() -> Weight { // Proof Size summary in bytes: - // Measured: `257` - // Estimated: `5211` - // Minimum execution time: 23_481_000 picoseconds. - Weight::from_parts(23_896_000, 0) - .saturating_add(Weight::from_parts(0, 5211)) + // Measured: `223` + // Estimated: `3688` + // Minimum execution time: 23_650_000 picoseconds. + Weight::from_parts(23_963_000, 0) + .saturating_add(Weight::from_parts(0, 3688)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/polkadot/constants/src/weights/block_weights.rs b/runtime/polkadot/constants/src/weights/block_weights.rs index d3b95fd0436a..4fab42662313 100644 --- a/runtime/polkadot/constants/src/weights/block_weights.rs +++ b/runtime/polkadot/constants/src/weights/block_weights.rs @@ -13,9 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16 (Y/M/D) -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2023-04-28 (Y/M/D) +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` @@ -42,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 5_934_436, 6_171_262 - /// Average: 6_010_063 - /// Median: 6_003_352 - /// Std-Dev: 49111.71 + /// Min, Max: 3_364_185, 3_544_830 + /// Average: 3_427_584 + /// Median: 3_414_329 + /// Std-Dev: 51775.25 /// /// Percentiles nanoseconds: - /// 99th: 6_158_194 - /// 95th: 6_093_234 - /// 75th: 6_031_680 + /// 99th: 3_541_964 + /// 95th: 3_517_661 + /// 75th: 3_471_477 pub const BlockExecutionWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(6_010_063), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(3_427_584), 0); } #[cfg(test)] diff --git a/runtime/polkadot/constants/src/weights/extrinsic_weights.rs b/runtime/polkadot/constants/src/weights/extrinsic_weights.rs index 1427ec3a6d04..d64e12c24476 100644 --- a/runtime/polkadot/constants/src/weights/extrinsic_weights.rs +++ b/runtime/polkadot/constants/src/weights/extrinsic_weights.rs @@ -13,9 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16 (Y/M/D) -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2023-04-28 (Y/M/D) +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` @@ -42,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 103_764, 105_485 - /// Average: 104_371 - /// Median: 104_324 - /// Std-Dev: 336.27 + /// Min, Max: 108_938, 111_576 + /// Average: 109_763 + /// Median: 109_696 + /// Std-Dev: 418.12 /// /// Percentiles nanoseconds: - /// 99th: 105_475 - /// 95th: 105_028 - /// 75th: 104_509 + /// 99th: 111_301 + /// 95th: 110_411 + /// 75th: 109_904 pub const ExtrinsicBaseWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(104_371), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(109_763), 0); } #[cfg(test)] diff --git a/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs b/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs index 93ea86ddd300..a54c4034d38d 100644 --- a/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `frame_benchmarking::baseline` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `frame_benchmarking::baseline`. pub struct WeightInfo(PhantomData); @@ -50,8 +52,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 158_000 picoseconds. - Weight::from_parts(190_632, 0) + // Minimum execution time: 220_000 picoseconds. + Weight::from_parts(256_996, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -59,8 +61,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 149_000 picoseconds. - Weight::from_parts(183_147, 0) + // Minimum execution time: 205_000 picoseconds. + Weight::from_parts(240_357, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -68,8 +70,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 155_000 picoseconds. - Weight::from_parts(184_117, 0) + // Minimum execution time: 207_000 picoseconds. + Weight::from_parts(244_738, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -77,16 +79,16 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 147_000 picoseconds. - Weight::from_parts(184_827, 0) + // Minimum execution time: 211_000 picoseconds. + Weight::from_parts(240_695, 0) .saturating_add(Weight::from_parts(0, 0)) } fn hashing() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 19_094_522_000 picoseconds. - Weight::from_parts(19_201_969_000, 0) + // Minimum execution time: 19_444_068_000 picoseconds. + Weight::from_parts(19_558_537_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 100]`. @@ -94,10 +96,10 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 183_000 picoseconds. - Weight::from_parts(208_000, 0) + // Minimum execution time: 262_000 picoseconds. + Weight::from_parts(273_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 15_974 - .saturating_add(Weight::from_parts(47_488_580, 0).saturating_mul(i.into())) + // Standard Error: 20_680 + .saturating_add(Weight::from_parts(47_310_424, 0).saturating_mul(i.into())) } } diff --git a/runtime/polkadot/src/weights/frame_election_provider_support.rs b/runtime/polkadot/src/weights/frame_election_provider_support.rs index 85d2eb32d9d0..5f30b19e87b4 100644 --- a/runtime/polkadot/src/weights/frame_election_provider_support.rs +++ b/runtime/polkadot/src/weights/frame_election_provider_support.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `frame_election_provider_support`. pub struct WeightInfo(PhantomData); @@ -52,13 +54,13 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_461_495_000 picoseconds. - Weight::from_parts(6_559_532_000, 0) + // Minimum execution time: 6_502_831_000 picoseconds. + Weight::from_parts(6_551_832_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 142_541 - .saturating_add(Weight::from_parts(6_026_166, 0).saturating_mul(v.into())) - // Standard Error: 14_572_924 - .saturating_add(Weight::from_parts(1_559_650_434, 0).saturating_mul(d.into())) + // Standard Error: 144_812 + .saturating_add(Weight::from_parts(6_023_303, 0).saturating_mul(v.into())) + // Standard Error: 14_805_146 + .saturating_add(Weight::from_parts(1_574_126_847, 0).saturating_mul(d.into())) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. @@ -67,12 +69,12 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_996_008_000 picoseconds. - Weight::from_parts(5_104_368_000, 0) + // Minimum execution time: 4_607_599_000 picoseconds. + Weight::from_parts(4_654_269_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 152_240 - .saturating_add(Weight::from_parts(5_826_469, 0).saturating_mul(v.into())) - // Standard Error: 15_564_500 - .saturating_add(Weight::from_parts(1_803_039_187, 0).saturating_mul(d.into())) + // Standard Error: 127_056 + .saturating_add(Weight::from_parts(5_033_933, 0).saturating_mul(v.into())) + // Standard Error: 12_989_780 + .saturating_add(Weight::from_parts(1_468_999_627, 0).saturating_mul(d.into())) } } diff --git a/runtime/polkadot/src/weights/frame_system.rs b/runtime/polkadot/src/weights/frame_system.rs index f89216458242..2ab4606dd9c0 100644 --- a/runtime/polkadot/src/weights/frame_system.rs +++ b/runtime/polkadot/src/weights/frame_system.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `frame_system`. pub struct WeightInfo(PhantomData); @@ -50,22 +52,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_225_000 picoseconds. - Weight::from_parts(2_343_000, 0) + // Minimum execution time: 2_319_000 picoseconds. + Weight::from_parts(2_419_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(370, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(366, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_417_000 picoseconds. - Weight::from_parts(7_525_000, 0) + // Minimum execution time: 7_650_000 picoseconds. + Weight::from_parts(7_790_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_411, 0).saturating_mul(b.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_407, 0).saturating_mul(b.into())) } /// Storage: System Digest (r:1 w:1) /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) @@ -75,8 +77,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 4_238_000 picoseconds. - Weight::from_parts(4_478_000, 0) + // Minimum execution time: 4_266_000 picoseconds. + Weight::from_parts(4_536_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -88,11 +90,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_260_000 picoseconds. - Weight::from_parts(2_344_000, 0) + // Minimum execution time: 2_358_000 picoseconds. + Weight::from_parts(2_424_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_023 - .saturating_add(Weight::from_parts(676_025, 0).saturating_mul(i.into())) + // Standard Error: 1_974 + .saturating_add(Weight::from_parts(675_819, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -102,11 +104,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_290_000 picoseconds. - Weight::from_parts(2_373_000, 0) + // Minimum execution time: 2_410_000 picoseconds. + Weight::from_parts(2_455_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 810 - .saturating_add(Weight::from_parts(483_622, 0).saturating_mul(i.into())) + // Standard Error: 795 + .saturating_add(Weight::from_parts(488_960, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -114,13 +116,13 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `131 + p * (69 ±0)` - // Estimated: `117 + p * (70 ±0)` - // Minimum execution time: 4_077_000 picoseconds. - Weight::from_parts(4_180_000, 0) - .saturating_add(Weight::from_parts(0, 117)) - // Standard Error: 1_286 - .saturating_add(Weight::from_parts(1_029_769, 0).saturating_mul(p.into())) + // Measured: `130 + p * (69 ±0)` + // Estimated: `124 + p * (70 ±0)` + // Minimum execution time: 4_148_000 picoseconds. + Weight::from_parts(4_247_000, 0) + .saturating_add(Weight::from_parts(0, 124)) + // Standard Error: 1_054 + .saturating_add(Weight::from_parts(1_011_879, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/polkadot/src/weights/pallet_bags_list.rs b/runtime/polkadot/src/weights/pallet_bags_list.rs index 416818787fcc..0281df3c147a 100644 --- a/runtime/polkadot/src/weights/pallet_bags_list.rs +++ b/runtime/polkadot/src/weights/pallet_bags_list.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bags_list`. pub struct WeightInfo(PhantomData); @@ -56,10 +58,10 @@ impl pallet_bags_list::WeightInfo for WeightInfo { fn rebag_non_terminal() -> Weight { // Proof Size summary in bytes: // Measured: `1622` - // Estimated: `23146` - // Minimum execution time: 60_552_000 picoseconds. - Weight::from_parts(61_264_000, 0) - .saturating_add(Weight::from_parts(0, 23146)) + // Estimated: `11506` + // Minimum execution time: 60_997_000 picoseconds. + Weight::from_parts(61_973_000, 0) + .saturating_add(Weight::from_parts(0, 11506)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -74,10 +76,10 @@ impl pallet_bags_list::WeightInfo for WeightInfo { fn rebag_terminal() -> Weight { // Proof Size summary in bytes: // Measured: `1516` - // Estimated: `23074` - // Minimum execution time: 58_936_000 picoseconds. - Weight::from_parts(59_923_000, 0) - .saturating_add(Weight::from_parts(0, 23074)) + // Estimated: `8877` + // Minimum execution time: 60_122_000 picoseconds. + Weight::from_parts(60_766_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -94,10 +96,10 @@ impl pallet_bags_list::WeightInfo for WeightInfo { fn put_in_front_of() -> Weight { // Proof Size summary in bytes: // Measured: `1827` - // Estimated: `30748` - // Minimum execution time: 65_307_000 picoseconds. - Weight::from_parts(66_157_000, 0) - .saturating_add(Weight::from_parts(0, 30748)) + // Estimated: `11506` + // Minimum execution time: 66_549_000 picoseconds. + Weight::from_parts(67_185_000, 0) + .saturating_add(Weight::from_parts(0, 11506)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/polkadot/src/weights/pallet_balances.rs b/runtime/polkadot/src/weights/pallet_balances.rs index 36f50f143aab..d6c1fc031d90 100644 --- a/runtime/polkadot/src/weights/pallet_balances.rs +++ b/runtime/polkadot/src/weights/pallet_balances.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 34_794_000 picoseconds. - Weight::from_parts(35_502_000, 0) + // Minimum execution time: 52_657_000 picoseconds. + Weight::from_parts(53_097_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -63,8 +65,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 25_963_000 picoseconds. - Weight::from_parts(26_389_000, 0) + // Minimum execution time: 40_218_000 picoseconds. + Weight::from_parts(40_535_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +77,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 17_005_000 picoseconds. - Weight::from_parts(17_328_000, 0) + // Minimum execution time: 17_287_000 picoseconds. + Weight::from_parts(17_564_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -87,8 +89,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 19_965_000 picoseconds. - Weight::from_parts(20_298_000, 0) + // Minimum execution time: 23_677_000 picoseconds. + Weight::from_parts(24_111_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -99,8 +101,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `6196` - // Minimum execution time: 37_765_000 picoseconds. - Weight::from_parts(38_304_000, 0) + // Minimum execution time: 54_904_000 picoseconds. + Weight::from_parts(55_547_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -111,8 +113,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 32_096_000 picoseconds. - Weight::from_parts(32_499_000, 0) + // Minimum execution time: 48_881_000 picoseconds. + Weight::from_parts(49_565_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -123,13 +125,26 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 16_592_000 picoseconds. - Weight::from_parts(16_882_000, 0) + // Minimum execution time: 19_744_000 picoseconds. + Weight::from_parts(20_140_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn upgrade_accounts(_: u32) -> Weight { - Weight::from_parts(0, 0) + /// Storage: System Account (r:999 w:999) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + u * (135 ±0)` + // Estimated: `990 + u * (2603 ±0)` + // Minimum execution time: 18_555_000 picoseconds. + Weight::from_parts(18_756_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 9_416 + .saturating_add(Weight::from_parts(13_991_029, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } } diff --git a/runtime/polkadot/src/weights/pallet_bounties.rs b/runtime/polkadot/src/weights/pallet_bounties.rs index 2da6857be7a9..11bb76bb23fc 100644 --- a/runtime/polkadot/src/weights/pallet_bounties.rs +++ b/runtime/polkadot/src/weights/pallet_bounties.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bounties`. pub struct WeightInfo(PhantomData); @@ -56,13 +58,13 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// The range of component `d` is `[0, 16384]`. fn propose_bounty(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `143` - // Estimated: `5082` - // Minimum execution time: 25_262_000 picoseconds. - Weight::from_parts(26_509_529, 0) - .saturating_add(Weight::from_parts(0, 5082)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(742, 0).saturating_mul(d.into())) + // Measured: `177` + // Estimated: `3593` + // Minimum execution time: 29_279_000 picoseconds. + Weight::from_parts(30_382_925, 0) + .saturating_add(Weight::from_parts(0, 3593)) + // Standard Error: 8 + .saturating_add(Weight::from_parts(691, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -72,11 +74,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) fn approve_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `235` - // Estimated: `5529` - // Minimum execution time: 12_338_000 picoseconds. - Weight::from_parts(12_658_000, 0) - .saturating_add(Weight::from_parts(0, 5529)) + // Measured: `269` + // Estimated: `3642` + // Minimum execution time: 12_010_000 picoseconds. + Weight::from_parts(12_368_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -84,10 +86,10 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn propose_curator() -> Weight { // Proof Size summary in bytes: - // Measured: `255` + // Measured: `289` // Estimated: `3642` - // Minimum execution time: 10_929_000 picoseconds. - Weight::from_parts(11_084_000, 0) + // Minimum execution time: 10_776_000 picoseconds. + Weight::from_parts(11_024_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,11 +100,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn unassign_curator() -> Weight { // Proof Size summary in bytes: - // Measured: `431` - // Estimated: `7235` - // Minimum execution time: 34_597_000 picoseconds. - Weight::from_parts(35_211_000, 0) - .saturating_add(Weight::from_parts(0, 7235)) + // Measured: `465` + // Estimated: `3642` + // Minimum execution time: 41_067_000 picoseconds. + Weight::from_parts(41_546_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -112,11 +114,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn accept_curator() -> Weight { // Proof Size summary in bytes: - // Measured: `427` - // Estimated: `7235` - // Minimum execution time: 23_681_000 picoseconds. - Weight::from_parts(23_957_000, 0) - .saturating_add(Weight::from_parts(0, 7235)) + // Measured: `461` + // Estimated: `3642` + // Minimum execution time: 27_969_000 picoseconds. + Weight::from_parts(28_234_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -126,11 +128,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen) fn award_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `405` - // Estimated: `7123` - // Minimum execution time: 20_088_000 picoseconds. - Weight::from_parts(20_361_000, 0) - .saturating_add(Weight::from_parts(0, 7123)) + // Measured: `439` + // Estimated: `3642` + // Minimum execution time: 20_120_000 picoseconds. + Weight::from_parts(20_475_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,11 +146,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn claim_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `769` - // Estimated: `15934` - // Minimum execution time: 73_246_000 picoseconds. - Weight::from_parts(73_967_000, 0) - .saturating_add(Weight::from_parts(0, 15934)) + // Measured: `803` + // Estimated: `8799` + // Minimum execution time: 107_855_000 picoseconds. + Weight::from_parts(110_038_000, 0) + .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -162,11 +164,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn close_bounty_proposed() -> Weight { // Proof Size summary in bytes: - // Measured: `449` - // Estimated: `10716` - // Minimum execution time: 40_039_000 picoseconds. - Weight::from_parts(40_570_000, 0) - .saturating_add(Weight::from_parts(0, 10716)) + // Measured: `483` + // Estimated: `3642` + // Minimum execution time: 46_664_000 picoseconds. + Weight::from_parts(47_443_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -180,11 +182,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn close_bounty_active() -> Weight { // Proof Size summary in bytes: - // Measured: `685` - // Estimated: `13319` - // Minimum execution time: 50_308_000 picoseconds. - Weight::from_parts(50_840_000, 0) - .saturating_add(Weight::from_parts(0, 13319)) + // Measured: `719` + // Estimated: `6196` + // Minimum execution time: 73_542_000 picoseconds. + Weight::from_parts(74_476_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -192,10 +194,10 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn extend_bounty_expiry() -> Weight { // Proof Size summary in bytes: - // Measured: `291` + // Measured: `325` // Estimated: `3642` - // Minimum execution time: 16_032_000 picoseconds. - Weight::from_parts(16_338_000, 0) + // Minimum execution time: 16_246_000 picoseconds. + Weight::from_parts(16_627_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -210,16 +212,16 @@ impl pallet_bounties::WeightInfo for WeightInfo { fn spend_funds(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + b * (297 ±0)` - // Estimated: `3867 + b * (7858 ±0)` - // Minimum execution time: 5_108_000 picoseconds. - Weight::from_parts(3_020_045, 0) - .saturating_add(Weight::from_parts(0, 3867)) - // Standard Error: 25_988 - .saturating_add(Weight::from_parts(32_112_772, 0).saturating_mul(b.into())) + // Estimated: `1887 + b * (5206 ±0)` + // Minimum execution time: 5_092_000 picoseconds. + Weight::from_parts(5_261_000, 0) + .saturating_add(Weight::from_parts(0, 1887)) + // Standard Error: 18_638 + .saturating_add(Weight::from_parts(38_332_614, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 7858).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 5206).saturating_mul(b.into())) } } diff --git a/runtime/polkadot/src/weights/pallet_child_bounties.rs b/runtime/polkadot/src/weights/pallet_child_bounties.rs index 771ea50a9799..c65fb2f1fac9 100644 --- a/runtime/polkadot/src/weights/pallet_child_bounties.rs +++ b/runtime/polkadot/src/weights/pallet_child_bounties.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_child_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_child_bounties`. pub struct WeightInfo(PhantomData); @@ -60,13 +62,13 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `545` - // Estimated: `14808` - // Minimum execution time: 52_447_000 picoseconds. - Weight::from_parts(53_492_922, 0) - .saturating_add(Weight::from_parts(0, 14808)) - // Standard Error: 6 - .saturating_add(Weight::from_parts(779, 0).saturating_mul(d.into())) + // Measured: `579` + // Estimated: `6196` + // Minimum execution time: 66_379_000 picoseconds. + Weight::from_parts(66_902_586, 0) + .saturating_add(Weight::from_parts(0, 6196)) + // Standard Error: 7 + .saturating_add(Weight::from_parts(705, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -78,11 +80,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `599` - // Estimated: `10745` - // Minimum execution time: 19_504_000 picoseconds. - Weight::from_parts(19_910_000, 0) - .saturating_add(Weight::from_parts(0, 10745)) + // Measured: `633` + // Estimated: `3642` + // Minimum execution time: 18_741_000 picoseconds. + Weight::from_parts(19_016_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,11 +96,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `745` - // Estimated: `10845` - // Minimum execution time: 29_052_000 picoseconds. - Weight::from_parts(29_973_000, 0) - .saturating_add(Weight::from_parts(0, 10845)) + // Measured: `779` + // Estimated: `3642` + // Minimum execution time: 32_680_000 picoseconds. + Weight::from_parts(32_912_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -110,11 +112,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `745` - // Estimated: `10845` - // Minimum execution time: 42_227_000 picoseconds. - Weight::from_parts(42_694_000, 0) - .saturating_add(Weight::from_parts(0, 10845)) + // Measured: `779` + // Estimated: `3642` + // Minimum execution time: 46_693_000 picoseconds. + Weight::from_parts(47_038_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -124,11 +126,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `642` - // Estimated: `7252` - // Minimum execution time: 23_566_000 picoseconds. - Weight::from_parts(23_897_000, 0) - .saturating_add(Weight::from_parts(0, 7252)) + // Measured: `676` + // Estimated: `3642` + // Minimum execution time: 22_725_000 picoseconds. + Weight::from_parts(22_970_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -143,10 +145,10 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `648` - // Estimated: `15890` - // Minimum execution time: 72_733_000 picoseconds. - Weight::from_parts(73_416_000, 0) - .saturating_add(Weight::from_parts(0, 15890)) + // Estimated: `8799` + // Minimum execution time: 104_778_000 picoseconds. + Weight::from_parts(106_104_000, 0) + .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -164,11 +166,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `845` - // Estimated: `20422` - // Minimum execution time: 54_864_000 picoseconds. - Weight::from_parts(55_882_000, 0) - .saturating_add(Weight::from_parts(0, 20422)) + // Measured: `879` + // Estimated: `6196` + // Minimum execution time: 71_186_000 picoseconds. + Weight::from_parts(72_390_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -186,11 +188,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1032` - // Estimated: `23025` - // Minimum execution time: 67_151_000 picoseconds. - Weight::from_parts(69_136_000, 0) - .saturating_add(Weight::from_parts(0, 23025)) + // Measured: `1066` + // Estimated: `8799` + // Minimum execution time: 87_327_000 picoseconds. + Weight::from_parts(88_468_000, 0) + .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/polkadot/src/weights/pallet_collective_council.rs b/runtime/polkadot/src/weights/pallet_collective_council.rs index a9cb221b2db5..4c3230945afd 100644 --- a/runtime/polkadot/src/weights/pallet_collective_council.rs +++ b/runtime/polkadot/src/weights/pallet_collective_council.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); @@ -62,20 +64,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` - // Estimated: `18896 + m * (7799 ±16) + p * (10110 ±16)` - // Minimum execution time: 17_820_000 picoseconds. - Weight::from_parts(18_219_000, 0) - .saturating_add(Weight::from_parts(0, 18896)) - // Standard Error: 48_401 - .saturating_add(Weight::from_parts(5_493_956, 0).saturating_mul(m.into())) - // Standard Error: 48_401 - .saturating_add(Weight::from_parts(8_150_853, 0).saturating_mul(p.into())) + // Estimated: `15762 + m * (1967 ±16) + p * (4332 ±16)` + // Minimum execution time: 18_105_000 picoseconds. + Weight::from_parts(18_362_000, 0) + .saturating_add(Weight::from_parts(0, 15762)) + // Standard Error: 50_639 + .saturating_add(Weight::from_parts(5_764_581, 0).saturating_mul(m.into())) + // Standard Error: 50_639 + .saturating_add(Weight::from_parts(8_367_097, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7799).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10110).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -85,15 +87,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `69 + m * (32 ±0)` - // Estimated: `1555 + m * (32 ±0)` - // Minimum execution time: 17_042_000 picoseconds. - Weight::from_parts(16_520_155, 0) - .saturating_add(Weight::from_parts(0, 1555)) - // Standard Error: 21 - .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(b.into())) - // Standard Error: 216 - .saturating_add(Weight::from_parts(12_870, 0).saturating_mul(m.into())) + // Measured: `103 + m * (32 ±0)` + // Estimated: `1589 + m * (32 ±0)` + // Minimum execution time: 17_064_000 picoseconds. + Weight::from_parts(16_372_545, 0) + .saturating_add(Weight::from_parts(0, 1589)) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_246, 0).saturating_mul(b.into())) + // Standard Error: 131 + .saturating_add(Weight::from_parts(14_737, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -107,17 +109,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `69 + m * (32 ±0)` - // Estimated: `5090 + m * (64 ±0)` - // Minimum execution time: 19_125_000 picoseconds. - Weight::from_parts(18_749_458, 0) - .saturating_add(Weight::from_parts(0, 5090)) - // Standard Error: 25 - .saturating_add(Weight::from_parts(1_302, 0).saturating_mul(b.into())) - // Standard Error: 263 - .saturating_add(Weight::from_parts(24_311, 0).saturating_mul(m.into())) + // Measured: `103 + m * (32 ±0)` + // Estimated: `3569 + m * (32 ±0)` + // Minimum execution time: 19_498_000 picoseconds. + Weight::from_parts(18_981_232, 0) + .saturating_add(Weight::from_parts(0, 3569)) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_261, 0).saturating_mul(b.into())) + // Standard Error: 171 + .saturating_add(Weight::from_parts(24_164, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -137,21 +139,21 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `359 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `9350 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 25_157_000 picoseconds. - Weight::from_parts(26_028_507, 0) - .saturating_add(Weight::from_parts(0, 9350)) - // Standard Error: 67 - .saturating_add(Weight::from_parts(2_641, 0).saturating_mul(b.into())) - // Standard Error: 702 - .saturating_add(Weight::from_parts(22_874, 0).saturating_mul(m.into())) - // Standard Error: 693 - .saturating_add(Weight::from_parts(123_906, 0).saturating_mul(p.into())) + // Measured: `393 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3785 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 25_693_000 picoseconds. + Weight::from_parts(26_592_160, 0) + .saturating_add(Weight::from_parts(0, 3785)) + // Standard Error: 47 + .saturating_add(Weight::from_parts(2_253, 0).saturating_mul(b.into())) + // Standard Error: 493 + .saturating_add(Weight::from_parts(17_779, 0).saturating_mul(m.into())) + // Standard Error: 486 + .saturating_add(Weight::from_parts(120_998, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 165).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -161,16 +163,16 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `808 + m * (64 ±0)` - // Estimated: `6564 + m * (128 ±0)` - // Minimum execution time: 23_052_000 picoseconds. - Weight::from_parts(23_596_517, 0) - .saturating_add(Weight::from_parts(0, 6564)) - // Standard Error: 250 - .saturating_add(Weight::from_parts(42_598, 0).saturating_mul(m.into())) + // Measured: `842 + m * (64 ±0)` + // Estimated: `4306 + m * (64 ±0)` + // Minimum execution time: 22_660_000 picoseconds. + Weight::from_parts(23_181_772, 0) + .saturating_add(Weight::from_parts(0, 4306)) + // Standard Error: 244 + .saturating_add(Weight::from_parts(42_451, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 128).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -186,19 +188,19 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `397 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `7943 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 27_491_000 picoseconds. - Weight::from_parts(28_878_451, 0) - .saturating_add(Weight::from_parts(0, 7943)) - // Standard Error: 447 - .saturating_add(Weight::from_parts(21_894, 0).saturating_mul(m.into())) - // Standard Error: 436 - .saturating_add(Weight::from_parts(118_300, 0).saturating_mul(p.into())) + // Measured: `431 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3876 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 27_706_000 picoseconds. + Weight::from_parts(28_699_948, 0) + .saturating_add(Weight::from_parts(0, 3876)) + // Standard Error: 381 + .saturating_add(Weight::from_parts(20_159, 0).saturating_mul(m.into())) + // Standard Error: 372 + .saturating_add(Weight::from_parts(125_390, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -216,20 +218,20 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: `699 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `12104 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 39_287_000 picoseconds. - Weight::from_parts(41_543_082, 0) - .saturating_add(Weight::from_parts(0, 12104)) + // Measured: `733 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4050 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 39_142_000 picoseconds. + Weight::from_parts(41_004_389, 0) + .saturating_add(Weight::from_parts(0, 4050)) // Standard Error: 124 - .saturating_add(Weight::from_parts(1_923, 0).saturating_mul(b.into())) - // Standard Error: 1_284 - .saturating_add(Weight::from_parts(150_705, 0).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(2_193, 0).saturating_mul(b.into())) + // Standard Error: 1_286 + .saturating_add(Weight::from_parts(149_681, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 264).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -247,19 +249,19 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `417 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `9905 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 30_432_000 picoseconds. - Weight::from_parts(31_244_588, 0) - .saturating_add(Weight::from_parts(0, 9905)) - // Standard Error: 475 - .saturating_add(Weight::from_parts(26_841, 0).saturating_mul(m.into())) - // Standard Error: 463 - .saturating_add(Weight::from_parts(120_485, 0).saturating_mul(p.into())) + // Measured: `451 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3896 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 30_207_000 picoseconds. + Weight::from_parts(31_256_970, 0) + .saturating_add(Weight::from_parts(0, 3896)) + // Standard Error: 442 + .saturating_add(Weight::from_parts(23_334, 0).saturating_mul(m.into())) + // Standard Error: 431 + .saturating_add(Weight::from_parts(113_851, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -279,22 +281,22 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `719 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `14240 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 41_584_000 picoseconds. - Weight::from_parts(43_042_536, 0) - .saturating_add(Weight::from_parts(0, 14240)) - // Standard Error: 119 - .saturating_add(Weight::from_parts(2_545, 0).saturating_mul(b.into())) - // Standard Error: 1_258 - .saturating_add(Weight::from_parts(19_845, 0).saturating_mul(m.into())) - // Standard Error: 1_226 - .saturating_add(Weight::from_parts(147_526, 0).saturating_mul(p.into())) + // Measured: `753 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4070 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 41_316_000 picoseconds. + Weight::from_parts(43_102_295, 0) + .saturating_add(Weight::from_parts(0, 4070)) + // Standard Error: 84 + .saturating_add(Weight::from_parts(2_067, 0).saturating_mul(b.into())) + // Standard Error: 888 + .saturating_add(Weight::from_parts(22_342, 0).saturating_mul(m.into())) + // Standard Error: 866 + .saturating_add(Weight::from_parts(144_993, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 330).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: Council Proposals (r:1 w:1) /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -306,15 +308,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `226 + p * (32 ±0)` - // Estimated: `2163 + p * (96 ±0)` - // Minimum execution time: 15_659_000 picoseconds. - Weight::from_parts(17_913_587, 0) - .saturating_add(Weight::from_parts(0, 2163)) - // Standard Error: 479 - .saturating_add(Weight::from_parts(114_567, 0).saturating_mul(p.into())) + // Measured: `260 + p * (32 ±0)` + // Estimated: `1745 + p * (32 ±0)` + // Minimum execution time: 15_756_000 picoseconds. + Weight::from_parts(17_829_348, 0) + .saturating_add(Weight::from_parts(0, 1745)) + // Standard Error: 423 + .saturating_add(Weight::from_parts(118_832, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs index 7c088ba3b2c6..2eb31db8e05b 100644 --- a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); @@ -62,20 +64,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` - // Estimated: `19184 + m * (7799 ±17) + p * (10110 ±17)` - // Minimum execution time: 18_644_000 picoseconds. - Weight::from_parts(19_096_000, 0) - .saturating_add(Weight::from_parts(0, 19184)) - // Standard Error: 48_031 - .saturating_add(Weight::from_parts(5_411_514, 0).saturating_mul(m.into())) - // Standard Error: 48_031 - .saturating_add(Weight::from_parts(8_184_551, 0).saturating_mul(p.into())) + // Estimated: `15800 + m * (1967 ±17) + p * (4332 ±17)` + // Minimum execution time: 18_721_000 picoseconds. + Weight::from_parts(19_028_000, 0) + .saturating_add(Weight::from_parts(0, 15800)) + // Standard Error: 50_804 + .saturating_add(Weight::from_parts(5_780_451, 0).saturating_mul(m.into())) + // Standard Error: 50_804 + .saturating_add(Weight::from_parts(8_424_760, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7799).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10110).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -87,13 +89,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `141 + m * (32 ±0)` // Estimated: `1627 + m * (32 ±0)` - // Minimum execution time: 17_826_000 picoseconds. - Weight::from_parts(17_349_193, 0) + // Minimum execution time: 17_646_000 picoseconds. + Weight::from_parts(16_865_984, 0) .saturating_add(Weight::from_parts(0, 1627)) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_183, 0).saturating_mul(b.into())) - // Standard Error: 198 - .saturating_add(Weight::from_parts(11_554, 0).saturating_mul(m.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_244, 0).saturating_mul(b.into())) + // Standard Error: 103 + .saturating_add(Weight::from_parts(13_841, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -108,16 +110,16 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `141 + m * (32 ±0)` - // Estimated: `5234 + m * (64 ±0)` - // Minimum execution time: 19_874_000 picoseconds. - Weight::from_parts(19_367_499, 0) - .saturating_add(Weight::from_parts(0, 5234)) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_340, 0).saturating_mul(b.into())) - // Standard Error: 215 - .saturating_add(Weight::from_parts(24_272, 0).saturating_mul(m.into())) + // Estimated: `3607 + m * (32 ±0)` + // Minimum execution time: 20_717_000 picoseconds. + Weight::from_parts(19_779_901, 0) + .saturating_add(Weight::from_parts(0, 3607)) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_261, 0).saturating_mul(b.into())) + // Standard Error: 120 + .saturating_add(Weight::from_parts(23_852, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -138,20 +140,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `431 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `9710 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 25_910_000 picoseconds. - Weight::from_parts(27_064_580, 0) - .saturating_add(Weight::from_parts(0, 9710)) - // Standard Error: 69 - .saturating_add(Weight::from_parts(2_555, 0).saturating_mul(b.into())) - // Standard Error: 724 - .saturating_add(Weight::from_parts(22_302, 0).saturating_mul(m.into())) - // Standard Error: 715 - .saturating_add(Weight::from_parts(123_419, 0).saturating_mul(p.into())) + // Estimated: `3823 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 26_732_000 picoseconds. + Weight::from_parts(27_536_729, 0) + .saturating_add(Weight::from_parts(0, 3823)) + // Standard Error: 48 + .saturating_add(Weight::from_parts(2_241, 0).saturating_mul(b.into())) + // Standard Error: 502 + .saturating_add(Weight::from_parts(18_664, 0).saturating_mul(m.into())) + // Standard Error: 496 + .saturating_add(Weight::from_parts(122_223, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 165).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -162,15 +164,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `880 + m * (64 ±0)` - // Estimated: `6708 + m * (128 ±0)` - // Minimum execution time: 23_818_000 picoseconds. - Weight::from_parts(24_388_603, 0) - .saturating_add(Weight::from_parts(0, 6708)) - // Standard Error: 242 - .saturating_add(Weight::from_parts(42_675, 0).saturating_mul(m.into())) + // Estimated: `4344 + m * (64 ±0)` + // Minimum execution time: 23_520_000 picoseconds. + Weight::from_parts(24_079_603, 0) + .saturating_add(Weight::from_parts(0, 4344)) + // Standard Error: 244 + .saturating_add(Weight::from_parts(41_995, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 128).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -187,18 +189,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `8231 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 28_872_000 picoseconds. - Weight::from_parts(29_893_129, 0) - .saturating_add(Weight::from_parts(0, 8231)) - // Standard Error: 400 - .saturating_add(Weight::from_parts(19_918, 0).saturating_mul(m.into())) - // Standard Error: 390 - .saturating_add(Weight::from_parts(117_102, 0).saturating_mul(p.into())) + // Estimated: `3914 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 28_702_000 picoseconds. + Weight::from_parts(29_493_322, 0) + .saturating_add(Weight::from_parts(0, 3914)) + // Standard Error: 383 + .saturating_add(Weight::from_parts(20_414, 0).saturating_mul(m.into())) + // Standard Error: 374 + .saturating_add(Weight::from_parts(126_445, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -217,21 +219,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `771 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `12392 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 40_305_000 picoseconds. - Weight::from_parts(41_411_443, 0) - .saturating_add(Weight::from_parts(0, 12392)) - // Standard Error: 82 - .saturating_add(Weight::from_parts(2_252, 0).saturating_mul(b.into())) - // Standard Error: 873 - .saturating_add(Weight::from_parts(22_533, 0).saturating_mul(m.into())) - // Standard Error: 851 - .saturating_add(Weight::from_parts(146_263, 0).saturating_mul(p.into())) + // Estimated: `4088 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 39_998_000 picoseconds. + Weight::from_parts(41_257_086, 0) + .saturating_add(Weight::from_parts(0, 4088)) + // Standard Error: 85 + .saturating_add(Weight::from_parts(2_382, 0).saturating_mul(b.into())) + // Standard Error: 900 + .saturating_add(Weight::from_parts(22_756, 0).saturating_mul(m.into())) + // Standard Error: 878 + .saturating_add(Weight::from_parts(144_630, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 264).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -250,18 +252,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `489 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `10265 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 31_636_000 picoseconds. - Weight::from_parts(32_125_817, 0) - .saturating_add(Weight::from_parts(0, 10265)) - // Standard Error: 411 - .saturating_add(Weight::from_parts(26_426, 0).saturating_mul(m.into())) - // Standard Error: 401 - .saturating_add(Weight::from_parts(119_480, 0).saturating_mul(p.into())) + // Estimated: `3934 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 31_433_000 picoseconds. + Weight::from_parts(32_149_411, 0) + .saturating_add(Weight::from_parts(0, 3934)) + // Standard Error: 380 + .saturating_add(Weight::from_parts(24_126, 0).saturating_mul(m.into())) + // Standard Error: 370 + .saturating_add(Weight::from_parts(114_692, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -282,21 +284,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `791 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `14600 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 42_654_000 picoseconds. - Weight::from_parts(44_062_315, 0) - .saturating_add(Weight::from_parts(0, 14600)) - // Standard Error: 88 - .saturating_add(Weight::from_parts(2_419, 0).saturating_mul(b.into())) - // Standard Error: 937 - .saturating_add(Weight::from_parts(22_044, 0).saturating_mul(m.into())) - // Standard Error: 914 - .saturating_add(Weight::from_parts(147_245, 0).saturating_mul(p.into())) + // Estimated: `4108 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 42_286_000 picoseconds. + Weight::from_parts(44_064_744, 0) + .saturating_add(Weight::from_parts(0, 4108)) + // Standard Error: 81 + .saturating_add(Weight::from_parts(2_039, 0).saturating_mul(b.into())) + // Standard Error: 864 + .saturating_add(Weight::from_parts(22_849, 0).saturating_mul(m.into())) + // Standard Error: 842 + .saturating_add(Weight::from_parts(146_721, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 330).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Proposals (r:1 w:1) /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -309,14 +311,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `298 + p * (32 ±0)` - // Estimated: `2379 + p * (96 ±0)` - // Minimum execution time: 16_475_000 picoseconds. - Weight::from_parts(18_514_104, 0) - .saturating_add(Weight::from_parts(0, 2379)) - // Standard Error: 444 - .saturating_add(Weight::from_parts(113_460, 0).saturating_mul(p.into())) + // Estimated: `1783 + p * (32 ±0)` + // Minimum execution time: 16_739_000 picoseconds. + Weight::from_parts(18_536_999, 0) + .saturating_add(Weight::from_parts(0, 1783)) + // Standard Error: 394 + .saturating_add(Weight::from_parts(118_982, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/polkadot/src/weights/pallet_conviction_voting.rs b/runtime/polkadot/src/weights/pallet_conviction_voting.rs index 6f9e37f7f579..96a8189a68c3 100644 --- a/runtime/polkadot/src/weights/pallet_conviction_voting.rs +++ b/runtime/polkadot/src/weights/pallet_conviction_voting.rs @@ -13,21 +13,22 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_conviction_voting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `cob`, CPU: `` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/polkadot +// ./target/production/polkadot // benchmark // pallet // --chain=polkadot-dev -// --steps=2 -// --repeat=1 +// --steps=50 +// --repeat=20 // --pallet=pallet_conviction_voting // --extrinsic=* // --execution=wasm @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_conviction_voting`. pub struct WeightInfo(PhantomData); @@ -53,16 +55,18 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `13612` - // Estimated: `86075` - // Minimum execution time: 174_000_000 picoseconds. - Weight::from_parts(174_000_000, 0) - .saturating_add(Weight::from_parts(0, 86075)) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `13517` + // Estimated: `42428` + // Minimum execution time: 117_882_000 picoseconds. + Weight::from_parts(120_344_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: Referenda ReferendumInfoFor (r:1 w:1) @@ -73,16 +77,18 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Scheduler Agenda (r:2 w:2) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `14364` - // Estimated: `127513` - // Minimum execution time: 240_000_000 picoseconds. - Weight::from_parts(240_000_000, 0) - .saturating_add(Weight::from_parts(0, 127513)) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `14238` + // Estimated: `83866` + // Minimum execution time: 184_958_000 picoseconds. + Weight::from_parts(187_647_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: ConvictionVoting VotingFor (r:1 w:1) @@ -93,11 +99,11 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn remove_vote() -> Weight { // Proof Size summary in bytes: - // Measured: `14084` - // Estimated: `118973` - // Minimum execution time: 219_000_000 picoseconds. - Weight::from_parts(219_000_000, 0) - .saturating_add(Weight::from_parts(0, 118973)) + // Measured: `13990` + // Estimated: `83866` + // Minimum execution time: 155_331_000 picoseconds. + Weight::from_parts(157_636_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -107,11 +113,11 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn remove_other_vote() -> Weight { // Proof Size summary in bytes: - // Measured: `13139` - // Estimated: `35107` - // Minimum execution time: 109_000_000 picoseconds. - Weight::from_parts(109_000_000, 0) - .saturating_add(Weight::from_parts(0, 35107)) + // Measured: `13076` + // Estimated: `30706` + // Minimum execution time: 62_283_000 picoseconds. + Weight::from_parts(64_338_000, 0) + .saturating_add(Weight::from_parts(0, 30706)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,16 +131,23 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `r` is `[0, 512]`. - fn delegate(_r: u32, ) -> Weight { + fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `272 + r * (427 ±0)` - // Estimated: `1900250` - // Minimum execution time: 86_000_000 picoseconds. - Weight::from_parts(27_182_000_000, 0) - .saturating_add(Weight::from_parts(0, 1900250)) - .saturating_add(T::DbWeight::get().reads(518)) - .saturating_add(T::DbWeight::get().writes(518)) + // Measured: `29712 + r * (365 ±0)` + // Estimated: `83866 + r * (3411 ±0)` + // Minimum execution time: 65_590_000 picoseconds. + Weight::from_parts(1_649_043_960, 0) + .saturating_add(Weight::from_parts(0, 83866)) + // Standard Error: 141_963 + .saturating_add(Weight::from_parts(38_967_560, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 3411).saturating_mul(r.into())) } /// Storage: ConvictionVoting VotingFor (r:2 w:2) /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) @@ -143,15 +156,20 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Storage: Scheduler Agenda (r:2 w:2) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) /// The range of component `r` is `[0, 512]`. - fn undelegate(_r: u32, ) -> Weight { + fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `470 + r * (426 ±0)` - // Estimated: `1891710` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(27_242_000_000, 0) - .saturating_add(Weight::from_parts(0, 1891710)) - .saturating_add(T::DbWeight::get().reads(516)) - .saturating_add(T::DbWeight::get().writes(516)) + // Measured: `29627 + r * (365 ±0)` + // Estimated: `83866 + r * (3411 ±0)` + // Minimum execution time: 36_990_000 picoseconds. + Weight::from_parts(1_610_127_966, 0) + .saturating_add(Weight::from_parts(0, 83866)) + // Standard Error: 142_409 + .saturating_add(Weight::from_parts(38_970_685, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 3411).saturating_mul(r.into())) } /// Storage: ConvictionVoting VotingFor (r:1 w:1) /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) @@ -159,14 +177,16 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn unlock() -> Weight { // Proof Size summary in bytes: - // Measured: `12385` - // Estimated: `39246` - // Minimum execution time: 121_000_000 picoseconds. - Weight::from_parts(121_000_000, 0) - .saturating_add(Weight::from_parts(0, 39246)) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `12290` + // Estimated: `30706` + // Minimum execution time: 87_063_000 picoseconds. + Weight::from_parts(89_213_000, 0) + .saturating_add(Weight::from_parts(0, 30706)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/polkadot/src/weights/pallet_democracy.rs b/runtime/polkadot/src/weights/pallet_democracy.rs index 8532543fcb6d..e5018f0ac633 100644 --- a/runtime/polkadot/src/weights/pallet_democracy.rs +++ b/runtime/polkadot/src/weights/pallet_democracy.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); @@ -56,10 +58,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `4768` - // Estimated: `26379` - // Minimum execution time: 35_995_000 picoseconds. - Weight::from_parts(36_596_000, 0) - .saturating_add(Weight::from_parts(0, 26379)) + // Estimated: `18187` + // Minimum execution time: 39_827_000 picoseconds. + Weight::from_parts(40_802_000, 0) + .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -69,8 +71,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 32_995_000 picoseconds. - Weight::from_parts(33_410_000, 0) + // Minimum execution time: 36_156_000 picoseconds. + Weight::from_parts(36_813_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -81,14 +83,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3437` - // Estimated: `15690` - // Minimum execution time: 45_737_000 picoseconds. - Weight::from_parts(46_407_000, 0) - .saturating_add(Weight::from_parts(0, 15690)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7260` + // Minimum execution time: 49_688_000 picoseconds. + Weight::from_parts(51_423_000, 0) + .saturating_add(Weight::from_parts(0, 7260)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -97,14 +101,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3459` - // Estimated: `15690` - // Minimum execution time: 45_778_000 picoseconds. - Weight::from_parts(46_562_000, 0) - .saturating_add(Weight::from_parts(0, 15690)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7260` + // Minimum execution time: 53_558_000 picoseconds. + Weight::from_parts(54_220_000, 0) + .saturating_add(Weight::from_parts(0, 7260)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -116,10 +122,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` - // Estimated: `10682` - // Minimum execution time: 26_843_000 picoseconds. - Weight::from_parts(27_340_000, 0) - .saturating_add(Weight::from_parts(0, 10682)) + // Estimated: `3666` + // Minimum execution time: 26_324_000 picoseconds. + Weight::from_parts(26_836_000, 0) + .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -140,10 +146,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `5877` - // Estimated: `42332` - // Minimum execution time: 91_058_000 picoseconds. - Weight::from_parts(92_054_000, 0) - .saturating_add(Weight::from_parts(0, 42332)) + // Estimated: `18187` + // Minimum execution time: 95_439_000 picoseconds. + Weight::from_parts(96_544_000, 0) + .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -154,10 +160,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `3383` - // Estimated: `8320` - // Minimum execution time: 14_510_000 picoseconds. - Weight::from_parts(14_851_000, 0) - .saturating_add(Weight::from_parts(0, 8320)) + // Estimated: `6703` + // Minimum execution time: 14_484_000 picoseconds. + Weight::from_parts(24_051_000, 0) + .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -167,8 +173,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_821_000 picoseconds. - Weight::from_parts(3_953_000, 0) + // Minimum execution time: 3_881_000 picoseconds. + Weight::from_parts(3_994_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,8 +184,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_810_000 picoseconds. - Weight::from_parts(4_000_000, 0) + // Minimum execution time: 4_079_000 picoseconds. + Weight::from_parts(5_082_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -194,10 +200,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `6624` - // Minimum execution time: 28_588_000 picoseconds. - Weight::from_parts(28_898_000, 0) - .saturating_add(Weight::from_parts(0, 6624)) + // Estimated: `3518` + // Minimum execution time: 30_399_000 picoseconds. + Weight::from_parts(36_576_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -210,10 +216,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `3486` - // Estimated: `11838` - // Minimum execution time: 32_436_000 picoseconds. - Weight::from_parts(33_152_000, 0) - .saturating_add(Weight::from_parts(0, 11838)) + // Estimated: `6703` + // Minimum execution time: 31_672_000 picoseconds. + Weight::from_parts(32_274_000, 0) + .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -228,10 +234,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `5788` - // Estimated: `31993` - // Minimum execution time: 74_058_000 picoseconds. - Weight::from_parts(74_899_000, 0) - .saturating_add(Weight::from_parts(0, 31993)) + // Estimated: `18187` + // Minimum execution time: 79_605_000 picoseconds. + Weight::from_parts(80_630_000, 0) + .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -243,8 +249,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 20_941_000 picoseconds. - Weight::from_parts(21_170_000, 0) + // Minimum execution time: 20_412_000 picoseconds. + Weight::from_parts(20_783_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -259,12 +265,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` - // Estimated: `3968 + r * (2676 ±0)` - // Minimum execution time: 7_576_000 picoseconds. - Weight::from_parts(10_905_204, 0) - .saturating_add(Weight::from_parts(0, 3968)) - // Standard Error: 5_941 - .saturating_add(Weight::from_parts(2_777_934, 0).saturating_mul(r.into())) + // Estimated: `1489 + r * (2676 ±0)` + // Minimum execution time: 7_081_000 picoseconds. + Weight::from_parts(9_968_120, 0) + .saturating_add(Weight::from_parts(0, 1489)) + // Standard Error: 5_714 + .saturating_add(Weight::from_parts(2_709_011, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -286,12 +292,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` - // Estimated: `25258 + r * (2676 ±0)` - // Minimum execution time: 10_210_000 picoseconds. - Weight::from_parts(13_910_729, 0) - .saturating_add(Weight::from_parts(0, 25258)) - // Standard Error: 6_423 - .saturating_add(Weight::from_parts(2_761_401, 0).saturating_mul(r.into())) + // Estimated: `18187 + r * (2676 ±0)` + // Minimum execution time: 9_889_000 picoseconds. + Weight::from_parts(13_200_286, 0) + .saturating_add(Weight::from_parts(0, 18187)) + // Standard Error: 5_377 + .saturating_add(Weight::from_parts(2_705_686, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -303,17 +309,19 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `797 + r * (108 ±0)` - // Estimated: `25554 + r * (2676 ±0)` - // Minimum execution time: 37_937_000 picoseconds. - Weight::from_parts(44_274_336, 0) - .saturating_add(Weight::from_parts(0, 25554)) - // Standard Error: 8_387 - .saturating_add(Weight::from_parts(3_862_699, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `19800 + r * (2676 ±0)` + // Minimum execution time: 41_791_000 picoseconds. + Weight::from_parts(47_129_704, 0) + .saturating_add(Weight::from_parts(0, 19800)) + // Standard Error: 6_402 + .saturating_add(Weight::from_parts(3_797_557, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -327,12 +335,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `460 + r * (108 ±0)` - // Estimated: `14520 + r * (2676 ±0)` - // Minimum execution time: 22_361_000 picoseconds. - Weight::from_parts(24_134_202, 0) - .saturating_add(Weight::from_parts(0, 14520)) - // Standard Error: 6_969 - .saturating_add(Weight::from_parts(3_846_011, 0).saturating_mul(r.into())) + // Estimated: `13530 + r * (2676 ±0)` + // Minimum execution time: 22_069_000 picoseconds. + Weight::from_parts(24_226_189, 0) + .saturating_add(Weight::from_parts(0, 13530)) + // Standard Error: 5_828 + .saturating_add(Weight::from_parts(3_775_989, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -345,8 +353,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_782_000 picoseconds. - Weight::from_parts(3_868_000, 0) + // Minimum execution time: 3_814_000 picoseconds. + Weight::from_parts(3_910_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -354,38 +362,42 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `530` - // Estimated: `15617` - // Minimum execution time: 21_323_000 picoseconds. - Weight::from_parts(27_548_550, 0) - .saturating_add(Weight::from_parts(0, 15617)) - // Standard Error: 1_419 - .saturating_add(Weight::from_parts(24_395, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7260` + // Minimum execution time: 24_899_000 picoseconds. + Weight::from_parts(37_568_442, 0) + .saturating_add(Weight::from_parts(0, 7260)) + // Standard Error: 2_831 + .saturating_add(Weight::from_parts(31_779, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `531 + r * (22 ±0)` - // Estimated: `15617` - // Minimum execution time: 26_187_000 picoseconds. - Weight::from_parts(27_578_108, 0) - .saturating_add(Weight::from_parts(0, 15617)) - // Standard Error: 870 - .saturating_add(Weight::from_parts(58_838, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7260` + // Minimum execution time: 34_857_000 picoseconds. + Weight::from_parts(36_245_934, 0) + .saturating_add(Weight::from_parts(0, 7260)) + // Standard Error: 939 + .saturating_add(Weight::from_parts(63_316, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -396,12 +408,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` - // Estimated: `10926` - // Minimum execution time: 16_831_000 picoseconds. - Weight::from_parts(19_565_991, 0) - .saturating_add(Weight::from_parts(0, 10926)) - // Standard Error: 965 - .saturating_add(Weight::from_parts(72_692, 0).saturating_mul(r.into())) + // Estimated: `7260` + // Minimum execution time: 16_805_000 picoseconds. + Weight::from_parts(19_556_970, 0) + .saturating_add(Weight::from_parts(0, 7260)) + // Standard Error: 894 + .saturating_add(Weight::from_parts(68_366, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -413,12 +425,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` - // Estimated: `10926` - // Minimum execution time: 16_944_000 picoseconds. - Weight::from_parts(19_671_811, 0) - .saturating_add(Weight::from_parts(0, 10926)) - // Standard Error: 1_115 - .saturating_add(Weight::from_parts(72_729, 0).saturating_mul(r.into())) + // Estimated: `7260` + // Minimum execution time: 17_033_000 picoseconds. + Weight::from_parts(19_557_455, 0) + .saturating_add(Weight::from_parts(0, 7260)) + // Standard Error: 1_017 + .saturating_add(Weight::from_parts(71_155, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -431,10 +443,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `323` - // Estimated: `5173` - // Minimum execution time: 18_995_000 picoseconds. - Weight::from_parts(19_232_000, 0) - .saturating_add(Weight::from_parts(0, 5173)) + // Estimated: `3556` + // Minimum execution time: 18_934_000 picoseconds. + Weight::from_parts(19_221_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -445,10 +457,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `5135` - // Minimum execution time: 17_966_000 picoseconds. - Weight::from_parts(18_263_000, 0) - .saturating_add(Weight::from_parts(0, 5135)) + // Estimated: `3518` + // Minimum execution time: 17_735_000 picoseconds. + Weight::from_parts(17_881_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -461,10 +473,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4855` - // Estimated: `21743` - // Minimum execution time: 33_659_000 picoseconds. - Weight::from_parts(34_589_000, 0) - .saturating_add(Weight::from_parts(0, 21743)) + // Estimated: `18187` + // Minimum execution time: 33_155_000 picoseconds. + Weight::from_parts(33_602_000, 0) + .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -475,10 +487,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4789` - // Estimated: `21705` - // Minimum execution time: 31_710_000 picoseconds. - Weight::from_parts(32_122_000, 0) - .saturating_add(Weight::from_parts(0, 21705)) + // Estimated: `18187` + // Minimum execution time: 31_169_000 picoseconds. + Weight::from_parts(31_657_000, 0) + .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -490,8 +502,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 15_214_000 picoseconds. - Weight::from_parts(15_612_000, 0) + // Minimum execution time: 15_513_000 picoseconds. + Weight::from_parts(15_817_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -503,10 +515,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` - // Estimated: `7184` - // Minimum execution time: 19_174_000 picoseconds. - Weight::from_parts(19_496_000, 0) - .saturating_add(Weight::from_parts(0, 7184)) + // Estimated: `3666` + // Minimum execution time: 19_548_000 picoseconds. + Weight::from_parts(19_730_000, 0) + .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs index 8e59d835978f..197f6735c808 100644 --- a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_election_provider_multi_phase`. pub struct WeightInfo(PhantomData); @@ -64,10 +66,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_nothing() -> Weight { // Proof Size summary in bytes: // Measured: `993` - // Estimated: `14902` - // Minimum execution time: 19_024_000 picoseconds. - Weight::from_parts(19_546_000, 0) - .saturating_add(Weight::from_parts(0, 14902)) + // Estimated: `3481` + // Minimum execution time: 18_521_000 picoseconds. + Weight::from_parts(19_112_000, 0) + .saturating_add(Weight::from_parts(0, 3481)) .saturating_add(T::DbWeight::get().reads(8)) } /// Storage: ElectionProviderMultiPhase Round (r:1 w:0) @@ -77,10 +79,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_open_signed() -> Weight { // Proof Size summary in bytes: // Measured: `114` - // Estimated: `3198` - // Minimum execution time: 13_699_000 picoseconds. - Weight::from_parts(14_176_000, 0) - .saturating_add(Weight::from_parts(0, 3198)) + // Estimated: `1599` + // Minimum execution time: 13_405_000 picoseconds. + Weight::from_parts(13_834_000, 0) + .saturating_add(Weight::from_parts(0, 1599)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,10 +93,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_open_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `114` - // Estimated: `3198` - // Minimum execution time: 14_996_000 picoseconds. - Weight::from_parts(15_624_000, 0) - .saturating_add(Weight::from_parts(0, 3198)) + // Estimated: `1599` + // Minimum execution time: 14_598_000 picoseconds. + Weight::from_parts(15_035_000, 0) + .saturating_add(Weight::from_parts(0, 1599)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -105,10 +107,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn finalize_signed_phase_accept_solution() -> Weight { // Proof Size summary in bytes: // Measured: `174` - // Estimated: `3767` - // Minimum execution time: 25_910_000 picoseconds. - Weight::from_parts(26_289_000, 0) - .saturating_add(Weight::from_parts(0, 3767)) + // Estimated: `3593` + // Minimum execution time: 30_510_000 picoseconds. + Weight::from_parts(31_162_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -118,8 +120,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 18_278_000 picoseconds. - Weight::from_parts(18_696_000, 0) + // Minimum execution time: 21_632_000 picoseconds. + Weight::from_parts(22_098_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -136,11 +138,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 455_749_000 picoseconds. - Weight::from_parts(466_785_000, 0) + // Minimum execution time: 455_544_000 picoseconds. + Weight::from_parts(470_334_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_640 - .saturating_add(Weight::from_parts(275_187, 0).saturating_mul(v.into())) + // Standard Error: 2_558 + .saturating_add(Weight::from_parts(270_771, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -168,18 +170,18 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn elect_queued(a: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `338 + a * (768 ±0) + d * (48 ±0)` - // Estimated: `17733 + a * (6912 ±0) + d * (441 ±0)` - // Minimum execution time: 280_203_000 picoseconds. - Weight::from_parts(61_749_844, 0) - .saturating_add(Weight::from_parts(0, 17733)) - // Standard Error: 3_480 - .saturating_add(Weight::from_parts(338_220, 0).saturating_mul(a.into())) - // Standard Error: 5_217 - .saturating_add(Weight::from_parts(183_924, 0).saturating_mul(d.into())) + // Estimated: `3890 + a * (768 ±0) + d * (49 ±0)` + // Minimum execution time: 285_740_000 picoseconds. + Weight::from_parts(63_863_280, 0) + .saturating_add(Weight::from_parts(0, 3890)) + // Standard Error: 3_212 + .saturating_add(Weight::from_parts(353_729, 0).saturating_mul(a.into())) + // Standard Error: 4_815 + .saturating_add(Weight::from_parts(155_831, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(9)) - .saturating_add(Weight::from_parts(0, 6912).saturating_mul(a.into())) - .saturating_add(Weight::from_parts(0, 441).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 768).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 49).saturating_mul(d.into())) } /// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured) @@ -196,10 +198,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn submit() -> Weight { // Proof Size summary in bytes: // Measured: `1204` - // Estimated: `13461` - // Minimum execution time: 43_181_000 picoseconds. - Weight::from_parts(43_965_000, 0) - .saturating_add(Weight::from_parts(0, 13461)) + // Estimated: `2689` + // Minimum execution time: 47_143_000 picoseconds. + Weight::from_parts(47_590_000, 0) + .saturating_add(Weight::from_parts(0, 2689)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -223,19 +225,19 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `219 + v * (553 ±0) + t * (32 ±0)` - // Estimated: `11928 + v * (3871 ±0) + t * (224 ±0)` - // Minimum execution time: 4_961_255_000 picoseconds. - Weight::from_parts(5_003_449_000, 0) - .saturating_add(Weight::from_parts(0, 11928)) - // Standard Error: 15_941 - .saturating_add(Weight::from_parts(133_470, 0).saturating_mul(v.into())) - // Standard Error: 47_240 - .saturating_add(Weight::from_parts(4_540_957, 0).saturating_mul(a.into())) + // Measured: `219 + t * (32 ±0) + v * (553 ±0)` + // Estimated: `1704 + t * (32 ±0) + v * (553 ±0)` + // Minimum execution time: 5_089_555_000 picoseconds. + Weight::from_parts(5_107_135_000, 0) + .saturating_add(Weight::from_parts(0, 1704)) + // Standard Error: 16_098 + .saturating_add(Weight::from_parts(61_662, 0).saturating_mul(v.into())) + // Standard Error: 47_704 + .saturating_add(Weight::from_parts(4_710_124, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 3871).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 553).saturating_mul(v.into())) } /// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured) @@ -251,17 +253,17 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `194 + v * (553 ±0) + t * (32 ±0)` - // Estimated: `6716 + v * (2212 ±0) + t * (128 ±0)` - // Minimum execution time: 4_175_951_000 picoseconds. - Weight::from_parts(4_226_821_000, 0) - .saturating_add(Weight::from_parts(0, 6716)) - // Standard Error: 14_164 - .saturating_add(Weight::from_parts(215_721, 0).saturating_mul(v.into())) - // Standard Error: 41_974 - .saturating_add(Weight::from_parts(3_398_124, 0).saturating_mul(a.into())) + // Measured: `194 + t * (32 ±0) + v * (553 ±0)` + // Estimated: `1679 + t * (32 ±0) + v * (553 ±0)` + // Minimum execution time: 4_305_785_000 picoseconds. + Weight::from_parts(4_330_126_000, 0) + .saturating_add(Weight::from_parts(0, 1679)) + // Standard Error: 13_362 + .saturating_add(Weight::from_parts(175_613, 0).saturating_mul(v.into())) + // Standard Error: 39_597 + .saturating_add(Weight::from_parts(3_618_103, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(Weight::from_parts(0, 2212).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 128).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 553).saturating_mul(v.into())) } } diff --git a/runtime/polkadot/src/weights/pallet_elections_phragmen.rs b/runtime/polkadot/src/weights/pallet_elections_phragmen.rs index 9acfa15d55ac..b69faf54b8d5 100644 --- a/runtime/polkadot/src/weights/pallet_elections_phragmen.rs +++ b/runtime/polkadot/src/weights/pallet_elections_phragmen.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. pub struct WeightInfo(PhantomData); @@ -55,19 +57,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `369 + v * (80 ±0)` - // Estimated: `14156 + v * (320 ±0)` - // Minimum execution time: 27_615_000 picoseconds. - Weight::from_parts(28_827_632, 0) - .saturating_add(Weight::from_parts(0, 14156)) - // Standard Error: 3_451 - .saturating_add(Weight::from_parts(107_080, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4764 + v * (80 ±0)` + // Minimum execution time: 31_825_000 picoseconds. + Weight::from_parts(32_558_964, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 2_386 + .saturating_add(Weight::from_parts(143_977, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:0) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -79,19 +83,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `337 + v * (80 ±0)` - // Estimated: `14028 + v * (320 ±0)` - // Minimum execution time: 37_710_000 picoseconds. - Weight::from_parts(38_651_629, 0) - .saturating_add(Weight::from_parts(0, 14028)) - // Standard Error: 4_935 - .saturating_add(Weight::from_parts(113_765, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4764 + v * (80 ±0)` + // Minimum execution time: 43_824_000 picoseconds. + Weight::from_parts(44_383_391, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 2_628 + .saturating_add(Weight::from_parts(124_994, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:0) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -103,32 +109,36 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `369 + v * (80 ±0)` - // Estimated: `14156 + v * (320 ±0)` - // Minimum execution time: 37_662_000 picoseconds. - Weight::from_parts(38_662_833, 0) - .saturating_add(Weight::from_parts(0, 14156)) - // Standard Error: 8_944 - .saturating_add(Weight::from_parts(139_712, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4764 + v * (80 ±0)` + // Minimum execution time: 43_341_000 picoseconds. + Weight::from_parts(44_225_072, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 3_072 + .saturating_add(Weight::from_parts(145_547, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) } /// Storage: PhragmenElection Voting (r:1 w:1) /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn remove_voter() -> Weight { // Proof Size summary in bytes: // Measured: `891` - // Estimated: `9120` - // Minimum execution time: 33_356_000 picoseconds. - Weight::from_parts(33_639_000, 0) - .saturating_add(Weight::from_parts(0, 9120)) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4764` + // Minimum execution time: 44_934_000 picoseconds. + Weight::from_parts(45_453_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: PhragmenElection Candidates (r:1 w:1) @@ -141,15 +151,15 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2358 + c * (48 ±0)` - // Estimated: `11523 + c * (144 ±0)` - // Minimum execution time: 29_250_000 picoseconds. - Weight::from_parts(22_589_367, 0) - .saturating_add(Weight::from_parts(0, 11523)) - // Standard Error: 847 - .saturating_add(Weight::from_parts(82_413, 0).saturating_mul(c.into())) + // Estimated: `3841 + c * (48 ±0)` + // Minimum execution time: 33_316_000 picoseconds. + Weight::from_parts(26_754_921, 0) + .saturating_add(Weight::from_parts(0, 3841)) + // Standard Error: 832 + .saturating_add(Weight::from_parts(81_508, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -158,11 +168,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `250 + c * (48 ±0)` // Estimated: `1722 + c * (48 ±0)` - // Minimum execution time: 25_177_000 picoseconds. - Weight::from_parts(18_210_201, 0) + // Minimum execution time: 29_283_000 picoseconds. + Weight::from_parts(22_183_364, 0) .saturating_add(Weight::from_parts(0, 1722)) - // Standard Error: 859 - .saturating_add(Weight::from_parts(58_205, 0).saturating_mul(c.into())) + // Standard Error: 867 + .saturating_add(Weight::from_parts(58_641, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -179,11 +189,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `2565` - // Estimated: `18765` - // Minimum execution time: 42_428_000 picoseconds. - Weight::from_parts(42_849_000, 0) - .saturating_add(Weight::from_parts(0, 18765)) + // Measured: `2599` + // Estimated: `4084` + // Minimum execution time: 44_937_000 picoseconds. + Weight::from_parts(45_415_000, 0) + .saturating_add(Weight::from_parts(0, 4084)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -193,8 +203,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1711` // Estimated: `3196` - // Minimum execution time: 27_668_000 picoseconds. - Weight::from_parts(27_980_000, 0) + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(30_349_000, 0) .saturating_add(Weight::from_parts(0, 3196)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -223,11 +233,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `2565` - // Estimated: `22358` - // Minimum execution time: 57_202_000 picoseconds. - Weight::from_parts(57_795_000, 0) - .saturating_add(Weight::from_parts(0, 22358)) + // Measured: `2599` + // Estimated: `4084` + // Minimum execution time: 61_659_000 picoseconds. + Weight::from_parts(62_364_000, 0) + .saturating_add(Weight::from_parts(0, 4084)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -241,6 +251,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) /// Storage: Balances Locks (r:10000 w:10000) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:10000 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:10000 w:10000) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `v` is `[5000, 10000]`. @@ -248,16 +260,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `36028 + v * (808 ±0)` - // Estimated: `155112 + v * (12084 ±0)` - // Minimum execution time: 319_698_615_000 picoseconds. - Weight::from_parts(320_299_987_000, 0) - .saturating_add(Weight::from_parts(0, 155112)) - // Standard Error: 274_596 - .saturating_add(Weight::from_parts(39_406_540, 0).saturating_mul(v.into())) + // Estimated: `39768 + v * (3774 ±0)` + // Minimum execution time: 379_929_098_000 picoseconds. + Weight::from_parts(380_420_013_000, 0) + .saturating_add(Weight::from_parts(0, 39768)) + // Standard Error: 320_144 + .saturating_add(Weight::from_parts(45_928_086, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 12084).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 3774).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -282,22 +294,22 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[10000, 160000]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + v * (607 ±0) + e * (28 ±0)` - // Estimated: `4855584 + c * (2560 ±0) + v * (5481 ±4) + e * (123 ±0)` - // Minimum execution time: 30_930_541_000 picoseconds. - Weight::from_parts(31_074_438_000, 0) - .saturating_add(Weight::from_parts(0, 4855584)) - // Standard Error: 416_181 - .saturating_add(Weight::from_parts(34_309_870, 0).saturating_mul(v.into())) - // Standard Error: 26_707 - .saturating_add(Weight::from_parts(1_798_568, 0).saturating_mul(e.into())) + // Measured: `0 + e * (28 ±0) + v * (607 ±0)` + // Estimated: `2771984 + c * (2560 ±0) + e * (16 ±0) + v * (2744 ±4)` + // Minimum execution time: 35_385_343_000 picoseconds. + Weight::from_parts(35_541_775_000, 0) + .saturating_add(Weight::from_parts(0, 2771984)) + // Standard Error: 423_410 + .saturating_add(Weight::from_parts(35_052_202, 0).saturating_mul(v.into())) + // Standard Error: 27_171 + .saturating_add(Weight::from_parts(1_847_978, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(269)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2560).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 5481).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 123).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 16).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2744).saturating_mul(v.into())) } } diff --git a/runtime/polkadot/src/weights/pallet_fast_unstake.rs b/runtime/polkadot/src/weights/pallet_fast_unstake.rs index 3099a6c961dd..c739e8c0d266 100644 --- a/runtime/polkadot/src/weights/pallet_fast_unstake.rs +++ b/runtime/polkadot/src/weights/pallet_fast_unstake.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_fast_unstake` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_fast_unstake`. pub struct WeightInfo(PhantomData); @@ -69,6 +71,8 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:16 w:16) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:16 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Ledger (r:0 w:16) /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:16) @@ -77,17 +81,17 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo fn on_idle_unstake(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1095 + b * (359 ±0)` - // Estimated: `17942 + b * (17672 ±0)` - // Minimum execution time: 80_046_000 picoseconds. - Weight::from_parts(43_037_656, 0) - .saturating_add(Weight::from_parts(0, 17942)) - // Standard Error: 49_179 - .saturating_add(Weight::from_parts(41_341_471, 0).saturating_mul(b.into())) + // Estimated: `2580 + b * (3774 ±0)` + // Minimum execution time: 88_536_000 picoseconds. + Weight::from_parts(39_538_656, 0) + .saturating_add(Weight::from_parts(0, 2580)) + // Standard Error: 49_539 + .saturating_add(Weight::from_parts(52_730_598, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 17672).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 3774).saturating_mul(b.into())) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) /// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -107,20 +111,20 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// The range of component `b` is `[1, 16]`. fn on_idle_check(v: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1449 + v * (19511 ±0) + b * (48 ±0)` - // Estimated: `15875 + v * (41499 ±0) + b * (104 ±0)` - // Minimum execution time: 648_541_000 picoseconds. - Weight::from_parts(652_000_000, 0) - .saturating_add(Weight::from_parts(0, 15875)) - // Standard Error: 6_037_607 - .saturating_add(Weight::from_parts(201_709_996, 0).saturating_mul(v.into())) - // Standard Error: 96_885_464 - .saturating_add(Weight::from_parts(3_028_782_383, 0).saturating_mul(b.into())) + // Measured: `1449 + b * (48 ±0) + v * (19511 ±0)` + // Estimated: `4764 + b * (52 ±0) + v * (21987 ±0)` + // Minimum execution time: 657_646_000 picoseconds. + Weight::from_parts(659_366_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 6_117_268 + .saturating_add(Weight::from_parts(204_360_468, 0).saturating_mul(v.into())) + // Standard Error: 98_163_781 + .saturating_add(Weight::from_parts(3_071_752_791, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 41499).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 104).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 52).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 21987).saturating_mul(v.into())) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) /// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -148,16 +152,18 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: FastUnstake CounterForQueue (r:1 w:1) /// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn register_fast_unstake() -> Weight { // Proof Size summary in bytes: // Measured: `1957` - // Estimated: `43522` - // Minimum execution time: 121_666_000 picoseconds. - Weight::from_parts(123_110_000, 0) - .saturating_add(Weight::from_parts(0, 43522)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `6248` + // Minimum execution time: 123_278_000 picoseconds. + Weight::from_parts(124_477_000, 0) + .saturating_add(Weight::from_parts(0, 6248)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(10)) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) @@ -173,10 +179,10 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo fn deregister() -> Weight { // Proof Size summary in bytes: // Measured: `1156` - // Estimated: `13426` - // Minimum execution time: 41_996_000 picoseconds. - Weight::from_parts(42_645_000, 0) - .saturating_add(Weight::from_parts(0, 13426)) + // Estimated: `4556` + // Minimum execution time: 44_068_000 picoseconds. + Weight::from_parts(44_654_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -186,8 +192,8 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_921_000 picoseconds. - Weight::from_parts(3_077_000, 0) + // Minimum execution time: 2_869_000 picoseconds. + Weight::from_parts(2_951_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_identity.rs b/runtime/polkadot/src/weights/pallet_identity.rs index c2c1daf81b5c..a23abac47417 100644 --- a/runtime/polkadot/src/weights/pallet_identity.rs +++ b/runtime/polkadot/src/weights/pallet_identity.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); @@ -52,11 +54,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 12_470_000 picoseconds. - Weight::from_parts(13_063_945, 0) + // Minimum execution time: 12_686_000 picoseconds. + Weight::from_parts(13_052_226, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_718 - .saturating_add(Weight::from_parts(95_484, 0).saturating_mul(r.into())) + // Standard Error: 1_167 + .saturating_add(Weight::from_parts(97_940, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,13 +70,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `442 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 28_961_000 picoseconds. - Weight::from_parts(29_773_203, 0) + // Minimum execution time: 33_186_000 picoseconds. + Weight::from_parts(32_479_661, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_460 - .saturating_add(Weight::from_parts(25_994, 0).saturating_mul(r.into())) - // Standard Error: 870 - .saturating_add(Weight::from_parts(437_384, 0).saturating_mul(x.into())) + // Standard Error: 2_395 + .saturating_add(Weight::from_parts(83_659, 0).saturating_mul(r.into())) + // Standard Error: 467 + .saturating_add(Weight::from_parts(544_183, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,12 +90,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `101` - // Estimated: `18716 + s * (2589 ±0)` - // Minimum execution time: 9_352_000 picoseconds. - Weight::from_parts(22_292_854, 0) - .saturating_add(Weight::from_parts(0, 18716)) - // Standard Error: 4_294 - .saturating_add(Weight::from_parts(2_670_872, 0).saturating_mul(s.into())) + // Estimated: `11003 + s * (2589 ±0)` + // Minimum execution time: 9_741_000 picoseconds. + Weight::from_parts(25_386_530, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 4_486 + .saturating_add(Weight::from_parts(2_820_170, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,12 +112,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `194 + p * (32 ±0)` - // Estimated: `17726` - // Minimum execution time: 9_254_000 picoseconds. - Weight::from_parts(20_870_949, 0) - .saturating_add(Weight::from_parts(0, 17726)) - // Standard Error: 5_192 - .saturating_add(Weight::from_parts(1_121_454, 0).saturating_mul(p.into())) + // Estimated: `11003` + // Minimum execution time: 9_622_000 picoseconds. + Weight::from_parts(24_423_161, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_453 + .saturating_add(Weight::from_parts(1_114_128, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -129,17 +131,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn clear_identity(_r: u32, s: u32, x: u32, ) -> Weight { + fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `17726` - // Minimum execution time: 48_861_000 picoseconds. - Weight::from_parts(32_332_715, 0) - .saturating_add(Weight::from_parts(0, 17726)) - // Standard Error: 1_421 - .saturating_add(Weight::from_parts(1_064_012, 0).saturating_mul(s.into())) - // Standard Error: 1_421 - .saturating_add(Weight::from_parts(220_265, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 60_036_000 picoseconds. + Weight::from_parts(33_493_868, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_382 + .saturating_add(Weight::from_parts(31_402, 0).saturating_mul(r.into())) + // Standard Error: 660 + .saturating_add(Weight::from_parts(1_106_779, 0).saturating_mul(s.into())) + // Standard Error: 660 + .saturating_add(Weight::from_parts(284_973, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -153,14 +157,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `367 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `13629` - // Minimum execution time: 29_801_000 picoseconds. - Weight::from_parts(29_358_951, 0) - .saturating_add(Weight::from_parts(0, 13629)) - // Standard Error: 6_124 - .saturating_add(Weight::from_parts(86_133, 0).saturating_mul(r.into())) - // Standard Error: 1_195 - .saturating_add(Weight::from_parts(462_787, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 33_718_000 picoseconds. + Weight::from_parts(31_668_057, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_367 + .saturating_add(Weight::from_parts(143_558, 0).saturating_mul(r.into())) + // Standard Error: 657 + .saturating_add(Weight::from_parts(581_936, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -172,13 +176,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `398 + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 26_938_000 picoseconds. - Weight::from_parts(26_481_062, 0) + // Minimum execution time: 30_636_000 picoseconds. + Weight::from_parts(28_459_721, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 4_040 - .saturating_add(Weight::from_parts(74_333, 0).saturating_mul(r.into())) - // Standard Error: 788 - .saturating_add(Weight::from_parts(455_392, 0).saturating_mul(x.into())) + // Standard Error: 4_832 + .saturating_add(Weight::from_parts(159_732, 0).saturating_mul(r.into())) + // Standard Error: 942 + .saturating_add(Weight::from_parts(579_476, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -189,11 +193,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 8_173_000 picoseconds. - Weight::from_parts(8_620_743, 0) + // Minimum execution time: 8_125_000 picoseconds. + Weight::from_parts(8_553_625, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 2_076 - .saturating_add(Weight::from_parts(66_988, 0).saturating_mul(r.into())) + // Standard Error: 1_583 + .saturating_add(Weight::from_parts(73_536, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,11 +208,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_708_000 picoseconds. - Weight::from_parts(8_371_148, 0) + // Minimum execution time: 7_763_000 picoseconds. + Weight::from_parts(8_346_342, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_487 - .saturating_add(Weight::from_parts(85_715, 0).saturating_mul(r.into())) + // Standard Error: 1_201 + .saturating_add(Weight::from_parts(91_842, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,11 +223,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_461_000 picoseconds. - Weight::from_parts(8_095_682, 0) + // Minimum execution time: 7_723_000 picoseconds. + Weight::from_parts(8_204_849, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_224 - .saturating_add(Weight::from_parts(91_512, 0).saturating_mul(r.into())) + // Standard Error: 1_108 + .saturating_add(Weight::from_parts(92_461, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -236,14 +240,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `445 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `13629` - // Minimum execution time: 23_237_000 picoseconds. - Weight::from_parts(23_148_356, 0) - .saturating_add(Weight::from_parts(0, 13629)) - // Standard Error: 7_034 - .saturating_add(Weight::from_parts(60_384, 0).saturating_mul(r.into())) - // Standard Error: 1_301 - .saturating_add(Weight::from_parts(729_280, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 24_350_000 picoseconds. + Weight::from_parts(23_720_163, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_320 + .saturating_add(Weight::from_parts(104_731, 0).saturating_mul(r.into())) + // Standard Error: 614 + .saturating_add(Weight::from_parts(921_017, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -261,16 +265,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `21319` - // Minimum execution time: 62_305_000 picoseconds. - Weight::from_parts(43_824_574, 0) - .saturating_add(Weight::from_parts(0, 21319)) - // Standard Error: 6_762 - .saturating_add(Weight::from_parts(7_783, 0).saturating_mul(r.into())) - // Standard Error: 1_320 - .saturating_add(Weight::from_parts(1_084_810, 0).saturating_mul(s.into())) - // Standard Error: 1_320 - .saturating_add(Weight::from_parts(220_283, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 75_976_000 picoseconds. + Weight::from_parts(50_310_663, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 4_806 + .saturating_add(Weight::from_parts(31_739, 0).saturating_mul(r.into())) + // Standard Error: 938 + .saturating_add(Weight::from_parts(1_112_105, 0).saturating_mul(s.into())) + // Standard Error: 938 + .saturating_add(Weight::from_parts(283_478, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -285,12 +289,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `475 + s * (36 ±0)` - // Estimated: `21305` - // Minimum execution time: 26_054_000 picoseconds. - Weight::from_parts(31_294_326, 0) - .saturating_add(Weight::from_parts(0, 21305)) - // Standard Error: 1_490 - .saturating_add(Weight::from_parts(63_859, 0).saturating_mul(s.into())) + // Estimated: `11003` + // Minimum execution time: 29_386_000 picoseconds. + Weight::from_parts(34_499_738, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 1_335 + .saturating_add(Weight::from_parts(61_675, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -302,12 +306,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `591 + s * (3 ±0)` - // Estimated: `14582` - // Minimum execution time: 13_124_000 picoseconds. - Weight::from_parts(14_998_347, 0) - .saturating_add(Weight::from_parts(0, 14582)) - // Standard Error: 662 - .saturating_add(Weight::from_parts(18_822, 0).saturating_mul(s.into())) + // Estimated: `11003` + // Minimum execution time: 13_272_000 picoseconds. + Weight::from_parts(15_231_473, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 495 + .saturating_add(Weight::from_parts(17_738, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -321,12 +325,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `638 + s * (35 ±0)` - // Estimated: `21305` - // Minimum execution time: 29_801_000 picoseconds. - Weight::from_parts(33_494_677, 0) - .saturating_add(Weight::from_parts(0, 21305)) - // Standard Error: 1_121 - .saturating_add(Weight::from_parts(48_657, 0).saturating_mul(s.into())) + // Estimated: `11003` + // Minimum execution time: 33_170_000 picoseconds. + Weight::from_parts(36_126_492, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 862 + .saturating_add(Weight::from_parts(51_776, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -334,17 +338,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `564 + s * (37 ±0)` - // Estimated: `10302` - // Minimum execution time: 20_091_000 picoseconds. - Weight::from_parts(22_990_717, 0) - .saturating_add(Weight::from_parts(0, 10302)) - // Standard Error: 1_053 - .saturating_add(Weight::from_parts(53_947, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `704 + s * (37 ±0)` + // Estimated: `6723` + // Minimum execution time: 25_599_000 picoseconds. + Weight::from_parts(28_122_044, 0) + .saturating_add(Weight::from_parts(0, 6723)) + // Standard Error: 899 + .saturating_add(Weight::from_parts(56_791, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/polkadot/src/weights/pallet_im_online.rs b/runtime/polkadot/src/weights/pallet_im_online.rs index 4e73799b76f7..79e0eab4b650 100644 --- a/runtime/polkadot/src/weights/pallet_im_online.rs +++ b/runtime/polkadot/src/weights/pallet_im_online.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_im_online`. pub struct WeightInfo(PhantomData); @@ -60,17 +62,17 @@ impl pallet_im_online::WeightInfo for WeightInfo { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `361 + k * (32 ±0)` - // Estimated: `10349676 + e * (35 ±0) + k * (64 ±0)` - // Minimum execution time: 93_081_000 picoseconds. - Weight::from_parts(73_987_584, 0) - .saturating_add(Weight::from_parts(0, 10349676)) - // Standard Error: 265 - .saturating_add(Weight::from_parts(23_186, 0).saturating_mul(k.into())) - // Standard Error: 2_677 - .saturating_add(Weight::from_parts(385_390, 0).saturating_mul(e.into())) + // Estimated: `10024497 + e * (35 ±0) + k * (32 ±0)` + // Minimum execution time: 91_960_000 picoseconds. + Weight::from_parts(74_913_324, 0) + .saturating_add(Weight::from_parts(0, 10024497)) + // Standard Error: 296 + .saturating_add(Weight::from_parts(21_668, 0).saturating_mul(k.into())) + // Standard Error: 2_988 + .saturating_add(Weight::from_parts(385_610, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(k.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(k.into())) } } diff --git a/runtime/polkadot/src/weights/pallet_indices.rs b/runtime/polkadot/src/weights/pallet_indices.rs index c0416d8110c2..128357ab47d7 100644 --- a/runtime/polkadot/src/weights/pallet_indices.rs +++ b/runtime/polkadot/src/weights/pallet_indices.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_indices`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3534` - // Minimum execution time: 19_803_000 picoseconds. - Weight::from_parts(20_268_000, 0) + // Minimum execution time: 24_185_000 picoseconds. + Weight::from_parts(24_493_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,10 +66,10 @@ impl pallet_indices::WeightInfo for WeightInfo { fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `341` - // Estimated: `7127` - // Minimum execution time: 25_909_000 picoseconds. - Weight::from_parts(26_506_000, 0) - .saturating_add(Weight::from_parts(0, 7127)) + // Estimated: `3593` + // Minimum execution time: 34_784_000 picoseconds. + Weight::from_parts(35_261_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -77,8 +79,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3534` - // Minimum execution time: 21_587_000 picoseconds. - Weight::from_parts(21_867_000, 0) + // Minimum execution time: 24_962_000 picoseconds. + Weight::from_parts(25_545_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,10 +92,10 @@ impl pallet_indices::WeightInfo for WeightInfo { fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `341` - // Estimated: `7127` - // Minimum execution time: 24_681_000 picoseconds. - Weight::from_parts(25_015_000, 0) - .saturating_add(Weight::from_parts(0, 7127)) + // Estimated: `3593` + // Minimum execution time: 28_608_000 picoseconds. + Weight::from_parts(28_930_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -103,8 +105,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3534` - // Minimum execution time: 23_779_000 picoseconds. - Weight::from_parts(24_063_000, 0) + // Minimum execution time: 27_007_000 picoseconds. + Weight::from_parts(27_375_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/polkadot/src/weights/pallet_membership.rs b/runtime/polkadot/src/weights/pallet_membership.rs index fac39d4151aa..a0ea556607eb 100644 --- a/runtime/polkadot/src/weights/pallet_membership.rs +++ b/runtime/polkadot/src/weights/pallet_membership.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); @@ -57,15 +59,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `174 + m * (64 ±0)` - // Estimated: `6691 + m * (192 ±0)` - // Minimum execution time: 17_359_000 picoseconds. - Weight::from_parts(18_173_677, 0) - .saturating_add(Weight::from_parts(0, 6691)) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 16_839_000 picoseconds. + Weight::from_parts(17_630_628, 0) + .saturating_add(Weight::from_parts(0, 4687)) // Standard Error: 389 - .saturating_add(Weight::from_parts(35_085, 0).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(31_632, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -81,15 +83,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `278 + m * (64 ±0)` - // Estimated: `8520 + m * (192 ±0)` - // Minimum execution time: 19_931_000 picoseconds. - Weight::from_parts(20_950_239, 0) - .saturating_add(Weight::from_parts(0, 8520)) - // Standard Error: 514 - .saturating_add(Weight::from_parts(31_071, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 19_331_000 picoseconds. + Weight::from_parts(20_104_574, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 295 + .saturating_add(Weight::from_parts(33_088, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -105,15 +107,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `278 + m * (64 ±0)` - // Estimated: `8520 + m * (192 ±0)` - // Minimum execution time: 20_103_000 picoseconds. - Weight::from_parts(21_060_772, 0) - .saturating_add(Weight::from_parts(0, 8520)) - // Standard Error: 683 - .saturating_add(Weight::from_parts(49_542, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 19_606_000 picoseconds. + Weight::from_parts(20_218_095, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 392 + .saturating_add(Weight::from_parts(46_991, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -129,15 +131,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `278 + m * (64 ±0)` - // Estimated: `8520 + m * (192 ±0)` - // Minimum execution time: 19_104_000 picoseconds. - Weight::from_parts(21_237_054, 0) - .saturating_add(Weight::from_parts(0, 8520)) - // Standard Error: 767 - .saturating_add(Weight::from_parts(159_890, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 18_795_000 picoseconds. + Weight::from_parts(20_317_393, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 600 + .saturating_add(Weight::from_parts(159_109, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -153,15 +155,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `278 + m * (64 ±0)` - // Estimated: `8520 + m * (192 ±0)` - // Minimum execution time: 20_430_000 picoseconds. - Weight::from_parts(21_468_055, 0) - .saturating_add(Weight::from_parts(0, 8520)) - // Standard Error: 509 - .saturating_add(Weight::from_parts(45_843, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 19_759_000 picoseconds. + Weight::from_parts(20_536_622, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 655 + .saturating_add(Weight::from_parts(48_956, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:0) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -173,12 +175,12 @@ impl pallet_membership::WeightInfo for WeightInfo { fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `32 + m * (32 ±0)` - // Estimated: `4719 + m * (32 ±0)` - // Minimum execution time: 8_082_000 picoseconds. - Weight::from_parts(8_670_672, 0) - .saturating_add(Weight::from_parts(0, 4719)) - // Standard Error: 370 - .saturating_add(Weight::from_parts(8_577, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (32 ±0)` + // Minimum execution time: 7_856_000 picoseconds. + Weight::from_parts(8_296_058, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 226 + .saturating_add(Weight::from_parts(9_854, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -188,15 +190,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// Storage: TechnicalCommittee Prime (r:0 w:1) /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. - fn clear_prime(m: u32, ) -> Weight { + fn clear_prime(_m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_331_000 picoseconds. - Weight::from_parts(3_547_187, 0) + // Minimum execution time: 3_305_000 picoseconds. + Weight::from_parts(3_771_688, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 84 - .saturating_add(Weight::from_parts(714, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/polkadot/src/weights/pallet_multisig.rs b/runtime/polkadot/src/weights/pallet_multisig.rs index 65b044b93976..49de99c2f90d 100644 --- a/runtime/polkadot/src/weights/pallet_multisig.rs +++ b/runtime/polkadot/src/weights/pallet_multisig.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_multisig`. pub struct WeightInfo(PhantomData); @@ -50,11 +52,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_763_000 picoseconds. - Weight::from_parts(12_332_905, 0) + // Minimum execution time: 12_001_000 picoseconds. + Weight::from_parts(12_342_681, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(494, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(501, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -64,13 +66,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `267 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 36_295_000 picoseconds. - Weight::from_parts(32_052_492, 0) + // Minimum execution time: 39_904_000 picoseconds. + Weight::from_parts(34_408_264, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_348 - .saturating_add(Weight::from_parts(49_904, 0).saturating_mul(s.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_181, 0).saturating_mul(z.into())) + // Standard Error: 406 + .saturating_add(Weight::from_parts(62_083, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_215, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -82,13 +84,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `286` // Estimated: `6811` - // Minimum execution time: 27_416_000 picoseconds. - Weight::from_parts(21_742_435, 0) + // Minimum execution time: 26_822_000 picoseconds. + Weight::from_parts(21_737_670, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 394 - .saturating_add(Weight::from_parts(59_934, 0).saturating_mul(s.into())) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_148, 0).saturating_mul(z.into())) + // Standard Error: 276 + .saturating_add(Weight::from_parts(57_969, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_160, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -101,14 +103,14 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `392 + s * (33 ±0)` - // Estimated: `10404` - // Minimum execution time: 41_621_000 picoseconds. - Weight::from_parts(34_915_089, 0) - .saturating_add(Weight::from_parts(0, 10404)) - // Standard Error: 485 - .saturating_add(Weight::from_parts(73_141, 0).saturating_mul(s.into())) + // Estimated: `6811` + // Minimum execution time: 45_125_000 picoseconds. + Weight::from_parts(38_768_978, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 454 + .saturating_add(Weight::from_parts(72_002, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_217, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_196, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -119,11 +121,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `267 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 28_725_000 picoseconds. - Weight::from_parts(29_326_994, 0) + // Minimum execution time: 32_490_000 picoseconds. + Weight::from_parts(33_370_536, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 661 - .saturating_add(Weight::from_parts(65_599, 0).saturating_mul(s.into())) + // Standard Error: 1_271 + .saturating_add(Weight::from_parts(64_688, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -134,11 +136,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `286` // Estimated: `6811` - // Minimum execution time: 19_208_000 picoseconds. - Weight::from_parts(20_086_797, 0) + // Minimum execution time: 19_468_000 picoseconds. + Weight::from_parts(19_951_066, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 699 - .saturating_add(Weight::from_parts(54_418, 0).saturating_mul(s.into())) + // Standard Error: 329 + .saturating_add(Weight::from_parts(59_498, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -149,11 +151,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `458 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 29_217_000 picoseconds. - Weight::from_parts(30_489_686, 0) + // Minimum execution time: 33_449_000 picoseconds. + Weight::from_parts(34_150_024, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 641 - .saturating_add(Weight::from_parts(60_784, 0).saturating_mul(s.into())) + // Standard Error: 515 + .saturating_add(Weight::from_parts(63_867, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_nomination_pools.rs b/runtime/polkadot/src/weights/pallet_nomination_pools.rs index cb5ddb8cab51..0f4cc38b248f 100644 --- a/runtime/polkadot/src/weights/pallet_nomination_pools.rs +++ b/runtime/polkadot/src/weights/pallet_nomination_pools.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_nomination_pools`. pub struct WeightInfo(PhantomData); @@ -69,6 +71,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -76,11 +80,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn join() -> Weight { // Proof Size summary in bytes: // Measured: `3195` - // Estimated: `52915` - // Minimum execution time: 153_317_000 picoseconds. - Weight::from_parts(155_205_000, 0) - .saturating_add(Weight::from_parts(0, 52915)) - .saturating_add(T::DbWeight::get().reads(18)) + // Estimated: `8877` + // Minimum execution time: 178_309_000 picoseconds. + Weight::from_parts(179_641_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().writes(12)) } /// Storage: NominationPools PoolMembers (r:1 w:1) @@ -99,6 +103,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -106,11 +112,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn bond_extra_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `3205` - // Estimated: `49550` - // Minimum execution time: 152_349_000 picoseconds. - Weight::from_parts(153_577_000, 0) - .saturating_add(Weight::from_parts(0, 49550)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `8877` + // Minimum execution time: 175_666_000 picoseconds. + Weight::from_parts(176_990_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(12)) } /// Storage: NominationPools ClaimPermissions (r:1 w:0) @@ -131,6 +137,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:2 w:2) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -138,11 +146,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn bond_extra_other() -> Weight { // Proof Size summary in bytes: // Measured: `3152` - // Estimated: `50427` - // Minimum execution time: 163_676_000 picoseconds. - Weight::from_parts(164_543_000, 0) - .saturating_add(Weight::from_parts(0, 50427)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `8799` + // Minimum execution time: 201_507_000 picoseconds. + Weight::from_parts(203_718_000, 0) + .saturating_add(Weight::from_parts(0, 8799)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(12)) } /// Storage: NominationPools ClaimPermissions (r:1 w:0) @@ -160,10 +168,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn claim_payout() -> Weight { // Proof Size summary in bytes: // Measured: `1137` - // Estimated: `20012` - // Minimum execution time: 60_510_000 picoseconds. - Weight::from_parts(60_899_000, 0) - .saturating_add(Weight::from_parts(0, 20012)) + // Estimated: `4182` + // Minimum execution time: 76_474_000 picoseconds. + Weight::from_parts(77_278_000, 0) + .saturating_add(Weight::from_parts(0, 4182)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -189,6 +197,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -200,11 +210,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn unbond() -> Weight { // Proof Size summary in bytes: // Measured: `3475` - // Estimated: `60111` - // Minimum execution time: 160_499_000 picoseconds. - Weight::from_parts(165_823_000, 0) - .saturating_add(Weight::from_parts(0, 60111)) - .saturating_add(T::DbWeight::get().reads(19)) + // Estimated: `8877` + // Minimum execution time: 162_111_000 picoseconds. + Weight::from_parts(163_349_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(13)) } /// Storage: NominationPools BondedPools (r:1 w:0) @@ -217,17 +227,19 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1580` - // Estimated: `18031` - // Minimum execution time: 54_267_000 picoseconds. - Weight::from_parts(55_820_843, 0) - .saturating_add(Weight::from_parts(0, 18031)) - // Standard Error: 986 - .saturating_add(Weight::from_parts(3_879, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4764` + // Minimum execution time: 61_466_000 picoseconds. + Weight::from_parts(62_786_066, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 620 + .saturating_add(Weight::from_parts(8_791, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: NominationPools PoolMembers (r:1 w:1) @@ -244,6 +256,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: NominationPools CounterForPoolMembers (r:1 w:1) @@ -254,13 +268,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2008` - // Estimated: `31957` - // Minimum execution time: 103_090_000 picoseconds. - Weight::from_parts(104_931_057, 0) - .saturating_add(Weight::from_parts(0, 31957)) - // Standard Error: 1_513 - .saturating_add(Weight::from_parts(19_309, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(9)) + // Estimated: `4764` + // Minimum execution time: 125_403_000 picoseconds. + Weight::from_parts(127_091_357, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 803 + .saturating_add(Weight::from_parts(21_067, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: NominationPools PoolMembers (r:1 w:1) @@ -285,6 +299,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: NominationPools CounterForPoolMembers (r:1 w:1) /// Proof: NominationPools CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: NominationPools ReversePoolIdLookup (r:1 w:1) @@ -309,11 +325,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn withdraw_unbonded_kill(_s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2364` - // Estimated: `64679` - // Minimum execution time: 162_339_000 picoseconds. - Weight::from_parts(165_469_959, 0) - .saturating_add(Weight::from_parts(0, 64679)) - .saturating_add(T::DbWeight::get().reads(20)) + // Estimated: `6196` + // Minimum execution time: 208_207_000 picoseconds. + Weight::from_parts(210_990_743, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(21)) .saturating_add(T::DbWeight::get().writes(18)) } /// Storage: NominationPools LastPoolId (r:1 w:1) @@ -346,6 +362,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: NominationPools RewardPools (r:1 w:1) /// Proof: NominationPools RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: NominationPools CounterForRewardPools (r:1 w:1) @@ -361,11 +379,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn create() -> Weight { // Proof Size summary in bytes: // Measured: `1188` - // Estimated: `51890` - // Minimum execution time: 142_161_000 picoseconds. - Weight::from_parts(144_156_000, 0) - .saturating_add(Weight::from_parts(0, 51890)) - .saturating_add(T::DbWeight::get().reads(21)) + // Estimated: `6196` + // Minimum execution time: 180_431_000 picoseconds. + Weight::from_parts(181_573_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(22)) .saturating_add(T::DbWeight::get().writes(15)) } /// Storage: NominationPools BondedPools (r:1 w:0) @@ -396,12 +414,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1745` - // Estimated: `33934 + n * (2520 ±0)` - // Minimum execution time: 66_947_000 picoseconds. - Weight::from_parts(67_531_417, 0) - .saturating_add(Weight::from_parts(0, 33934)) - // Standard Error: 7_943 - .saturating_add(Weight::from_parts(1_375_518, 0).saturating_mul(n.into())) + // Estimated: `4556 + n * (2520 ±0)` + // Minimum execution time: 67_090_000 picoseconds. + Weight::from_parts(66_755_425, 0) + .saturating_add(Weight::from_parts(0, 4556)) + // Standard Error: 3_916 + .saturating_add(Weight::from_parts(1_387_994, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -416,10 +434,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_state() -> Weight { // Proof Size summary in bytes: // Measured: `1333` - // Estimated: `11778` - // Minimum execution time: 34_254_000 picoseconds. - Weight::from_parts(34_690_000, 0) - .saturating_add(Weight::from_parts(0, 11778)) + // Estimated: `4556` + // Minimum execution time: 33_965_000 picoseconds. + Weight::from_parts(34_483_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -433,12 +451,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_metadata(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `497` - // Estimated: `8909` - // Minimum execution time: 15_060_000 picoseconds. - Weight::from_parts(15_636_930, 0) - .saturating_add(Weight::from_parts(0, 8909)) - // Standard Error: 239 - .saturating_add(Weight::from_parts(2_097, 0).saturating_mul(n.into())) + // Estimated: `3735` + // Minimum execution time: 15_127_000 picoseconds. + Weight::from_parts(15_608_961, 0) + .saturating_add(Weight::from_parts(0, 3735)) + // Standard Error: 66 + .saturating_add(Weight::from_parts(1_301, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -458,8 +476,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_224_000 picoseconds. - Weight::from_parts(6_449_000, 0) + // Minimum execution time: 6_484_000 picoseconds. + Weight::from_parts(6_662_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -469,8 +487,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `497` // Estimated: `3685` - // Minimum execution time: 20_975_000 picoseconds. - Weight::from_parts(21_379_000, 0) + // Minimum execution time: 20_891_000 picoseconds. + Weight::from_parts(21_010_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -496,10 +514,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn chill() -> Weight { // Proof Size summary in bytes: // Measured: `1908` - // Estimated: `29455` - // Minimum execution time: 66_803_000 picoseconds. - Weight::from_parts(67_694_000, 0) - .saturating_add(Weight::from_parts(0, 29455)) + // Estimated: `4556` + // Minimum execution time: 65_130_000 picoseconds. + Weight::from_parts(65_774_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -514,10 +532,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_commission() -> Weight { // Proof Size summary in bytes: // Measured: `736` - // Estimated: `12324` - // Minimum execution time: 33_778_000 picoseconds. - Weight::from_parts(34_088_000, 0) - .saturating_add(Weight::from_parts(0, 12324)) + // Estimated: `3685` + // Minimum execution time: 33_051_000 picoseconds. + Weight::from_parts(33_416_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -527,8 +545,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `537` // Estimated: `3685` - // Minimum execution time: 19_949_000 picoseconds. - Weight::from_parts(20_153_000, 0) + // Minimum execution time: 19_540_000 picoseconds. + Weight::from_parts(20_028_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -539,8 +557,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `497` // Estimated: `3685` - // Minimum execution time: 20_431_000 picoseconds. - Weight::from_parts(20_881_000, 0) + // Minimum execution time: 20_459_000 picoseconds. + Weight::from_parts(20_960_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -552,10 +570,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_claim_permission() -> Weight { // Proof Size summary in bytes: // Measured: `508` - // Estimated: `7688` - // Minimum execution time: 15_214_000 picoseconds. - Weight::from_parts(15_524_000, 0) - .saturating_add(Weight::from_parts(0, 7688)) + // Estimated: `4182` + // Minimum execution time: 15_522_000 picoseconds. + Weight::from_parts(15_789_000, 0) + .saturating_add(Weight::from_parts(0, 4182)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -570,10 +588,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn claim_commission() -> Weight { // Proof Size summary in bytes: // Measured: `934` - // Estimated: `12324` - // Minimum execution time: 45_053_000 picoseconds. - Weight::from_parts(45_573_000, 0) - .saturating_add(Weight::from_parts(0, 12324)) + // Estimated: `3685` + // Minimum execution time: 60_545_000 picoseconds. + Weight::from_parts(61_127_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/polkadot/src/weights/pallet_preimage.rs b/runtime/polkadot/src/weights/pallet_preimage.rs index 9d5a5a1fcf82..3008689c2374 100644 --- a/runtime/polkadot/src/weights/pallet_preimage.rs +++ b/runtime/polkadot/src/weights/pallet_preimage.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); @@ -54,11 +56,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3556` - // Minimum execution time: 26_903_000 picoseconds. - Weight::from_parts(27_190_000, 0) + // Minimum execution time: 29_965_000 picoseconds. + Weight::from_parts(30_292_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_973, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_972, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -71,11 +73,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 17_548_000 picoseconds. - Weight::from_parts(17_666_000, 0) + // Minimum execution time: 17_381_000 picoseconds. + Weight::from_parts(17_538_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_967, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_973, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,11 +90,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 15_790_000 picoseconds. - Weight::from_parts(16_099_000, 0) + // Minimum execution time: 16_555_000 picoseconds. + Weight::from_parts(16_819_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_969, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_995, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -104,8 +106,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `289` // Estimated: `3556` - // Minimum execution time: 33_266_000 picoseconds. - Weight::from_parts(34_064_000, 0) + // Minimum execution time: 38_599_000 picoseconds. + Weight::from_parts(39_657_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -118,8 +120,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 22_796_000 picoseconds. - Weight::from_parts(23_386_000, 0) + // Minimum execution time: 23_987_000 picoseconds. + Weight::from_parts(25_330_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -130,8 +132,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `188` // Estimated: `3556` - // Minimum execution time: 19_426_000 picoseconds. - Weight::from_parts(20_293_000, 0) + // Minimum execution time: 20_782_000 picoseconds. + Weight::from_parts(21_380_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -142,8 +144,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 12_514_000 picoseconds. - Weight::from_parts(13_218_000, 0) + // Minimum execution time: 14_203_000 picoseconds. + Weight::from_parts(14_802_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -154,8 +156,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3556` - // Minimum execution time: 13_987_000 picoseconds. - Weight::from_parts(14_548_000, 0) + // Minimum execution time: 14_532_000 picoseconds. + Weight::from_parts(15_179_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,8 +168,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 8_946_000 picoseconds. - Weight::from_parts(9_307_000, 0) + // Minimum execution time: 9_519_000 picoseconds. + Weight::from_parts(9_763_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -180,8 +182,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 21_083_000 picoseconds. - Weight::from_parts(21_862_000, 0) + // Minimum execution time: 22_338_000 picoseconds. + Weight::from_parts(23_418_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -192,8 +194,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 8_890_000 picoseconds. - Weight::from_parts(9_259_000, 0) + // Minimum execution time: 9_214_000 picoseconds. + Weight::from_parts(9_623_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -204,8 +206,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 8_792_000 picoseconds. - Weight::from_parts(9_369_000, 0) + // Minimum execution time: 9_601_000 picoseconds. + Weight::from_parts(9_822_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/polkadot/src/weights/pallet_proxy.rs b/runtime/polkadot/src/weights/pallet_proxy.rs index 569416e14bc9..493c6f1d5b60 100644 --- a/runtime/polkadot/src/weights/pallet_proxy.rs +++ b/runtime/polkadot/src/weights/pallet_proxy.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); @@ -52,11 +54,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 15_240_000 picoseconds. - Weight::from_parts(16_156_554, 0) + // Minimum execution time: 16_101_000 picoseconds. + Weight::from_parts(16_515_678, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_183 - .saturating_add(Weight::from_parts(31_488, 0).saturating_mul(p.into())) + // Standard Error: 794 + .saturating_add(Weight::from_parts(37_136, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -70,14 +72,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `554 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `13997` - // Minimum execution time: 33_768_000 picoseconds. - Weight::from_parts(34_423_100, 0) - .saturating_add(Weight::from_parts(0, 13997)) - // Standard Error: 1_930 - .saturating_add(Weight::from_parts(146_962, 0).saturating_mul(a.into())) - // Standard Error: 1_994 - .saturating_add(Weight::from_parts(30_433, 0).saturating_mul(p.into())) + // Estimated: `5698` + // Minimum execution time: 37_576_000 picoseconds. + Weight::from_parts(37_525_253, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 1_394 + .saturating_add(Weight::from_parts(137_999, 0).saturating_mul(a.into())) + // Standard Error: 1_441 + .saturating_add(Weight::from_parts(23_449, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -90,12 +92,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + a * (68 ±0)` - // Estimated: `9291` - // Minimum execution time: 21_123_000 picoseconds. - Weight::from_parts(22_386_093, 0) - .saturating_add(Weight::from_parts(0, 9291)) - // Standard Error: 1_359 - .saturating_add(Weight::from_parts(145_403, 0).saturating_mul(a.into())) + // Estimated: `5698` + // Minimum execution time: 24_275_000 picoseconds. + Weight::from_parts(24_979_776, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 1_149 + .saturating_add(Weight::from_parts(136_848, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -108,12 +110,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + a * (68 ±0)` - // Estimated: `9291` - // Minimum execution time: 21_494_000 picoseconds. - Weight::from_parts(22_643_298, 0) - .saturating_add(Weight::from_parts(0, 9291)) - // Standard Error: 1_356 - .saturating_add(Weight::from_parts(139_061, 0).saturating_mul(a.into())) + // Estimated: `5698` + // Minimum execution time: 24_242_000 picoseconds. + Weight::from_parts(25_030_927, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 1_180 + .saturating_add(Weight::from_parts(135_561, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -128,14 +130,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `486 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `13997` - // Minimum execution time: 29_471_000 picoseconds. - Weight::from_parts(31_139_616, 0) - .saturating_add(Weight::from_parts(0, 13997)) - // Standard Error: 2_327 - .saturating_add(Weight::from_parts(134_479, 0).saturating_mul(a.into())) - // Standard Error: 2_404 - .saturating_add(Weight::from_parts(27_990, 0).saturating_mul(p.into())) + // Estimated: `5698` + // Minimum execution time: 33_395_000 picoseconds. + Weight::from_parts(33_142_225, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 1_104 + .saturating_add(Weight::from_parts(148_838, 0).saturating_mul(a.into())) + // Standard Error: 1_140 + .saturating_add(Weight::from_parts(31_693, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -146,11 +148,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_663_000 picoseconds. - Weight::from_parts(23_437_086, 0) + // Minimum execution time: 24_951_000 picoseconds. + Weight::from_parts(25_414_045, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_534 - .saturating_add(Weight::from_parts(51_713, 0).saturating_mul(p.into())) + // Standard Error: 834 + .saturating_add(Weight::from_parts(59_343, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,11 +163,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_175_000 picoseconds. - Weight::from_parts(23_236_442, 0) + // Minimum execution time: 24_659_000 picoseconds. + Weight::from_parts(25_596_226, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_888 - .saturating_add(Weight::from_parts(63_413, 0).saturating_mul(p.into())) + // Standard Error: 1_444 + .saturating_add(Weight::from_parts(60_861, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -176,24 +178,26 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 17_652_000 picoseconds. - Weight::from_parts(18_389_443, 0) + // Minimum execution time: 22_230_000 picoseconds. + Weight::from_parts(22_169_168, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_218 - .saturating_add(Weight::from_parts(34_491, 0).saturating_mul(p.into())) + // Standard Error: 9_592 + .saturating_add(Weight::from_parts(85_245, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Proxy Proxies (r:1 w:1) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. - fn create_pure(_p: u32, ) -> Weight { + fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239` // Estimated: `4706` - // Minimum execution time: 24_392_000 picoseconds. - Weight::from_parts(25_664_761, 0) + // Minimum execution time: 26_832_000 picoseconds. + Weight::from_parts(27_849_531, 0) .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 7_211 + .saturating_add(Weight::from_parts(13_085, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,11 +208,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `264 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 18_839_000 picoseconds. - Weight::from_parts(19_781_900, 0) + // Minimum execution time: 23_046_000 picoseconds. + Weight::from_parts(23_666_725, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_148 - .saturating_add(Weight::from_parts(26_532, 0).saturating_mul(p.into())) + // Standard Error: 840 + .saturating_add(Weight::from_parts(30_315, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_referenda.rs b/runtime/polkadot/src/weights/pallet_referenda.rs index 2569c88f36b2..469433b17dbc 100644 --- a/runtime/polkadot/src/weights/pallet_referenda.rs +++ b/runtime/polkadot/src/weights/pallet_referenda.rs @@ -13,21 +13,22 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_referenda` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `1`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `cob`, CPU: `` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/polkadot +// ./target/production/polkadot // benchmark // pallet // --chain=polkadot-dev -// --steps=1 -// --repeat=1 +// --steps=50 +// --repeat=20 // --pallet=pallet_referenda // --extrinsic=* // --execution=wasm @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_referenda`. pub struct WeightInfo(PhantomData); @@ -53,11 +55,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn submit() -> Weight { // Proof Size summary in bytes: - // Measured: `290` - // Estimated: `43917` - // Minimum execution time: 54_000_000 picoseconds. - Weight::from_parts(54_000_000, 0) - .saturating_add(Weight::from_parts(0, 43917)) + // Measured: `258` + // Estimated: `42428` + // Minimum execution time: 40_492_000 picoseconds. + Weight::from_parts(41_242_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -67,11 +69,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn place_decision_deposit_preparing() -> Weight { // Proof Size summary in bytes: - // Measured: `575` - // Estimated: `88267` - // Minimum execution time: 64_000_000 picoseconds. - Weight::from_parts(64_000_000, 0) - .saturating_add(Weight::from_parts(0, 88267)) + // Measured: `511` + // Estimated: `83866` + // Minimum execution time: 52_228_000 picoseconds. + Weight::from_parts(52_663_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -83,11 +85,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) fn place_decision_deposit_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3203` - // Estimated: `13357` - // Minimum execution time: 82_000_000 picoseconds. - Weight::from_parts(82_000_000, 0) - .saturating_add(Weight::from_parts(0, 13357)) + // Measured: `3107` + // Estimated: `5477` + // Minimum execution time: 47_524_000 picoseconds. + Weight::from_parts(47_888_000, 0) + .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,11 +101,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) fn place_decision_deposit_not_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3223` - // Estimated: `13357` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(59_000_000, 0) - .saturating_add(Weight::from_parts(0, 13357)) + // Measured: `3127` + // Estimated: `5477` + // Minimum execution time: 47_223_000 picoseconds. + Weight::from_parts(47_762_000, 0) + .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,11 +119,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn place_decision_deposit_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `575` - // Estimated: `93247` - // Minimum execution time: 142_000_000 picoseconds. - Weight::from_parts(142_000_000, 0) - .saturating_add(Weight::from_parts(0, 93247)) + // Measured: `511` + // Estimated: `83866` + // Minimum execution time: 62_475_000 picoseconds. + Weight::from_parts(63_577_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -133,11 +135,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn place_decision_deposit_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `482` - // Estimated: `9381` - // Minimum execution time: 54_000_000 picoseconds. - Weight::from_parts(54_000_000, 0) - .saturating_add(Weight::from_parts(0, 9381)) + // Measured: `418` + // Estimated: `4401` + // Minimum execution time: 41_823_000 picoseconds. + Weight::from_parts(42_291_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -145,10 +147,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn refund_decision_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `415` + // Measured: `351` // Estimated: `4401` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) + // Minimum execution time: 31_300_000 picoseconds. + Weight::from_parts(31_694_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -157,10 +159,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn refund_submission_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `405` + // Measured: `341` // Estimated: `4401` - // Minimum execution time: 36_000_000 picoseconds. - Weight::from_parts(36_000_000, 0) + // Minimum execution time: 30_829_000 picoseconds. + Weight::from_parts(31_385_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -171,11 +173,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `451` - // Estimated: `88267` - // Minimum execution time: 52_000_000 picoseconds. - Weight::from_parts(52_000_000, 0) - .saturating_add(Weight::from_parts(0, 88267)) + // Measured: `419` + // Estimated: `83866` + // Minimum execution time: 39_038_000 picoseconds. + Weight::from_parts(39_493_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -187,11 +189,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn kill() -> Weight { // Proof Size summary in bytes: - // Measured: `756` - // Estimated: `91784` - // Minimum execution time: 141_000_000 picoseconds. - Weight::from_parts(141_000_000, 0) - .saturating_add(Weight::from_parts(0, 91784)) + // Measured: `660` + // Estimated: `83866` + // Minimum execution time: 99_148_000 picoseconds. + Weight::from_parts(99_945_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -202,10 +204,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { fn one_fewer_deciding_queue_empty() -> Weight { // Proof Size summary in bytes: // Measured: `174` - // Estimated: `8956` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) - .saturating_add(Weight::from_parts(0, 8956)) + // Estimated: `5477` + // Minimum execution time: 9_857_000 picoseconds. + Weight::from_parts(10_060_000, 0) + .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,11 +221,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn one_fewer_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `3972` - // Estimated: `95245` - // Minimum execution time: 139_000_000 picoseconds. - Weight::from_parts(139_000_000, 0) - .saturating_add(Weight::from_parts(0, 95245)) + // Measured: `3877` + // Estimated: `83866` + // Minimum execution time: 108_983_000 picoseconds. + Weight::from_parts(109_674_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -237,11 +239,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn one_fewer_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `3972` - // Estimated: `95245` - // Minimum execution time: 153_000_000 picoseconds. - Weight::from_parts(153_000_000, 0) - .saturating_add(Weight::from_parts(0, 95245)) + // Measured: `3877` + // Estimated: `83866` + // Minimum execution time: 111_651_000 picoseconds. + Weight::from_parts(112_150_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -253,11 +255,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_requeued_insertion() -> Weight { // Proof Size summary in bytes: - // Measured: `3990` - // Estimated: `52306` - // Minimum execution time: 82_000_000 picoseconds. - Weight::from_parts(82_000_000, 0) - .saturating_add(Weight::from_parts(0, 52306)) + // Measured: `3895` + // Estimated: `42428` + // Minimum execution time: 58_706_000 picoseconds. + Weight::from_parts(59_075_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -269,11 +271,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_requeued_slide() -> Weight { // Proof Size summary in bytes: - // Measured: `3990` - // Estimated: `52306` - // Minimum execution time: 76_000_000 picoseconds. - Weight::from_parts(76_000_000, 0) - .saturating_add(Weight::from_parts(0, 52306)) + // Measured: `3895` + // Estimated: `42428` + // Minimum execution time: 58_178_000 picoseconds. + Weight::from_parts(59_016_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -287,11 +289,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3964` - // Estimated: `55785` - // Minimum execution time: 108_000_000 picoseconds. - Weight::from_parts(108_000_000, 0) - .saturating_add(Weight::from_parts(0, 55785)) + // Measured: `3869` + // Estimated: `42428` + // Minimum execution time: 60_717_000 picoseconds. + Weight::from_parts(61_235_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -305,11 +307,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_not_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3984` - // Estimated: `55785` - // Minimum execution time: 85_000_000 picoseconds. - Weight::from_parts(85_000_000, 0) - .saturating_add(Weight::from_parts(0, 55785)) + // Measured: `3889` + // Estimated: `42428` + // Minimum execution time: 60_100_000 picoseconds. + Weight::from_parts(60_772_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -319,11 +321,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_no_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `403` - // Estimated: `46829` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(37_000_000, 0) - .saturating_add(Weight::from_parts(0, 46829)) + // Measured: `371` + // Estimated: `42428` + // Minimum execution time: 26_329_000 picoseconds. + Weight::from_parts(26_670_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -333,11 +335,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_preparing() -> Weight { // Proof Size summary in bytes: - // Measured: `451` - // Estimated: `46829` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) - .saturating_add(Weight::from_parts(0, 46829)) + // Measured: `419` + // Estimated: `42428` + // Minimum execution time: 26_902_000 picoseconds. + Weight::from_parts(27_151_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -345,10 +347,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn nudge_referendum_timed_out() -> Weight { // Proof Size summary in bytes: - // Measured: `310` + // Measured: `278` // Estimated: `4401` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(22_000_000, 0) + // Minimum execution time: 18_461_000 picoseconds. + Weight::from_parts(18_646_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -363,11 +365,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `451` - // Estimated: `51809` - // Minimum execution time: 46_000_000 picoseconds. - Weight::from_parts(46_000_000, 0) - .saturating_add(Weight::from_parts(0, 51809)) + // Measured: `419` + // Estimated: `42428` + // Minimum execution time: 36_446_000 picoseconds. + Weight::from_parts(36_714_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -381,11 +383,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `451` - // Estimated: `51809` - // Minimum execution time: 49_000_000 picoseconds. - Weight::from_parts(49_000_000, 0) - .saturating_add(Weight::from_parts(0, 51809)) + // Measured: `419` + // Estimated: `42428` + // Minimum execution time: 38_361_000 picoseconds. + Weight::from_parts(38_745_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -397,11 +399,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `504` - // Estimated: `48330` - // Minimum execution time: 39_000_000 picoseconds. - Weight::from_parts(39_000_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) + // Measured: `472` + // Estimated: `42428` + // Minimum execution time: 31_495_000 picoseconds. + Weight::from_parts(31_677_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -413,11 +415,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_end_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `487` - // Estimated: `48330` - // Minimum execution time: 41_000_000 picoseconds. - Weight::from_parts(41_000_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) + // Measured: `455` + // Estimated: `42428` + // Minimum execution time: 32_112_000 picoseconds. + Weight::from_parts(32_616_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -429,11 +431,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_continue_not_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `504` - // Estimated: `48330` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(34_000_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) + // Measured: `472` + // Estimated: `42428` + // Minimum execution time: 29_866_000 picoseconds. + Weight::from_parts(30_155_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -445,11 +447,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_continue_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `508` - // Estimated: `48330` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) + // Measured: `476` + // Estimated: `42428` + // Minimum execution time: 28_575_000 picoseconds. + Weight::from_parts(28_967_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -463,11 +465,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn nudge_referendum_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `508` - // Estimated: `93281` - // Minimum execution time: 73_000_000 picoseconds. - Weight::from_parts(73_000_000, 0) - .saturating_add(Weight::from_parts(0, 93281)) + // Measured: `476` + // Estimated: `83866` + // Minimum execution time: 43_590_000 picoseconds. + Weight::from_parts(43_932_000, 0) + .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -479,11 +481,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_rejected() -> Weight { // Proof Size summary in bytes: - // Measured: `504` - // Estimated: `48330` - // Minimum execution time: 40_000_000 picoseconds. - Weight::from_parts(40_000_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) + // Measured: `472` + // Estimated: `42428` + // Minimum execution time: 31_730_000 picoseconds. + Weight::from_parts(32_179_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -495,11 +497,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn set_some_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `454` - // Estimated: `7957` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(25_000_000, 0) - .saturating_add(Weight::from_parts(0, 7957)) + // Measured: `422` + // Estimated: `4401` + // Minimum execution time: 21_380_000 picoseconds. + Weight::from_parts(21_710_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -509,11 +511,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `387` - // Estimated: `7918` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(22_000_000, 0) - .saturating_add(Weight::from_parts(0, 7918)) + // Measured: `355` + // Estimated: `4401` + // Minimum execution time: 19_134_000 picoseconds. + Weight::from_parts(19_371_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_scheduler.rs b/runtime/polkadot/src/weights/pallet_scheduler.rs index ca161203f0d0..08981a7317d9 100644 --- a/runtime/polkadot/src/weights/pallet_scheduler.rs +++ b/runtime/polkadot/src/weights/pallet_scheduler.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69` // Estimated: `1489` - // Minimum execution time: 4_858_000 picoseconds. - Weight::from_parts(5_072_000, 0) + // Minimum execution time: 4_695_000 picoseconds. + Weight::from_parts(4_920_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,11 +66,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 4_519_000 picoseconds. - Weight::from_parts(7_811_863, 0) + // Minimum execution time: 4_357_000 picoseconds. + Weight::from_parts(7_348_573, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_079 - .saturating_add(Weight::from_parts(766_213, 0).saturating_mul(s.into())) + // Standard Error: 1_877 + .saturating_add(Weight::from_parts(773_084, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,8 +78,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_627_000 picoseconds. - Weight::from_parts(5_756_000, 0) + // Minimum execution time: 5_710_000 picoseconds. + Weight::from_parts(5_868_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -88,12 +90,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` - // Estimated: `7200 + s * (1 ±0)` - // Minimum execution time: 19_882_000 picoseconds. - Weight::from_parts(20_080_000, 0) - .saturating_add(Weight::from_parts(0, 7200)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_169, 0).saturating_mul(s.into())) + // Estimated: `3644 + s * (1 ±0)` + // Minimum execution time: 19_848_000 picoseconds. + Weight::from_parts(20_259_000, 0) + .saturating_add(Weight::from_parts(0, 3644)) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_226, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -104,8 +106,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_189_000 picoseconds. - Weight::from_parts(7_300_000, 0) + // Minimum execution time: 7_370_000 picoseconds. + Weight::from_parts(7_653_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,24 +115,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_591_000 picoseconds. - Weight::from_parts(5_846_000, 0) + // Minimum execution time: 5_803_000 picoseconds. + Weight::from_parts(5_873_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_829_000 picoseconds. - Weight::from_parts(2_934_000, 0) + // Minimum execution time: 2_939_000 picoseconds. + Weight::from_parts(3_021_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_882_000 picoseconds. - Weight::from_parts(3_011_000, 0) + // Minimum execution time: 2_995_000 picoseconds. + Weight::from_parts(3_113_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -140,11 +142,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 14_713_000 picoseconds. - Weight::from_parts(17_974_480, 0) + // Minimum execution time: 14_757_000 picoseconds. + Weight::from_parts(17_631_074, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_070 - .saturating_add(Weight::from_parts(764_707, 0).saturating_mul(s.into())) + // Standard Error: 1_677 + .saturating_add(Weight::from_parts(766_111, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -157,11 +159,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 18_767_000 picoseconds. - Weight::from_parts(18_850_698, 0) + // Minimum execution time: 18_761_000 picoseconds. + Weight::from_parts(18_420_116, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_413 - .saturating_add(Weight::from_parts(1_357_448, 0).saturating_mul(s.into())) + // Standard Error: 1_666 + .saturating_add(Weight::from_parts(1_354_670, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -173,12 +175,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 17_916_000 picoseconds. - Weight::from_parts(22_059_321, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 2_824 - .saturating_add(Weight::from_parts(799_039, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 17_835_000 picoseconds. + Weight::from_parts(21_777_505, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_594 + .saturating_add(Weight::from_parts(798_907, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -190,12 +192,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `319 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 20_119_000 picoseconds. - Weight::from_parts(20_649_613, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 2_688 - .saturating_add(Weight::from_parts(1_382_906, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 20_134_000 picoseconds. + Weight::from_parts(20_484_577, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_048 + .saturating_add(Weight::from_parts(1_381_001, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/polkadot/src/weights/pallet_session.rs b/runtime/polkadot/src/weights/pallet_session.rs index 16ea3ebef7c6..410a80a553a0 100644 --- a/runtime/polkadot/src/weights/pallet_session.rs +++ b/runtime/polkadot/src/weights/pallet_session.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); @@ -54,10 +56,10 @@ impl pallet_session::WeightInfo for WeightInfo { fn set_keys() -> Weight { // Proof Size summary in bytes: // Measured: `1887` - // Estimated: `27635` - // Minimum execution time: 52_350_000 picoseconds. - Weight::from_parts(53_422_000, 0) - .saturating_add(Weight::from_parts(0, 27635)) + // Estimated: `17727` + // Minimum execution time: 51_984_000 picoseconds. + Weight::from_parts(52_729_000, 0) + .saturating_add(Weight::from_parts(0, 17727)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -70,10 +72,10 @@ impl pallet_session::WeightInfo for WeightInfo { fn purge_keys() -> Weight { // Proof Size summary in bytes: // Measured: `1751` - // Estimated: `11523` - // Minimum execution time: 36_833_000 picoseconds. - Weight::from_parts(37_834_000, 0) - .saturating_add(Weight::from_parts(0, 11523)) + // Estimated: `5216` + // Minimum execution time: 36_903_000 picoseconds. + Weight::from_parts(37_094_000, 0) + .saturating_add(Weight::from_parts(0, 5216)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/polkadot/src/weights/pallet_staking.rs b/runtime/polkadot/src/weights/pallet_staking.rs index 8e6b123bab9b..59c90ebae076 100644 --- a/runtime/polkadot/src/weights/pallet_staking.rs +++ b/runtime/polkadot/src/weights/pallet_staking.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_staking`. pub struct WeightInfo(PhantomData); @@ -53,16 +55,18 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:1) /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) fn bond() -> Weight { // Proof Size summary in bytes: // Measured: `980` - // Estimated: `14346` - // Minimum execution time: 42_906_000 picoseconds. - Weight::from_parts(43_417_000, 0) - .saturating_add(Weight::from_parts(0, 14346)) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `4764` + // Minimum execution time: 52_010_000 picoseconds. + Weight::from_parts(52_752_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Staking Bonded (r:1 w:0) @@ -71,6 +75,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -78,11 +84,11 @@ impl pallet_staking::WeightInfo for WeightInfo { fn bond_extra() -> Weight { // Proof Size summary in bytes: // Measured: `1925` - // Estimated: `27838` - // Minimum execution time: 81_967_000 picoseconds. - Weight::from_parts(84_380_000, 0) - .saturating_add(Weight::from_parts(0, 27838)) - .saturating_add(T::DbWeight::get().reads(8)) + // Estimated: `8877` + // Minimum execution time: 91_059_000 picoseconds. + Weight::from_parts(92_365_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: Staking Ledger (r:1 w:1) @@ -95,6 +101,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) @@ -106,11 +114,11 @@ impl pallet_staking::WeightInfo for WeightInfo { fn unbond() -> Weight { // Proof Size summary in bytes: // Measured: `2132` - // Estimated: `38444` - // Minimum execution time: 89_783_000 picoseconds. - Weight::from_parts(91_329_000, 0) - .saturating_add(Weight::from_parts(0, 38444)) - .saturating_add(T::DbWeight::get().reads(12)) + // Estimated: `8877` + // Minimum execution time: 93_831_000 picoseconds. + Weight::from_parts(94_426_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: Staking Ledger (r:1 w:1) @@ -119,19 +127,21 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `947` - // Estimated: `14402` - // Minimum execution time: 34_307_000 picoseconds. - Weight::from_parts(35_346_256, 0) - .saturating_add(Weight::from_parts(0, 14402)) - // Standard Error: 663 - .saturating_add(Weight::from_parts(12_943, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `4764` + // Minimum execution time: 41_721_000 picoseconds. + Weight::from_parts(43_112_571, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 464 + .saturating_add(Weight::from_parts(14_271, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Staking Ledger (r:1 w:1) @@ -158,6 +168,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:1) /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) /// Storage: Staking SpanSlash (r:0 w:100) @@ -166,13 +178,13 @@ impl pallet_staking::WeightInfo for WeightInfo { fn withdraw_unbonded_kill(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2185 + s * (4 ±0)` - // Estimated: `43890 + s * (4 ±0)` - // Minimum execution time: 77_464_000 picoseconds. - Weight::from_parts(83_471_705, 0) - .saturating_add(Weight::from_parts(0, 43890)) - // Standard Error: 2_332 - .saturating_add(Weight::from_parts(1_136_738, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(13)) + // Estimated: `6248 + s * (4 ±0)` + // Minimum execution time: 89_336_000 picoseconds. + Weight::from_parts(94_303_687, 0) + .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 2_133 + .saturating_add(Weight::from_parts(1_180_035, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into())) @@ -202,10 +214,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn validate() -> Weight { // Proof Size summary in bytes: // Measured: `1309` - // Estimated: `30249` - // Minimum execution time: 57_370_000 picoseconds. - Weight::from_parts(59_075_000, 0) - .saturating_add(Weight::from_parts(0, 30249)) + // Estimated: `4556` + // Minimum execution time: 57_760_000 picoseconds. + Weight::from_parts(58_346_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -217,12 +229,12 @@ impl pallet_staking::WeightInfo for WeightInfo { fn kick(k: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1189 + k * (569 ±0)` - // Estimated: `5546 + k * (3033 ±0)` - // Minimum execution time: 27_075_000 picoseconds. - Weight::from_parts(27_059_752, 0) - .saturating_add(Weight::from_parts(0, 5546)) - // Standard Error: 9_837 - .saturating_add(Weight::from_parts(8_031_836, 0).saturating_mul(k.into())) + // Estimated: `4556 + k * (3033 ±0)` + // Minimum execution time: 26_925_000 picoseconds. + Weight::from_parts(28_877_570, 0) + .saturating_add(Weight::from_parts(0, 4556)) + // Standard Error: 9_414 + .saturating_add(Weight::from_parts(7_831_056, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -254,12 +266,12 @@ impl pallet_staking::WeightInfo for WeightInfo { fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1785 + n * (105 ±0)` - // Estimated: `32878 + n * (2520 ±0)` - // Minimum execution time: 65_046_000 picoseconds. - Weight::from_parts(62_579_946, 0) - .saturating_add(Weight::from_parts(0, 32878)) - // Standard Error: 14_378 - .saturating_add(Weight::from_parts(3_238_044, 0).saturating_mul(n.into())) + // Estimated: `6248 + n * (2520 ±0)` + // Minimum execution time: 65_045_000 picoseconds. + Weight::from_parts(62_728_766, 0) + .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 13_477 + .saturating_add(Weight::from_parts(3_227_358, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -282,10 +294,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn chill() -> Weight { // Proof Size summary in bytes: // Measured: `1639` - // Estimated: `24862` - // Minimum execution time: 57_369_000 picoseconds. - Weight::from_parts(58_001_000, 0) - .saturating_add(Weight::from_parts(0, 24862)) + // Estimated: `6248` + // Minimum execution time: 57_516_000 picoseconds. + Weight::from_parts(58_267_000, 0) + .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -297,8 +309,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `737` // Estimated: `4556` - // Minimum execution time: 15_599_000 picoseconds. - Weight::from_parts(15_980_000, 0) + // Minimum execution time: 15_359_000 picoseconds. + Weight::from_parts(15_597_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -310,10 +322,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn set_controller() -> Weight { // Proof Size summary in bytes: // Measured: `836` - // Estimated: `11659` - // Minimum execution time: 23_206_000 picoseconds. - Weight::from_parts(23_467_000, 0) - .saturating_add(Weight::from_parts(0, 11659)) + // Estimated: `8122` + // Minimum execution time: 22_712_000 picoseconds. + Weight::from_parts(23_129_000, 0) + .saturating_add(Weight::from_parts(0, 8122)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -323,8 +335,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_319_000 picoseconds. - Weight::from_parts(3_463_000, 0) + // Minimum execution time: 3_332_000 picoseconds. + Weight::from_parts(3_512_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -334,8 +346,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_434_000 picoseconds. - Weight::from_parts(11_970_000, 0) + // Minimum execution time: 11_616_000 picoseconds. + Weight::from_parts(12_026_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -345,8 +357,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_568_000 picoseconds. - Weight::from_parts(11_897_000, 0) + // Minimum execution time: 11_822_000 picoseconds. + Weight::from_parts(12_443_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -356,8 +368,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_578_000 picoseconds. - Weight::from_parts(11_838_000, 0) + // Minimum execution time: 11_503_000 picoseconds. + Weight::from_parts(11_975_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -368,11 +380,11 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_340_000 picoseconds. - Weight::from_parts(3_848_551, 0) + // Minimum execution time: 3_552_000 picoseconds. + Weight::from_parts(3_810_393, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 28 - .saturating_add(Weight::from_parts(13_524, 0).saturating_mul(v.into())) + // Standard Error: 25 + .saturating_add(Weight::from_parts(12_048, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Staking Bonded (r:1 w:1) @@ -395,6 +407,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Ledger (r:0 w:1) /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:1) @@ -405,13 +419,13 @@ impl pallet_staking::WeightInfo for WeightInfo { fn force_unstake(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1911 + s * (4 ±0)` - // Estimated: `37571 + s * (4 ±0)` - // Minimum execution time: 70_716_000 picoseconds. - Weight::from_parts(76_662_337, 0) - .saturating_add(Weight::from_parts(0, 37571)) - // Standard Error: 2_349 - .saturating_add(Weight::from_parts(1_137_254, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(11)) + // Estimated: `6248 + s * (4 ±0)` + // Minimum execution time: 82_033_000 picoseconds. + Weight::from_parts(86_811_931, 0) + .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 2_368 + .saturating_add(Weight::from_parts(1_186_905, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into())) @@ -423,11 +437,11 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `66572` // Estimated: `70037` - // Minimum execution time: 116_549_000 picoseconds. - Weight::from_parts(825_878_569, 0) + // Minimum execution time: 116_261_000 picoseconds. + Weight::from_parts(912_310_849, 0) .saturating_add(Weight::from_parts(0, 70037)) - // Standard Error: 51_942 - .saturating_add(Weight::from_parts(4_322_536, 0).saturating_mul(s.into())) + // Standard Error: 58_952 + .saturating_add(Weight::from_parts(4_950_352, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -453,17 +467,17 @@ impl pallet_staking::WeightInfo for WeightInfo { fn payout_stakers_dead_controller(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `34179 + n * (150 ±0)` - // Estimated: `88510 + n * (8026 ±0)` - // Minimum execution time: 86_537_000 picoseconds. - Weight::from_parts(88_458_531, 0) - .saturating_add(Weight::from_parts(0, 88510)) - // Standard Error: 13_365 - .saturating_add(Weight::from_parts(27_608_568, 0).saturating_mul(n.into())) + // Estimated: `32391 + n * (2603 ±1)` + // Minimum execution time: 89_369_000 picoseconds. + Weight::from_parts(68_517_550, 0) + .saturating_add(Weight::from_parts(0, 32391)) + // Standard Error: 14_017 + .saturating_add(Weight::from_parts(30_043_369, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 8026).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) } /// Storage: Staking CurrentEra (r:1 w:0) /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -485,26 +499,30 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:513 w:513) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:513 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `n` is `[0, 512]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `61918 + n * (413 ±0)` - // Estimated: `140710 + n * (15912 ±0)` - // Minimum execution time: 106_300_000 picoseconds. - Weight::from_parts(86_093_472, 0) - .saturating_add(Weight::from_parts(0, 140710)) - // Standard Error: 16_775 - .saturating_add(Weight::from_parts(39_353_577, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) + // Estimated: `56109 + n * (3774 ±0)` + // Minimum execution time: 115_670_000 picoseconds. + Weight::from_parts(75_735_608, 0) + .saturating_add(Weight::from_parts(0, 56109)) + // Standard Error: 17_219 + .saturating_add(Weight::from_parts(49_406_817, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 15912).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3774).saturating_mul(n.into())) } /// Storage: Staking Ledger (r:1 w:1) /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) @@ -517,13 +535,13 @@ impl pallet_staking::WeightInfo for WeightInfo { fn rebond(l: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1926 + l * (5 ±0)` - // Estimated: `31431` - // Minimum execution time: 81_405_000 picoseconds. - Weight::from_parts(82_997_301, 0) - .saturating_add(Weight::from_parts(0, 31431)) - // Standard Error: 3_690 - .saturating_add(Weight::from_parts(40_475, 0).saturating_mul(l.into())) - .saturating_add(T::DbWeight::get().reads(9)) + // Estimated: `8877` + // Minimum execution time: 86_080_000 picoseconds. + Weight::from_parts(87_282_280, 0) + .saturating_add(Weight::from_parts(0, 8877)) + // Standard Error: 1_772 + .saturating_add(Weight::from_parts(30_606, 0).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: System Account (r:1 w:1) @@ -548,6 +566,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:1) /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) /// Storage: Staking SpanSlash (r:0 w:100) @@ -556,13 +576,13 @@ impl pallet_staking::WeightInfo for WeightInfo { fn reap_stash(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2185 + s * (4 ±0)` - // Estimated: `42406 + s * (4 ±0)` - // Minimum execution time: 83_834_000 picoseconds. - Weight::from_parts(84_803_154, 0) - .saturating_add(Weight::from_parts(0, 42406)) - // Standard Error: 2_324 - .saturating_add(Weight::from_parts(1_139_950, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(12)) + // Estimated: `6248 + s * (4 ±0)` + // Minimum execution time: 94_744_000 picoseconds. + Weight::from_parts(96_143_092, 0) + .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 2_146 + .saturating_add(Weight::from_parts(1_167_004, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into())) @@ -607,22 +627,22 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + v * (3594 ±0) + n * (716 ±0)` - // Estimated: `482748 + v * (16697 ±39) + n * (12755 ±3)` - // Minimum execution time: 492_458_000 picoseconds. - Weight::from_parts(493_752_000, 0) - .saturating_add(Weight::from_parts(0, 482748)) - // Standard Error: 1_839_928 - .saturating_add(Weight::from_parts(59_163_891, 0).saturating_mul(v.into())) - // Standard Error: 183_338 - .saturating_add(Weight::from_parts(16_441_530, 0).saturating_mul(n.into())) + // Measured: `0 + n * (716 ±0) + v * (3594 ±0)` + // Estimated: `456136 + n * (3566 ±0) + v * (3566 ±0)` + // Minimum execution time: 490_748_000 picoseconds. + Weight::from_parts(493_311_000, 0) + .saturating_add(Weight::from_parts(0, 456136)) + // Standard Error: 1_915_224 + .saturating_add(Weight::from_parts(60_828_359, 0).saturating_mul(v.into())) + // Standard Error: 190_841 + .saturating_add(Weight::from_parts(16_516_466, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(185)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 16697).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 12755).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into())) } /// Storage: VoterList CounterForListNodes (r:1 w:0) /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -646,21 +666,21 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[500, 1000]`. fn get_npos_voters(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3035 + v * (391 ±0) + n * (907 ±0)` - // Estimated: `464108 + v * (14295 ±0) + n * (11775 ±0)` - // Minimum execution time: 30_932_661_000 picoseconds. - Weight::from_parts(31_175_947_000, 0) - .saturating_add(Weight::from_parts(0, 464108)) - // Standard Error: 341_632 - .saturating_add(Weight::from_parts(4_746_588, 0).saturating_mul(v.into())) - // Standard Error: 341_632 - .saturating_add(Weight::from_parts(3_133_772, 0).saturating_mul(n.into())) + // Measured: `3035 + n * (907 ±0) + v * (391 ±0)` + // Estimated: `456136 + n * (3566 ±0) + v * (3566 ±0)` + // Minimum execution time: 30_770_134_000 picoseconds. + Weight::from_parts(30_982_159_000, 0) + .saturating_add(Weight::from_parts(0, 456136)) + // Standard Error: 339_512 + .saturating_add(Weight::from_parts(4_806_388, 0).saturating_mul(v.into())) + // Standard Error: 339_512 + .saturating_add(Weight::from_parts(3_044_666, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(180)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 14295).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 11775).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into())) } /// Storage: Staking CounterForValidators (r:1 w:0) /// Proof: Staking CounterForValidators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -672,12 +692,12 @@ impl pallet_staking::WeightInfo for WeightInfo { fn get_npos_targets(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `917 + v * (50 ±0)` - // Estimated: `6532 + v * (2520 ±0)` - // Minimum execution time: 2_181_946_000 picoseconds. - Weight::from_parts(66_709_848, 0) - .saturating_add(Weight::from_parts(0, 6532)) - // Standard Error: 8_593 - .saturating_add(Weight::from_parts(4_315_430, 0).saturating_mul(v.into())) + // Estimated: `3510 + v * (2520 ±0)` + // Minimum execution time: 2_179_545_000 picoseconds. + Weight::from_parts(31_982_634, 0) + .saturating_add(Weight::from_parts(0, 3510)) + // Standard Error: 9_270 + .saturating_add(Weight::from_parts(4_393_439, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -699,8 +719,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_781_000 picoseconds. - Weight::from_parts(7_035_000, 0) + // Minimum execution time: 6_982_000 picoseconds. + Weight::from_parts(7_116_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -720,8 +740,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_038_000 picoseconds. - Weight::from_parts(6_447_000, 0) + // Minimum execution time: 6_490_000 picoseconds. + Weight::from_parts(6_670_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -748,10 +768,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn chill_other() -> Weight { // Proof Size summary in bytes: // Measured: `1762` - // Estimated: `29338` - // Minimum execution time: 69_632_000 picoseconds. - Weight::from_parts(70_254_000, 0) - .saturating_add(Weight::from_parts(0, 29338)) + // Estimated: `6248` + // Minimum execution time: 70_047_000 picoseconds. + Weight::from_parts(70_524_000, 0) + .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -762,10 +782,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn force_apply_min_commission() -> Weight { // Proof Size summary in bytes: // Measured: `627` - // Estimated: `4999` - // Minimum execution time: 14_263_000 picoseconds. - Weight::from_parts(14_515_000, 0) - .saturating_add(Weight::from_parts(0, 4999)) + // Estimated: `3510` + // Minimum execution time: 14_493_000 picoseconds. + Weight::from_parts(14_662_000, 0) + .saturating_add(Weight::from_parts(0, 3510)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -775,8 +795,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_517_000 picoseconds. - Weight::from_parts(3_660_000, 0) + // Minimum execution time: 3_533_000 picoseconds. + Weight::from_parts(3_680_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_timestamp.rs b/runtime/polkadot/src/weights/pallet_timestamp.rs index 424eaf04d7c7..4cc6c77dfbdd 100644 --- a/runtime/polkadot/src/weights/pallet_timestamp.rs +++ b/runtime/polkadot/src/weights/pallet_timestamp.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); @@ -52,10 +54,10 @@ impl pallet_timestamp::WeightInfo for WeightInfo { fn set() -> Weight { // Proof Size summary in bytes: // Measured: `345` - // Estimated: `2986` - // Minimum execution time: 10_109_000 picoseconds. - Weight::from_parts(10_625_000, 0) - .saturating_add(Weight::from_parts(0, 2986)) + // Estimated: `1493` + // Minimum execution time: 10_546_000 picoseconds. + Weight::from_parts(11_035_000, 0) + .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +65,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 4_598_000 picoseconds. - Weight::from_parts(4_780_000, 0) + // Minimum execution time: 4_614_000 picoseconds. + Weight::from_parts(4_949_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/polkadot/src/weights/pallet_tips.rs b/runtime/polkadot/src/weights/pallet_tips.rs index f05006fad61c..2b819e243a09 100644 --- a/runtime/polkadot/src/weights/pallet_tips.rs +++ b/runtime/polkadot/src/weights/pallet_tips.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_tips`. pub struct WeightInfo(PhantomData); @@ -53,12 +55,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn report_awesome(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `6938` - // Minimum execution time: 24_457_000 picoseconds. - Weight::from_parts(25_195_829, 0) - .saturating_add(Weight::from_parts(0, 6938)) + // Estimated: `3469` + // Minimum execution time: 28_430_000 picoseconds. + Weight::from_parts(28_960_439, 0) + .saturating_add(Weight::from_parts(0, 3469)) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_460, 0).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(1_399, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -69,10 +71,10 @@ impl pallet_tips::WeightInfo for WeightInfo { fn retract_tip() -> Weight { // Proof Size summary in bytes: // Measured: `221` - // Estimated: `3907` - // Minimum execution time: 23_750_000 picoseconds. - Weight::from_parts(24_215_000, 0) - .saturating_add(Weight::from_parts(0, 3907)) + // Estimated: `3686` + // Minimum execution time: 26_992_000 picoseconds. + Weight::from_parts(27_465_000, 0) + .saturating_add(Weight::from_parts(0, 3686)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,17 +89,17 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip_new(r: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `74 + t * (64 ±0)` - // Estimated: `5172 + t * (192 ±0)` - // Minimum execution time: 20_274_000 picoseconds. - Weight::from_parts(19_039_261, 0) - .saturating_add(Weight::from_parts(0, 5172)) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_329, 0).saturating_mul(r.into())) - // Standard Error: 8_124 - .saturating_add(Weight::from_parts(192_163, 0).saturating_mul(t.into())) + // Estimated: `3539 + t * (64 ±0)` + // Minimum execution time: 19_772_000 picoseconds. + Weight::from_parts(18_380_150, 0) + .saturating_add(Weight::from_parts(0, 3539)) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_306, 0).saturating_mul(r.into())) + // Standard Error: 7_321 + .saturating_add(Weight::from_parts(209_089, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 192).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(t.into())) } /// Storage: PhragmenElection Members (r:1 w:0) /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) @@ -107,15 +109,15 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `295 + t * (112 ±0)` - // Estimated: `5540 + t * (224 ±0)` - // Minimum execution time: 15_870_000 picoseconds. - Weight::from_parts(16_128_677, 0) - .saturating_add(Weight::from_parts(0, 5540)) - // Standard Error: 2_074 - .saturating_add(Weight::from_parts(132_492, 0).saturating_mul(t.into())) + // Estimated: `3760 + t * (112 ±0)` + // Minimum execution time: 15_220_000 picoseconds. + Weight::from_parts(15_519_546, 0) + .saturating_add(Weight::from_parts(0, 3760)) + // Standard Error: 1_421 + .saturating_add(Weight::from_parts(142_144, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into())) } /// Storage: Tips Tips (r:1 w:1) /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured) @@ -129,15 +131,15 @@ impl pallet_tips::WeightInfo for WeightInfo { fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `334 + t * (112 ±0)` - // Estimated: `9518 + t * (336 ±0)` - // Minimum execution time: 44_136_000 picoseconds. - Weight::from_parts(45_509_299, 0) - .saturating_add(Weight::from_parts(0, 9518)) - // Standard Error: 8_240 - .saturating_add(Weight::from_parts(98_797, 0).saturating_mul(t.into())) + // Estimated: `3790 + t * (112 ±0)` + // Minimum execution time: 57_725_000 picoseconds. + Weight::from_parts(58_606_074, 0) + .saturating_add(Weight::from_parts(0, 3790)) + // Standard Error: 5_892 + .saturating_add(Weight::from_parts(130_794, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 336).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into())) } /// Storage: Tips Tips (r:1 w:1) /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured) @@ -147,12 +149,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn slash_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `269` - // Estimated: `4003` - // Minimum execution time: 15_381_000 picoseconds. - Weight::from_parts(16_083_020, 0) - .saturating_add(Weight::from_parts(0, 4003)) - // Standard Error: 1_234 - .saturating_add(Weight::from_parts(8_350, 0).saturating_mul(t.into())) + // Estimated: `3734` + // Minimum execution time: 15_382_000 picoseconds. + Weight::from_parts(15_748_391, 0) + .saturating_add(Weight::from_parts(0, 3734)) + // Standard Error: 976 + .saturating_add(Weight::from_parts(14_616, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/polkadot/src/weights/pallet_treasury.rs b/runtime/polkadot/src/weights/pallet_treasury.rs index 2212be26b30e..07456105a303 100644 --- a/runtime/polkadot/src/weights/pallet_treasury.rs +++ b/runtime/polkadot/src/weights/pallet_treasury.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_treasury`. pub struct WeightInfo(PhantomData); @@ -54,10 +56,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { // Proof Size summary in bytes: // Measured: `6` - // Estimated: `3376` - // Minimum execution time: 15_818_000 picoseconds. - Weight::from_parts(16_068_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Estimated: `1887` + // Minimum execution time: 15_385_000 picoseconds. + Weight::from_parts(15_783_000, 0) + .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -69,8 +71,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107` // Estimated: `1489` - // Minimum execution time: 24_148_000 picoseconds. - Weight::from_parts(24_591_000, 0) + // Minimum execution time: 27_729_000 picoseconds. + Weight::from_parts(28_199_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -82,10 +84,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `265` - // Estimated: `7166` - // Minimum execution time: 35_683_000 picoseconds. - Weight::from_parts(36_012_000, 0) - .saturating_add(Weight::from_parts(0, 7166)) + // Estimated: `3593` + // Minimum execution time: 41_124_000 picoseconds. + Weight::from_parts(41_524_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -97,12 +99,12 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `433 + p * (8 ±0)` - // Estimated: `5460` - // Minimum execution time: 10_345_000 picoseconds. - Weight::from_parts(12_391_108, 0) - .saturating_add(Weight::from_parts(0, 5460)) - // Standard Error: 811 - .saturating_add(Weight::from_parts(27_830, 0).saturating_mul(p.into())) + // Estimated: `3573` + // Minimum execution time: 10_340_000 picoseconds. + Weight::from_parts(12_329_121, 0) + .saturating_add(Weight::from_parts(0, 3573)) + // Standard Error: 1_043 + .saturating_add(Weight::from_parts(26_457, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -112,8 +114,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `90` // Estimated: `1887` - // Minimum execution time: 7_743_000 picoseconds. - Weight::from_parts(8_156_000, 0) + // Minimum execution time: 7_837_000 picoseconds. + Weight::from_parts(8_136_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -133,17 +135,17 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `217 + p * (251 ±0)` - // Estimated: `8756 + p * (7789 ±0)` - // Minimum execution time: 39_348_000 picoseconds. - Weight::from_parts(46_076_895, 0) - .saturating_add(Weight::from_parts(0, 8756)) - // Standard Error: 26_068 - .saturating_add(Weight::from_parts(31_896_041, 0).saturating_mul(p.into())) + // Measured: `251 + p * (251 ±0)` + // Estimated: `1887 + p * (5206 ±0)` + // Minimum execution time: 42_176_000 picoseconds. + Weight::from_parts(40_550_455, 0) + .saturating_add(Weight::from_parts(0, 1887)) + // Standard Error: 30_297 + .saturating_add(Weight::from_parts(38_346_303, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7789).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) } } diff --git a/runtime/polkadot/src/weights/pallet_utility.rs b/runtime/polkadot/src/weights/pallet_utility.rs index 3642ee6d0304..c29a61ce9679 100644 --- a/runtime/polkadot/src/weights/pallet_utility.rs +++ b/runtime/polkadot/src/weights/pallet_utility.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); @@ -50,18 +52,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_134_000 picoseconds. - Weight::from_parts(22_552_692, 0) + // Minimum execution time: 7_199_000 picoseconds. + Weight::from_parts(7_314_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_662 - .saturating_add(Weight::from_parts(4_648_268, 0).saturating_mul(c.into())) + // Standard Error: 1_817 + .saturating_add(Weight::from_parts(4_924_360, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_404_000 picoseconds. - Weight::from_parts(5_506_000, 0) + // Minimum execution time: 5_823_000 picoseconds. + Weight::from_parts(6_044_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -69,18 +71,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_161_000 picoseconds. - Weight::from_parts(14_587_560, 0) + // Minimum execution time: 7_155_000 picoseconds. + Weight::from_parts(3_122_569, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_086 - .saturating_add(Weight::from_parts(4_925_001, 0).saturating_mul(c.into())) + // Standard Error: 3_851 + .saturating_add(Weight::from_parts(5_157_632, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_630_000 picoseconds. - Weight::from_parts(9_859_000, 0) + // Minimum execution time: 9_707_000 picoseconds. + Weight::from_parts(10_114_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -88,10 +90,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_026_000 picoseconds. - Weight::from_parts(16_123_279, 0) + // Minimum execution time: 7_129_000 picoseconds. + Weight::from_parts(7_256_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_907 - .saturating_add(Weight::from_parts(4_659_455, 0).saturating_mul(c.into())) + // Standard Error: 2_513 + .saturating_add(Weight::from_parts(4_938_060, 0).saturating_mul(c.into())) } } diff --git a/runtime/polkadot/src/weights/pallet_vesting.rs b/runtime/polkadot/src/weights/pallet_vesting.rs index ede61ecef9a0..dddb1044854e 100644 --- a/runtime/polkadot/src/weights/pallet_vesting.rs +++ b/runtime/polkadot/src/weights/pallet_vesting.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_vesting`. pub struct WeightInfo(PhantomData); @@ -49,46 +51,52 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `314 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9286` - // Minimum execution time: 29_735_000 picoseconds. - Weight::from_parts(29_350_786, 0) - .saturating_add(Weight::from_parts(0, 9286)) - // Standard Error: 888 - .saturating_add(Weight::from_parts(40_156, 0).saturating_mul(l.into())) - // Standard Error: 1_581 - .saturating_add(Weight::from_parts(55_768, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4764` + // Minimum execution time: 33_519_000 picoseconds. + Weight::from_parts(32_889_335, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 702 + .saturating_add(Weight::from_parts(40_230, 0).saturating_mul(l.into())) + // Standard Error: 1_250 + .saturating_add(Weight::from_parts(60_592, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `314 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9286` - // Minimum execution time: 29_102_000 picoseconds. - Weight::from_parts(28_696_847, 0) - .saturating_add(Weight::from_parts(0, 9286)) - // Standard Error: 1_165 - .saturating_add(Weight::from_parts(36_922, 0).saturating_mul(l.into())) - // Standard Error: 2_074 - .saturating_add(Weight::from_parts(50_524, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4764` + // Minimum execution time: 36_970_000 picoseconds. + Weight::from_parts(36_647_701, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 872 + .saturating_add(Weight::from_parts(29_492, 0).saturating_mul(l.into())) + // Standard Error: 1_553 + .saturating_add(Weight::from_parts(40_388, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -96,21 +104,23 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `417 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 32_127_000 picoseconds. - Weight::from_parts(31_695_261, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 971 - .saturating_add(Weight::from_parts(47_944, 0).saturating_mul(l.into())) - // Standard Error: 1_728 - .saturating_add(Weight::from_parts(71_111, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 36_314_000 picoseconds. + Weight::from_parts(35_703_579, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 847 + .saturating_add(Weight::from_parts(36_947, 0).saturating_mul(l.into())) + // Standard Error: 1_508 + .saturating_add(Weight::from_parts(67_436, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -118,15 +128,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `417 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 31_726_000 picoseconds. - Weight::from_parts(31_786_813, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 958 - .saturating_add(Weight::from_parts(39_300, 0).saturating_mul(l.into())) - // Standard Error: 1_704 - .saturating_add(Weight::from_parts(35_548, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 39_647_000 picoseconds. + Weight::from_parts(39_206_425, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 944 + .saturating_add(Weight::from_parts(33_347, 0).saturating_mul(l.into())) + // Standard Error: 1_679 + .saturating_add(Weight::from_parts(46_740, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) @@ -135,20 +145,22 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `488 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 47_066_000 picoseconds. - Weight::from_parts(47_550_442, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 2_033 - .saturating_add(Weight::from_parts(38_126, 0).saturating_mul(l.into())) - // Standard Error: 3_618 - .saturating_add(Weight::from_parts(26_976, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 67_920_000 picoseconds. + Weight::from_parts(68_470_221, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 1_643 + .saturating_add(Weight::from_parts(32_166, 0).saturating_mul(l.into())) + // Standard Error: 2_923 + .saturating_add(Weight::from_parts(83_469, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) @@ -157,26 +169,30 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `591 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `15482` - // Minimum execution time: 49_143_000 picoseconds. - Weight::from_parts(49_823_544, 0) - .saturating_add(Weight::from_parts(0, 15482)) - // Standard Error: 1_972 - .saturating_add(Weight::from_parts(42_115, 0).saturating_mul(l.into())) - // Standard Error: 3_509 - .saturating_add(Weight::from_parts(25_174, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `6196` + // Minimum execution time: 70_359_000 picoseconds. + Weight::from_parts(70_171_431, 0) + .saturating_add(Weight::from_parts(0, 6196)) + // Standard Error: 1_150 + .saturating_add(Weight::from_parts(51_653, 0).saturating_mul(l.into())) + // Standard Error: 2_047 + .saturating_add(Weight::from_parts(79_591, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -184,21 +200,23 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `415 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 33_466_000 picoseconds. - Weight::from_parts(33_699_400, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 1_045 - .saturating_add(Weight::from_parts(37_781, 0).saturating_mul(l.into())) - // Standard Error: 1_930 - .saturating_add(Weight::from_parts(39_860, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 36_950_000 picoseconds. + Weight::from_parts(36_119_565, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 683 + .saturating_add(Weight::from_parts(43_425, 0).saturating_mul(l.into())) + // Standard Error: 1_262 + .saturating_add(Weight::from_parts(68_384, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -206,15 +224,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `415 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 33_521_000 picoseconds. - Weight::from_parts(33_278_453, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 899 - .saturating_add(Weight::from_parts(38_924, 0).saturating_mul(l.into())) - // Standard Error: 1_661 - .saturating_add(Weight::from_parts(51_806, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 41_247_000 picoseconds. + Weight::from_parts(40_240_818, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 819 + .saturating_add(Weight::from_parts(41_306, 0).saturating_mul(l.into())) + // Standard Error: 1_513 + .saturating_add(Weight::from_parts(69_405, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/polkadot/src/weights/pallet_whitelist.rs b/runtime/polkadot/src/weights/pallet_whitelist.rs index e5935afa7673..187de4eb9d95 100644 --- a/runtime/polkadot/src/weights/pallet_whitelist.rs +++ b/runtime/polkadot/src/weights/pallet_whitelist.rs @@ -13,21 +13,22 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_whitelist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `cob`, CPU: `` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/polkadot +// ./target/production/polkadot // benchmark // pallet // --chain=polkadot-dev -// --steps=2 -// --repeat=1 +// --steps=50 +// --repeat=20 // --pallet=pallet_whitelist // --extrinsic=* // --execution=wasm @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_whitelist`. pub struct WeightInfo(PhantomData); @@ -52,10 +54,10 @@ impl pallet_whitelist::WeightInfo for WeightInfo { fn whitelist_call() -> Weight { // Proof Size summary in bytes: // Measured: `118` - // Estimated: `7061` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) - .saturating_add(Weight::from_parts(0, 7061)) + // Estimated: `3556` + // Minimum execution time: 21_006_000 picoseconds. + Weight::from_parts(21_423_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -66,10 +68,10 @@ impl pallet_whitelist::WeightInfo for WeightInfo { fn remove_whitelisted_call() -> Weight { // Proof Size summary in bytes: // Measured: `247` - // Estimated: `7061` - // Minimum execution time: 24_000_000 picoseconds. - Weight::from_parts(24_000_000, 0) - .saturating_add(Weight::from_parts(0, 7061)) + // Estimated: `3556` + // Minimum execution time: 18_657_000 picoseconds. + Weight::from_parts(19_138_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -80,28 +82,33 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// The range of component `n` is `[1, 4194294]`. - fn dispatch_whitelisted_call(_n: u32, ) -> Weight { + fn dispatch_whitelisted_call(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `311 + n * (1 ±0)` - // Estimated: `4205175` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(4_138_000_000, 0) - .saturating_add(Weight::from_parts(0, 4205175)) + // Measured: `323 + n * (1 ±0)` + // Estimated: `3787 + n * (1 ±0)` + // Minimum execution time: 30_799_000 picoseconds. + Weight::from_parts(31_066_000, 0) + .saturating_add(Weight::from_parts(0, 3787)) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_191, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: Whitelist WhitelistedCall (r:1 w:1) /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// The range of component `n` is `[1, 10000]`. - fn dispatch_whitelisted_call_with_preimage(_n: u32, ) -> Weight { + fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `247` - // Estimated: `7061` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(45_000_000, 0) - .saturating_add(Weight::from_parts(0, 7061)) + // Estimated: `3556` + // Minimum execution time: 23_078_000 picoseconds. + Weight::from_parts(23_881_119, 0) + .saturating_add(Weight::from_parts(0, 3556)) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/polkadot/src/weights/pallet_xcm.rs b/runtime/polkadot/src/weights/pallet_xcm.rs index 9fedefcec31d..9aaa5e964593 100644 --- a/runtime/polkadot/src/weights/pallet_xcm.rs +++ b/runtime/polkadot/src/weights/pallet_xcm.rs @@ -17,30 +17,29 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=polkadot-dev // --steps=50 // --repeat=20 +// --pallet=pallet_xcm // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json -// --pallet=pallet_xcm -// --chain=polkadot-dev // --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; @@ -50,6 +49,8 @@ pub struct WeightInfo(PhantomData); impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -64,26 +65,26 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `514` // Estimated: `3979` - // Minimum execution time: 36_060_000 picoseconds. - Weight::from_parts(36_761_000, 0) + // Minimum execution time: 38_304_000 picoseconds. + Weight::from_parts(38_989_000, 0) .saturating_add(Weight::from_parts(0, 3979)) - .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } fn teleport_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 23_222_000 picoseconds. - Weight::from_parts(23_506_000, 0) + // Minimum execution time: 24_169_000 picoseconds. + Weight::from_parts(24_693_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 21_932_000 picoseconds. - Weight::from_parts(22_343_000, 0) + // Minimum execution time: 23_531_000 picoseconds. + Weight::from_parts(23_978_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Benchmark Override (r:0 w:0) @@ -102,8 +103,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_103_000 picoseconds. - Weight::from_parts(10_429_000, 0) + // Minimum execution time: 10_584_000 picoseconds. + Weight::from_parts(10_856_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,8 +114,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_244_000 picoseconds. - Weight::from_parts(3_367_000, 0) + // Minimum execution time: 3_554_000 picoseconds. + Weight::from_parts(3_698_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -124,6 +125,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: XcmPallet QueryCounter (max_values: Some(1), max_size: None, mode: Measured) /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -140,16 +143,18 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `514` // Estimated: `3979` - // Minimum execution time: 40_198_000 picoseconds. - Weight::from_parts(40_837_000, 0) + // Minimum execution time: 43_707_000 picoseconds. + Weight::from_parts(44_814_000, 0) .saturating_add(Weight::from_parts(0, 3979)) - .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: XcmPallet VersionNotifiers (r:1 w:1) /// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured) /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -166,10 +171,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `786` // Estimated: `4251` - // Minimum execution time: 42_735_000 picoseconds. - Weight::from_parts(43_343_000, 0) + // Minimum execution time: 45_829_000 picoseconds. + Weight::from_parts(46_393_000, 0) .saturating_add(Weight::from_parts(0, 4251)) - .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: XcmPallet XcmExecutionSuspended (r:0 w:1) @@ -178,8 +183,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_333_000 picoseconds. - Weight::from_parts(3_513_000, 0) + // Minimum execution time: 3_591_000 picoseconds. + Weight::from_parts(3_660_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -189,8 +194,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `229` // Estimated: `11119` - // Minimum execution time: 16_716_000 picoseconds. - Weight::from_parts(17_399_000, 0) + // Minimum execution time: 17_139_000 picoseconds. + Weight::from_parts(17_594_000, 0) .saturating_add(Weight::from_parts(0, 11119)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -201,8 +206,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `233` // Estimated: `11123` - // Minimum execution time: 17_034_000 picoseconds. - Weight::from_parts(17_743_000, 0) + // Minimum execution time: 17_033_000 picoseconds. + Weight::from_parts(17_361_000, 0) .saturating_add(Weight::from_parts(0, 11123)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -213,8 +218,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `243` // Estimated: `13608` - // Minimum execution time: 18_741_000 picoseconds. - Weight::from_parts(19_096_000, 0) + // Minimum execution time: 18_181_000 picoseconds. + Weight::from_parts(18_859_000, 0) .saturating_add(Weight::from_parts(0, 13608)) .saturating_add(T::DbWeight::get().reads(5)) } @@ -222,6 +227,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -236,10 +243,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `584` // Estimated: `6524` - // Minimum execution time: 37_105_000 picoseconds. - Weight::from_parts(37_579_000, 0) + // Minimum execution time: 39_199_000 picoseconds. + Weight::from_parts(39_812_000, 0) .saturating_add(Weight::from_parts(0, 6524)) - .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: XcmPallet VersionNotifyTargets (r:3 w:0) @@ -248,8 +255,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `272` // Estimated: `8687` - // Minimum execution time: 9_111_000 picoseconds. - Weight::from_parts(9_442_000, 0) + // Minimum execution time: 8_959_000 picoseconds. + Weight::from_parts(9_202_000, 0) .saturating_add(Weight::from_parts(0, 8687)) .saturating_add(T::DbWeight::get().reads(3)) } @@ -259,8 +266,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `240` // Estimated: `11130` - // Minimum execution time: 17_846_000 picoseconds. - Weight::from_parts(18_193_000, 0) + // Minimum execution time: 17_439_000 picoseconds. + Weight::from_parts(17_835_000, 0) .saturating_add(Weight::from_parts(0, 11130)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -269,6 +276,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -283,10 +292,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `588` // Estimated: `11478` - // Minimum execution time: 43_680_000 picoseconds. - Weight::from_parts(44_528_000, 0) + // Minimum execution time: 47_447_000 picoseconds. + Weight::from_parts(48_015_000, 0) .saturating_add(Weight::from_parts(0, 11478)) - .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(5)) } } diff --git a/runtime/polkadot/src/weights/runtime_common_auctions.rs b/runtime/polkadot/src/weights/runtime_common_auctions.rs index dd772c9d7520..9434a3373519 100644 --- a/runtime/polkadot/src/weights/runtime_common_auctions.rs +++ b/runtime/polkadot/src/weights/runtime_common_auctions.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::auctions`. pub struct WeightInfo(PhantomData); @@ -52,10 +54,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn new_auction() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `2982` - // Minimum execution time: 13_577_000 picoseconds. - Weight::from_parts(13_988_000, 0) - .saturating_add(Weight::from_parts(0, 2982)) + // Estimated: `1493` + // Minimum execution time: 13_336_000 picoseconds. + Weight::from_parts(13_647_000, 0) + .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,10 +78,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn bid() -> Weight { // Proof Size summary in bytes: // Measured: `661` - // Estimated: `26272` - // Minimum execution time: 69_204_000 picoseconds. - Weight::from_parts(70_457_000, 0) - .saturating_add(Weight::from_parts(0, 26272)) + // Estimated: `6060` + // Minimum execution time: 77_287_000 picoseconds. + Weight::from_parts(80_529_000, 0) + .saturating_add(Weight::from_parts(0, 6060)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -110,10 +112,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `6947662` - // Estimated: `50786970` - // Minimum execution time: 6_222_318_000 picoseconds. - Weight::from_parts(6_411_378_000, 0) - .saturating_add(Weight::from_parts(0, 50786970)) + // Estimated: `15822990` + // Minimum execution time: 6_322_051_000 picoseconds. + Weight::from_parts(6_441_894_000, 0) + .saturating_add(Weight::from_parts(0, 15822990)) .saturating_add(T::DbWeight::get().reads(3688)) .saturating_add(T::DbWeight::get().writes(3683)) } @@ -128,10 +130,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn cancel_auction() -> Weight { // Proof Size summary in bytes: // Measured: `177732` - // Estimated: `16012473` - // Minimum execution time: 4_796_112_000 picoseconds. - Weight::from_parts(4_912_250_000, 0) - .saturating_add(Weight::from_parts(0, 16012473)) + // Estimated: `15822990` + // Minimum execution time: 4_873_692_000 picoseconds. + Weight::from_parts(4_978_734_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/runtime/polkadot/src/weights/runtime_common_claims.rs b/runtime/polkadot/src/weights/runtime_common_claims.rs index b8fe5715993b..9e14fb8faa55 100644 --- a/runtime/polkadot/src/weights/runtime_common_claims.rs +++ b/runtime/polkadot/src/weights/runtime_common_claims.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::claims`. pub struct WeightInfo(PhantomData); @@ -59,14 +61,16 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `586` - // Estimated: `27103` - // Minimum execution time: 143_662_000 picoseconds. - Weight::from_parts(146_007_000, 0) - .saturating_add(Weight::from_parts(0, 27103)) - .saturating_add(T::DbWeight::get().reads(7)) + // Estimated: `4764` + // Minimum execution time: 146_948_000 picoseconds. + Weight::from_parts(152_635_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Claims Total (r:1 w:1) @@ -80,10 +84,10 @@ impl runtime_common::claims::WeightInfo for WeightInfo< fn mint_claim() -> Weight { // Proof Size summary in bytes: // Measured: `182` - // Estimated: `2213` - // Minimum execution time: 11_437_000 picoseconds. - Weight::from_parts(11_834_000, 0) - .saturating_add(Weight::from_parts(0, 2213)) + // Estimated: `1667` + // Minimum execution time: 11_617_000 picoseconds. + Weight::from_parts(12_008_000, 0) + .saturating_add(Weight::from_parts(0, 1667)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -101,14 +105,16 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn claim_attest() -> Weight { // Proof Size summary in bytes: // Measured: `586` - // Estimated: `27103` - // Minimum execution time: 145_789_000 picoseconds. - Weight::from_parts(148_264_000, 0) - .saturating_add(Weight::from_parts(0, 27103)) - .saturating_add(T::DbWeight::get().reads(7)) + // Estimated: `4764` + // Minimum execution time: 149_772_000 picoseconds. + Weight::from_parts(152_802_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Claims Preclaims (r:1 w:1) @@ -127,14 +133,16 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn attest() -> Weight { // Proof Size summary in bytes: // Measured: `660` - // Estimated: `31524` - // Minimum execution time: 69_066_000 picoseconds. - Weight::from_parts(81_192_000, 0) - .saturating_add(Weight::from_parts(0, 31524)) - .saturating_add(T::DbWeight::get().reads(8)) + // Estimated: `4764` + // Minimum execution time: 73_442_000 picoseconds. + Weight::from_parts(85_060_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: Claims Claims (r:1 w:2) @@ -148,10 +156,10 @@ impl runtime_common::claims::WeightInfo for WeightInfo< fn move_claim() -> Weight { // Proof Size summary in bytes: // Measured: `406` - // Estimated: `15484` - // Minimum execution time: 22_426_000 picoseconds. - Weight::from_parts(22_735_000, 0) - .saturating_add(Weight::from_parts(0, 15484)) + // Estimated: `3871` + // Minimum execution time: 22_349_000 picoseconds. + Weight::from_parts(22_865_000, 0) + .saturating_add(Weight::from_parts(0, 3871)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/polkadot/src/weights/runtime_common_crowdloan.rs b/runtime/polkadot/src/weights/runtime_common_crowdloan.rs index b1f18f2b8ec6..02527f3eb5ef 100644 --- a/runtime/polkadot/src/weights/runtime_common_crowdloan.rs +++ b/runtime/polkadot/src/weights/runtime_common_crowdloan.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::crowdloan`. pub struct WeightInfo(PhantomData); @@ -53,15 +55,17 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured) /// Storage: Crowdloan NextFundIndex (r:1 w:1) /// Proof Skipped: Crowdloan NextFundIndex (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `363` - // Estimated: `13332` - // Minimum execution time: 39_416_000 picoseconds. - Weight::from_parts(40_242_000, 0) - .saturating_add(Weight::from_parts(0, 13332)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `415` + // Estimated: `3880` + // Minimum execution time: 48_295_000 picoseconds. + Weight::from_parts(49_511_000, 0) + .saturating_add(Weight::from_parts(0, 3880)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) @@ -81,11 +85,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn contribute() -> Weight { // Proof Size summary in bytes: - // Measured: `375` - // Estimated: `21827` - // Minimum execution time: 114_856_000 picoseconds. - Weight::from_parts(116_564_000, 0) - .saturating_add(Weight::from_parts(0, 21827)) + // Measured: `463` + // Estimated: `3928` + // Minimum execution time: 128_424_000 picoseconds. + Weight::from_parts(130_407_000, 0) + .saturating_add(Weight::from_parts(0, 3928)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -100,10 +104,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `690` - // Estimated: `16007` - // Minimum execution time: 56_412_000 picoseconds. - Weight::from_parts(57_660_000, 0) - .saturating_add(Weight::from_parts(0, 16007)) + // Estimated: `6196` + // Minimum execution time: 71_870_000 picoseconds. + Weight::from_parts(72_779_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -112,13 +116,13 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `k` is `[0, 1000]`. fn refund(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + k * (189 ±0)` - // Estimated: `134 + k * (189 ±0)` - // Minimum execution time: 42_566_000 picoseconds. - Weight::from_parts(43_592_000, 0) - .saturating_add(Weight::from_parts(0, 134)) - // Standard Error: 14_813 - .saturating_add(Weight::from_parts(23_173_639, 0).saturating_mul(k.into())) + // Measured: `128 + k * (189 ±0)` + // Estimated: `141 + k * (189 ±0)` + // Minimum execution time: 41_393_000 picoseconds. + Weight::from_parts(55_840_000, 0) + .saturating_add(Weight::from_parts(0, 141)) + // Standard Error: 21_749 + .saturating_add(Weight::from_parts(38_489_253, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -127,17 +131,17 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) + /// Storage: System Account (r:2 w:2) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn dissolve() -> Weight { // Proof Size summary in bytes: - // Measured: `375` - // Estimated: `7433` - // Minimum execution time: 29_599_000 picoseconds. - Weight::from_parts(30_422_000, 0) - .saturating_add(Weight::from_parts(0, 7433)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `515` + // Estimated: `6196` + // Minimum execution time: 39_410_000 picoseconds. + Weight::from_parts(40_453_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) @@ -145,8 +149,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 18_465_000 picoseconds. - Weight::from_parts(19_170_000, 0) + // Minimum execution time: 17_803_000 picoseconds. + Weight::from_parts(18_143_000, 0) .saturating_add(Weight::from_parts(0, 3700)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,10 +162,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn add_memo() -> Weight { // Proof Size summary in bytes: // Measured: `412` - // Estimated: `7754` - // Minimum execution time: 25_211_000 picoseconds. - Weight::from_parts(25_882_000, 0) - .saturating_add(Weight::from_parts(0, 7754)) + // Estimated: `3877` + // Minimum execution time: 25_379_000 picoseconds. + Weight::from_parts(26_233_000, 0) + .saturating_add(Weight::from_parts(0, 3877)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -172,10 +176,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn poke() -> Weight { // Proof Size summary in bytes: // Measured: `239` - // Estimated: `5428` - // Minimum execution time: 17_799_000 picoseconds. - Weight::from_parts(18_462_000, 0) - .saturating_add(Weight::from_parts(0, 5428)) + // Estimated: `3704` + // Minimum execution time: 17_985_000 picoseconds. + Weight::from_parts(18_706_000, 0) + .saturating_add(Weight::from_parts(0, 3704)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,16 +207,16 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn on_initialize(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `130 + n * (356 ±0)` - // Estimated: `16917 + n * (14348 ±0)` - // Minimum execution time: 110_468_000 picoseconds. - Weight::from_parts(112_026_000, 0) - .saturating_add(Weight::from_parts(0, 16917)) - // Standard Error: 50_282 - .saturating_add(Weight::from_parts(49_513_270, 0).saturating_mul(n.into())) + // Estimated: `5385 + n * (2832 ±0)` + // Minimum execution time: 126_380_000 picoseconds. + Weight::from_parts(127_167_000, 0) + .saturating_add(Weight::from_parts(0, 5385)) + // Standard Error: 60_524 + .saturating_add(Weight::from_parts(59_956_901, 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)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 14348).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2832).saturating_mul(n.into())) } } diff --git a/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs b/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs index 6e7c8d3fb865..da0fc5bfa042 100644 --- a/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::paras_registrar`. pub struct WeightInfo(PhantomData); @@ -54,10 +56,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn reserve() -> Weight { // Proof Size summary in bytes: // Measured: `70` - // Estimated: `8625` - // Minimum execution time: 25_255_000 picoseconds. - Weight::from_parts(25_919_000, 0) - .saturating_add(Weight::from_parts(0, 8625)) + // Estimated: `3535` + // Minimum execution time: 29_183_000 picoseconds. + Weight::from_parts(29_504_000, 0) + .saturating_add(Weight::from_parts(0, 3535)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,11 +85,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `497` - // Estimated: `28730` - // Minimum execution time: 6_233_224_000 picoseconds. - Weight::from_parts(6_345_016_000, 0) - .saturating_add(Weight::from_parts(0, 28730)) + // Measured: `573` + // Estimated: `4038` + // Minimum execution time: 6_219_519_000 picoseconds. + Weight::from_parts(6_286_860_000, 0) + .saturating_add(Weight::from_parts(0, 4038)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -113,11 +115,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured) fn force_register() -> Weight { // Proof Size summary in bytes: - // Measured: `387` - // Estimated: `27630` - // Minimum execution time: 6_218_676_000 picoseconds. - Weight::from_parts(6_340_775_000, 0) - .saturating_add(Weight::from_parts(0, 27630)) + // Measured: `463` + // Estimated: `3928` + // Minimum execution time: 6_236_458_000 picoseconds. + Weight::from_parts(6_345_909_000, 0) + .saturating_add(Weight::from_parts(0, 3928)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -136,10 +138,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn deregister() -> Weight { // Proof Size summary in bytes: // Measured: `435` - // Estimated: `17955` - // Minimum execution time: 41_094_000 picoseconds. - Weight::from_parts(42_246_000, 0) - .saturating_add(Weight::from_parts(0, 17955)) + // Estimated: `3900` + // Minimum execution time: 44_773_000 picoseconds. + Weight::from_parts(45_766_000, 0) + .saturating_add(Weight::from_parts(0, 3900)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -160,10 +162,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn swap() -> Weight { // Proof Size summary in bytes: // Measured: `676` - // Estimated: `34432` - // Minimum execution time: 47_336_000 picoseconds. - Weight::from_parts(51_371_000, 0) - .saturating_add(Weight::from_parts(0, 34432)) + // Estimated: `6616` + // Minimum execution time: 46_520_000 picoseconds. + Weight::from_parts(50_078_000, 0) + .saturating_add(Weight::from_parts(0, 6616)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -192,13 +194,13 @@ impl runtime_common::paras_registrar::WeightInfo for We /// The range of component `b` is `[1, 3145728]`. fn schedule_code_upgrade(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `29535` - // Minimum execution time: 44_303_000 picoseconds. - Weight::from_parts(44_808_000, 0) - .saturating_add(Weight::from_parts(0, 29535)) + // Measured: `331` + // Estimated: `3796` + // Minimum execution time: 43_359_000 picoseconds. + Weight::from_parts(43_887_000, 0) + .saturating_add(Weight::from_parts(0, 3796)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_970, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_974, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -209,11 +211,11 @@ impl runtime_common::paras_registrar::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_760_000 picoseconds. - Weight::from_parts(8_946_000, 0) + // Minimum execution time: 9_212_000 picoseconds. + Weight::from_parts(9_328_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(867, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(859, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/polkadot/src/weights/runtime_common_slots.rs b/runtime/polkadot/src/weights/runtime_common_slots.rs index b21ab26664a1..e9a4ee68ea05 100644 --- a/runtime/polkadot/src/weights/runtime_common_slots.rs +++ b/runtime/polkadot/src/weights/runtime_common_slots.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::slots`. pub struct WeightInfo(PhantomData); @@ -52,10 +54,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `220` - // Estimated: `7278` - // Minimum execution time: 26_260_000 picoseconds. - Weight::from_parts(26_932_000, 0) - .saturating_add(Weight::from_parts(0, 7278)) + // Estimated: `3685` + // Minimum execution time: 29_866_000 picoseconds. + Weight::from_parts(30_406_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,22 +78,22 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `0 + c * (47 ±0) + t * (308 ±0)` - // Estimated: `7790 + c * (2781 ±0) + t * (9308 ±0)` - // Minimum execution time: 630_131_000 picoseconds. - Weight::from_parts(635_877_000, 0) - .saturating_add(Weight::from_parts(0, 7790)) - // Standard Error: 79_816 - .saturating_add(Weight::from_parts(2_652_439, 0).saturating_mul(c.into())) - // Standard Error: 79_816 - .saturating_add(Weight::from_parts(11_669_914, 0).saturating_mul(t.into())) + // Estimated: `2751 + c * (2526 ±0) + t * (2789 ±0)` + // Minimum execution time: 642_018_000 picoseconds. + Weight::from_parts(648_685_000, 0) + .saturating_add(Weight::from_parts(0, 2751)) + // Standard Error: 82_839 + .saturating_add(Weight::from_parts(2_679_607, 0).saturating_mul(c.into())) + // Standard Error: 82_839 + .saturating_add(Weight::from_parts(11_551_529, 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((3_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2781).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 9308).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2526).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2789).saturating_mul(t.into())) } /// Storage: Slots Leases (r:1 w:1) /// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured) @@ -100,10 +102,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `2692` - // Estimated: `27971` - // Minimum execution time: 97_202_000 picoseconds. - Weight::from_parts(98_557_000, 0) - .saturating_add(Weight::from_parts(0, 27971)) + // Estimated: `21814` + // Minimum execution time: 127_963_000 picoseconds. + Weight::from_parts(129_574_000, 0) + .saturating_add(Weight::from_parts(0, 21814)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -120,10 +122,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `580` - // Estimated: `18245` - // Minimum execution time: 27_982_000 picoseconds. - Weight::from_parts(28_586_000, 0) - .saturating_add(Weight::from_parts(0, 18245)) + // Estimated: `4045` + // Minimum execution time: 28_277_000 picoseconds. + Weight::from_parts(28_792_000, 0) + .saturating_add(Weight::from_parts(0, 4045)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_configuration.rs b/runtime/polkadot/src/weights/runtime_parachains_configuration.rs index 79f99e6551b3..f1ae7bbad4e0 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_configuration.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_configuration.rs @@ -13,36 +13,36 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=polkadot-dev // --steps=50 // --repeat=20 +// --pallet=runtime_parachains::configuration // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json -// --pallet=runtime_parachains::configuration -// --chain=polkadot-dev // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --output=./runtime/polkadot/src/weights/runtime_parachains_configuration.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::configuration`. pub struct WeightInfo(PhantomData); @@ -58,10 +58,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `393` - // Estimated: `7512` - // Minimum execution time: 13_232_000 picoseconds. - Weight::from_parts(13_585_000, 0) - .saturating_add(Weight::from_parts(0, 7512)) + // Estimated: `1878` + // Minimum execution time: 12_758_000 picoseconds. + Weight::from_parts(13_404_000, 0) + .saturating_add(Weight::from_parts(0, 1878)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,10 +76,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `393` - // Estimated: `7512` - // Minimum execution time: 13_436_000 picoseconds. - Weight::from_parts(13_919_000, 0) - .saturating_add(Weight::from_parts(0, 7512)) + // Estimated: `1878` + // Minimum execution time: 12_684_000 picoseconds. + Weight::from_parts(13_256_000, 0) + .saturating_add(Weight::from_parts(0, 1878)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -94,10 +94,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_option_u32() -> Weight { // Proof Size summary in bytes: // Measured: `393` - // Estimated: `7512` - // Minimum execution time: 13_053_000 picoseconds. - Weight::from_parts(13_330_000, 0) - .saturating_add(Weight::from_parts(0, 7512)) + // Estimated: `1878` + // Minimum execution time: 13_139_000 picoseconds. + Weight::from_parts(13_547_000, 0) + .saturating_add(Weight::from_parts(0, 1878)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -112,10 +112,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: // Measured: `393` - // Estimated: `7512` - // Minimum execution time: 12_931_000 picoseconds. - Weight::from_parts(13_349_000, 0) - .saturating_add(Weight::from_parts(0, 7512)) + // Estimated: `1878` + // Minimum execution time: 12_999_000 picoseconds. + Weight::from_parts(13_465_000, 0) + .saturating_add(Weight::from_parts(0, 1878)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -140,10 +140,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_balance() -> Weight { // Proof Size summary in bytes: // Measured: `393` - // Estimated: `7512` - // Minimum execution time: 12_861_000 picoseconds. - Weight::from_parts(13_341_000, 0) - .saturating_add(Weight::from_parts(0, 7512)) + // Estimated: `1878` + // Minimum execution time: 12_782_000 picoseconds. + Weight::from_parts(13_294_000, 0) + .saturating_add(Weight::from_parts(0, 1878)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -158,10 +158,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_executor_params() -> Weight { // Proof Size summary in bytes: // Measured: `393` - // Estimated: `7512` - // Minimum execution time: 13_678_000 picoseconds. - Weight::from_parts(14_093_000, 0) - .saturating_add(Weight::from_parts(0, 7512)) + // Estimated: `1878` + // Minimum execution time: 13_736_000 picoseconds. + Weight::from_parts(14_261_000, 0) + .saturating_add(Weight::from_parts(0, 1878)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_disputes.rs b/runtime/polkadot/src/weights/runtime_parachains_disputes.rs index 3db45f2d74f1..e6999654d70a 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_disputes.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_disputes.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::disputes`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl runtime_parachains::disputes::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_970_000 picoseconds. - Weight::from_parts(3_188_000, 0) + // Minimum execution time: 3_124_000 picoseconds. + Weight::from_parts(3_275_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs b/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs index b589a5061086..6ec4a93f9fca 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::hrmp`. pub struct WeightInfo(PhantomData); @@ -65,11 +67,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_init_open_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `577` - // Estimated: `34893` - // Minimum execution time: 39_502_000 picoseconds. - Weight::from_parts(39_981_000, 0) - .saturating_add(Weight::from_parts(0, 34893)) + // Measured: `653` + // Estimated: `6593` + // Minimum execution time: 44_346_000 picoseconds. + Weight::from_parts(44_838_000, 0) + .saturating_add(Weight::from_parts(0, 6593)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -89,11 +91,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_accept_open_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `809` - // Estimated: `27938` - // Minimum execution time: 40_489_000 picoseconds. - Weight::from_parts(41_076_000, 0) - .saturating_add(Weight::from_parts(0, 27938)) + // Measured: `885` + // Estimated: `4350` + // Minimum execution time: 45_985_000 picoseconds. + Weight::from_parts(46_989_000, 0) + .saturating_add(Weight::from_parts(0, 4350)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -111,11 +113,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_close_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `680` - // Estimated: `20910` - // Minimum execution time: 36_361_000 picoseconds. - Weight::from_parts(37_148_000, 0) - .saturating_add(Weight::from_parts(0, 20910)) + // Measured: `756` + // Estimated: `4221` + // Minimum execution time: 38_081_000 picoseconds. + Weight::from_parts(38_671_000, 0) + .saturating_add(Weight::from_parts(0, 4221)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -135,23 +137,23 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `197 + i * (100 ±0) + e * (100 ±0)` - // Estimated: `9084 + i * (5550 ±0) + e * (5550 ±0)` - // Minimum execution time: 1_074_045_000 picoseconds. - Weight::from_parts(1_079_931_000, 0) - .saturating_add(Weight::from_parts(0, 9084)) - // Standard Error: 96_252 - .saturating_add(Weight::from_parts(3_082_744, 0).saturating_mul(i.into())) - // Standard Error: 96_252 - .saturating_add(Weight::from_parts(3_118_809, 0).saturating_mul(e.into())) + // Measured: `197 + e * (100 ±0) + i * (100 ±0)` + // Estimated: `3659 + e * (2575 ±0) + i * (2575 ±0)` + // Minimum execution time: 1_115_227_000 picoseconds. + Weight::from_parts(1_118_943_000, 0) + .saturating_add(Weight::from_parts(0, 3659)) + // Standard Error: 100_428 + .saturating_add(Weight::from_parts(3_409_280, 0).saturating_mul(i.into())) + // Standard Error: 100_428 + .saturating_add(Weight::from_parts(3_421_601, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5550).saturating_mul(i.into())) - .saturating_add(Weight::from_parts(0, 5550).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2575).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2575).saturating_mul(i.into())) } /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) @@ -174,18 +176,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_open(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `652 + c * (136 ±0)` - // Estimated: `14676 + c * (18549 ±0)` - // Minimum execution time: 9_678_000 picoseconds. - Weight::from_parts(6_837_820, 0) - .saturating_add(Weight::from_parts(0, 14676)) - // Standard Error: 20_096 - .saturating_add(Weight::from_parts(18_573_440, 0).saturating_mul(c.into())) + // Measured: `728 + c * (136 ±0)` + // Estimated: `2183 + c * (5086 ±0)` + // Minimum execution time: 10_764_000 picoseconds. + Weight::from_parts(7_242_004, 0) + .saturating_add(Weight::from_parts(0, 2183)) + // Standard Error: 19_699 + .saturating_add(Weight::from_parts(19_562_766, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 18549).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5086).saturating_mul(c.into())) } /// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -203,17 +205,17 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_close(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `268 + c * (124 ±0)` - // Estimated: `5973 + c * (8175 ±0)` - // Minimum execution time: 6_545_000 picoseconds. - Weight::from_parts(3_839_847, 0) - .saturating_add(Weight::from_parts(0, 5973)) - // Standard Error: 13_189 - .saturating_add(Weight::from_parts(11_397_155, 0).saturating_mul(c.into())) + // Estimated: `1728 + c * (2600 ±0)` + // Minimum execution time: 6_843_000 picoseconds. + Weight::from_parts(2_520_579, 0) + .saturating_add(Weight::from_parts(0, 1728)) + // Standard Error: 12_570 + .saturating_add(Weight::from_parts(11_917_456, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 8175).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2600).saturating_mul(c.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -225,15 +227,15 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_cancel_open_request(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `959 + c * (13 ±0)` - // Estimated: `10704 + c * (45 ±0)` - // Minimum execution time: 22_478_000 picoseconds. - Weight::from_parts(27_026_265, 0) - .saturating_add(Weight::from_parts(0, 10704)) - // Standard Error: 1_040 - .saturating_add(Weight::from_parts(53_928, 0).saturating_mul(c.into())) + // Estimated: `4228 + c * (15 ±0)` + // Minimum execution time: 23_678_000 picoseconds. + Weight::from_parts(27_155_695, 0) + .saturating_add(Weight::from_parts(0, 4228)) + // Standard Error: 802 + .saturating_add(Weight::from_parts(47_578, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 45).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 15).saturating_mul(c.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -243,17 +245,17 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn clean_open_channel_requests(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `176 + c * (63 ±0)` - // Estimated: `2821 + c * (2602 ±0)` - // Minimum execution time: 5_297_000 picoseconds. - Weight::from_parts(3_420_027, 0) - .saturating_add(Weight::from_parts(0, 2821)) - // Standard Error: 4_062 - .saturating_add(Weight::from_parts(3_203_130, 0).saturating_mul(c.into())) + // Estimated: `1655 + c * (2538 ±0)` + // Minimum execution time: 5_403_000 picoseconds. + Weight::from_parts(3_744_201, 0) + .saturating_add(Weight::from_parts(0, 1655)) + // Standard Error: 3_925 + .saturating_add(Weight::from_parts(3_240_280, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2602).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2538).saturating_mul(c.into())) } /// Storage: Paras ParaLifecycles (r:2 w:0) /// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured) @@ -279,11 +281,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured) fn force_open_hrmp_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `577` - // Estimated: `47927` - // Minimum execution time: 53_734_000 picoseconds. - Weight::from_parts(54_206_000, 0) - .saturating_add(Weight::from_parts(0, 47927)) + // Measured: `653` + // Estimated: `6593` + // Minimum execution time: 58_486_000 picoseconds. + Weight::from_parts(58_882_000, 0) + .saturating_add(Weight::from_parts(0, 6593)) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_initializer.rs b/runtime/polkadot/src/weights/runtime_parachains_initializer.rs index f90630ed3425..3c6e92d93aa5 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_initializer.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_initializer.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::initializer`. pub struct WeightInfo(PhantomData); @@ -52,11 +54,11 @@ impl runtime_parachains::initializer::WeightInfo for We // Proof Size summary in bytes: // Measured: `0 + d * (11 ±0)` // Estimated: `1480 + d * (11 ±0)` - // Minimum execution time: 3_887_000 picoseconds. - Weight::from_parts(7_244_651, 0) + // Minimum execution time: 4_016_000 picoseconds. + Weight::from_parts(5_836_300, 0) .saturating_add(Weight::from_parts(0, 1480)) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_319, 0).saturating_mul(d.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_413, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 11).saturating_mul(d.into())) diff --git a/runtime/polkadot/src/weights/runtime_parachains_paras.rs b/runtime/polkadot/src/weights/runtime_parachains_paras.rs index c6d1a7d448fc..1d1bd21185d3 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_paras.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_paras.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::paras`. pub struct WeightInfo(PhantomData); @@ -61,12 +63,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `8309` - // Estimated: `61734` - // Minimum execution time: 33_514_000 picoseconds. - Weight::from_parts(33_804_000, 0) - .saturating_add(Weight::from_parts(0, 61734)) + // Estimated: `11774` + // Minimum execution time: 32_553_000 picoseconds. + Weight::from_parts(32_756_000, 0) + .saturating_add(Weight::from_parts(0, 11774)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_953, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_957, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -77,11 +79,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_575_000 picoseconds. - Weight::from_parts(8_757_000, 0) + // Minimum execution time: 8_606_000 picoseconds. + Weight::from_parts(8_843_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(866, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(864, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Configuration ActiveConfig (r:1 w:0) @@ -109,13 +111,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `c` is `[1, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `16689` - // Estimated: `206844` - // Minimum execution time: 59_763_000 picoseconds. - Weight::from_parts(60_188_000, 0) - .saturating_add(Weight::from_parts(0, 206844)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_979, 0).saturating_mul(c.into())) + // Measured: `16765` + // Estimated: `20230` + // Minimum execution time: 60_112_000 picoseconds. + Weight::from_parts(60_521_000, 0) + .saturating_add(Weight::from_parts(0, 20230)) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_987, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -129,12 +131,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `95` - // Estimated: `3750` - // Minimum execution time: 14_463_000 picoseconds. - Weight::from_parts(14_800_000, 0) - .saturating_add(Weight::from_parts(0, 3750)) + // Estimated: `3560` + // Minimum execution time: 14_802_000 picoseconds. + Weight::from_parts(14_961_000, 0) + .saturating_add(Weight::from_parts(0, 3560)) // Standard Error: 2 - .saturating_add(Weight::from_parts(869, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(868, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -145,10 +147,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_queue_action() -> Weight { // Proof Size summary in bytes: // Measured: `4251` - // Estimated: `13452` - // Minimum execution time: 20_457_000 picoseconds. - Weight::from_parts(21_033_000, 0) - .saturating_add(Weight::from_parts(0, 13452)) + // Estimated: `7716` + // Minimum execution time: 20_603_000 picoseconds. + Weight::from_parts(20_988_000, 0) + .saturating_add(Weight::from_parts(0, 7716)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -160,12 +162,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn add_trusted_validation_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `6986` - // Minimum execution time: 8_834_000 picoseconds. - Weight::from_parts(8_989_000, 0) - .saturating_add(Weight::from_parts(0, 6986)) + // Estimated: `3493` + // Minimum execution time: 9_017_000 picoseconds. + Weight::from_parts(9_203_000, 0) + .saturating_add(Weight::from_parts(0, 3493)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_961, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_965, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -176,10 +178,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn poke_unused_validation_code() -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `3521` - // Minimum execution time: 6_731_000 picoseconds. - Weight::from_parts(7_003_000, 0) - .saturating_add(Weight::from_parts(0, 3521)) + // Estimated: `3493` + // Minimum execution time: 6_910_000 picoseconds. + Weight::from_parts(7_219_000, 0) + .saturating_add(Weight::from_parts(0, 3493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +195,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement() -> Weight { // Proof Size summary in bytes: - // Measured: `26872` - // Estimated: `115408` - // Minimum execution time: 91_664_000 picoseconds. - Weight::from_parts(93_856_000, 0) - .saturating_add(Weight::from_parts(0, 115408)) + // Measured: `26948` + // Estimated: `30413` + // Minimum execution time: 92_251_000 picoseconds. + Weight::from_parts(93_638_000, 0) + .saturating_add(Weight::from_parts(0, 30413)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,11 +221,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `27426` - // Estimated: `231783` - // Minimum execution time: 778_654_000 picoseconds. - Weight::from_parts(789_010_000, 0) - .saturating_add(Weight::from_parts(0, 231783)) + // Measured: `27502` + // Estimated: `30967` + // Minimum execution time: 792_755_000 picoseconds. + Weight::from_parts(799_668_000, 0) + .saturating_add(Weight::from_parts(0, 30967)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(104)) } @@ -237,11 +239,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `27404` - // Estimated: `117536` - // Minimum execution time: 91_553_000 picoseconds. - Weight::from_parts(93_179_000, 0) - .saturating_add(Weight::from_parts(0, 117536)) + // Measured: `27480` + // Estimated: `30945` + // Minimum execution time: 92_117_000 picoseconds. + Weight::from_parts(93_358_000, 0) + .saturating_add(Weight::from_parts(0, 30945)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -259,11 +261,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `26894` - // Estimated: `174234` - // Minimum execution time: 617_068_000 picoseconds. - Weight::from_parts(625_676_000, 0) - .saturating_add(Weight::from_parts(0, 174234)) + // Measured: `26970` + // Estimated: `30435` + // Minimum execution time: 625_094_000 picoseconds. + Weight::from_parts(633_347_000, 0) + .saturating_add(Weight::from_parts(0, 30435)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -277,11 +279,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `26872` - // Estimated: `115408` - // Minimum execution time: 90_504_000 picoseconds. - Weight::from_parts(92_274_000, 0) - .saturating_add(Weight::from_parts(0, 115408)) + // Measured: `26948` + // Estimated: `30413` + // Minimum execution time: 91_139_000 picoseconds. + Weight::from_parts(92_235_000, 0) + .saturating_add(Weight::from_parts(0, 30413)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs b/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs index ed914bfd6da2..8741a14eef79 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::paras_inherent`. pub struct WeightInfo(PhantomData); @@ -85,6 +87,8 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured) /// Storage: Dmp DownwardMessageQueues (r:1 w:1) /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:1) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: Hrmp HrmpChannelDigests (r:1 w:1) /// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured) /// Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -112,15 +116,15 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `50870` - // Estimated: `1539235 + v * (23 ±0)` - // Minimum execution time: 776_077_000 picoseconds. - Weight::from_parts(298_478_078, 0) - .saturating_add(Weight::from_parts(0, 1539235)) - // Standard Error: 25_937 - .saturating_add(Weight::from_parts(48_728_687, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(29)) - .saturating_add(T::DbWeight::get().writes(16)) + // Measured: `50979` + // Estimated: `56919 + v * (23 ±0)` + // Minimum execution time: 775_640_000 picoseconds. + Weight::from_parts(309_710_346, 0) + .saturating_add(Weight::from_parts(0, 56919)) + // Standard Error: 27_371 + .saturating_add(Weight::from_parts(48_505_416, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(30)) + .saturating_add(T::DbWeight::get().writes(17)) .saturating_add(Weight::from_parts(0, 23).saturating_mul(v.into())) } /// Storage: ParaInherent Included (r:1 w:1) @@ -155,6 +159,8 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured) /// Storage: Dmp DownwardMessageQueues (r:1 w:1) /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:1) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: Hrmp HrmpChannelDigests (r:1 w:1) /// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured) /// Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -187,13 +193,13 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Paras UpgradeGoAheadSignal (max_values: None, max_size: None, mode: Measured) fn enter_bitfields() -> Weight { // Proof Size summary in bytes: - // Measured: `42703` - // Estimated: `1252687` - // Minimum execution time: 333_634_000 picoseconds. - Weight::from_parts(347_247_000, 0) - .saturating_add(Weight::from_parts(0, 1252687)) - .saturating_add(T::DbWeight::get().reads(27)) - .saturating_add(T::DbWeight::get().writes(17)) + // Measured: `42813` + // Estimated: `48753` + // Minimum execution time: 331_835_000 picoseconds. + Weight::from_parts(349_288_000, 0) + .saturating_add(Weight::from_parts(0, 48753)) + .saturating_add(T::DbWeight::get().reads(28)) + .saturating_add(T::DbWeight::get().writes(18)) } /// Storage: ParaInherent Included (r:1 w:1) /// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured) @@ -227,6 +233,8 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured) /// Storage: Dmp DownwardMessageQueues (r:1 w:1) /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:1) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: Hrmp HrmpChannelDigests (r:1 w:1) /// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured) /// Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -262,15 +270,15 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `42735` - // Estimated: `1305723` - // Minimum execution time: 5_585_712_000 picoseconds. - Weight::from_parts(817_055_988, 0) - .saturating_add(Weight::from_parts(0, 1305723)) - // Standard Error: 47_975 - .saturating_add(Weight::from_parts(48_146_281, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(30)) - .saturating_add(T::DbWeight::get().writes(16)) + // Measured: `42844` + // Estimated: `48784` + // Minimum execution time: 5_556_649_000 picoseconds. + Weight::from_parts(801_603_917, 0) + .saturating_add(Weight::from_parts(0, 48784)) + // Standard Error: 49_954 + .saturating_add(Weight::from_parts(48_016_194, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(31)) + .saturating_add(T::DbWeight::get().writes(17)) } /// Storage: ParaInherent Included (r:1 w:1) /// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured) @@ -304,6 +312,8 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured) /// Storage: Dmp DownwardMessageQueues (r:1 w:1) /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:1) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: Hrmp HrmpChannelDigests (r:1 w:1) /// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured) /// Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -342,12 +352,12 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Paras UpgradeGoAheadSignal (max_values: None, max_size: None, mode: Measured) fn enter_backed_candidate_code_upgrade() -> Weight { // Proof Size summary in bytes: - // Measured: `42762` - // Estimated: `1398960` - // Minimum execution time: 32_705_265_000 picoseconds. - Weight::from_parts(32_937_507_000, 0) - .saturating_add(Weight::from_parts(0, 1398960)) - .saturating_add(T::DbWeight::get().reads(32)) - .saturating_add(T::DbWeight::get().writes(16)) + // Measured: `42871` + // Estimated: `48811` + // Minimum execution time: 32_850_847_000 picoseconds. + Weight::from_parts(33_054_650_000, 0) + .saturating_add(Weight::from_parts(0, 48811)) + .saturating_add(T::DbWeight::get().reads(33)) + .saturating_add(T::DbWeight::get().writes(17)) } } diff --git a/runtime/polkadot/src/weights/runtime_parachains_ump.rs b/runtime/polkadot/src/weights/runtime_parachains_ump.rs index 45ad94073cda..9691abc1d049 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_ump.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_ump.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::ump`. pub struct WeightInfo(PhantomData); @@ -50,11 +52,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_965_000 picoseconds. - Weight::from_parts(6_067_000, 0) + // Minimum execution time: 5_941_000 picoseconds. + Weight::from_parts(6_024_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 8 - .saturating_add(Weight::from_parts(1_388, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_365, 0).saturating_mul(s.into())) } /// Storage: Ump NeedsDispatch (r:1 w:1) /// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured) @@ -67,10 +69,10 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn clean_ump_after_outgoing() -> Weight { // Proof Size summary in bytes: // Measured: `240` - // Estimated: `3930` - // Minimum execution time: 9_595_000 picoseconds. - Weight::from_parts(9_908_000, 0) - .saturating_add(Weight::from_parts(0, 3930)) + // Estimated: `1725` + // Minimum execution time: 9_387_000 picoseconds. + Weight::from_parts(9_538_000, 0) + .saturating_add(Weight::from_parts(0, 1725)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -81,10 +83,10 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn service_overweight() -> Weight { // Proof Size summary in bytes: // Measured: `257` - // Estimated: `5211` - // Minimum execution time: 23_348_000 picoseconds. - Weight::from_parts(23_785_000, 0) - .saturating_add(Weight::from_parts(0, 5211)) + // Estimated: `3722` + // Minimum execution time: 23_382_000 picoseconds. + Weight::from_parts(23_808_000, 0) + .saturating_add(Weight::from_parts(0, 3722)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/rococo/constants/src/weights/block_weights.rs b/runtime/rococo/constants/src/weights/block_weights.rs index 35e604eb1313..5e48a4b5acb3 100644 --- a/runtime/rococo/constants/src/weights/block_weights.rs +++ b/runtime/rococo/constants/src/weights/block_weights.rs @@ -13,9 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16 (Y/M/D) -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2023-04-28 (Y/M/D) +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` @@ -42,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 482_781, 561_231 - /// Average: 488_493 - /// Median: 485_598 - /// Std-Dev: 10611.98 + /// Min, Max: 404_815, 446_107 + /// Average: 412_260 + /// Median: 407_654 + /// Std-Dev: 10913.16 /// /// Percentiles nanoseconds: - /// 99th: 524_803 - /// 95th: 514_096 - /// 75th: 487_488 + /// 99th: 442_332 + /// 95th: 437_202 + /// 75th: 409_924 pub const BlockExecutionWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(488_493), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(412_260), 0); } #[cfg(test)] diff --git a/runtime/rococo/constants/src/weights/extrinsic_weights.rs b/runtime/rococo/constants/src/weights/extrinsic_weights.rs index 06b390b12119..e82ff6b1e3d8 100644 --- a/runtime/rococo/constants/src/weights/extrinsic_weights.rs +++ b/runtime/rococo/constants/src/weights/extrinsic_weights.rs @@ -13,9 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16 (Y/M/D) -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2023-04-28 (Y/M/D) +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` @@ -42,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 96_243, 101_429 - /// Average: 96_710 - /// Median: 96_549 - /// Std-Dev: 641.99 + /// Min, Max: 97_150, 99_010 + /// Average: 97_618 + /// Median: 97_524 + /// Std-Dev: 330.47 /// /// Percentiles nanoseconds: - /// 99th: 99_714 - /// 95th: 97_508 - /// 75th: 96_663 + /// 99th: 98_640 + /// 95th: 98_346 + /// 75th: 97_735 pub const ExtrinsicBaseWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(96_710), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(97_618), 0); } #[cfg(test)] diff --git a/runtime/rococo/src/weights/frame_benchmarking_baseline.rs b/runtime/rococo/src/weights/frame_benchmarking_baseline.rs index 324b9037dda5..e466176c293c 100644 --- a/runtime/rococo/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/rococo/src/weights/frame_benchmarking_baseline.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `frame_benchmarking::baseline` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `frame_benchmarking::baseline`. pub struct WeightInfo(PhantomData); @@ -50,8 +52,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 157_000 picoseconds. - Weight::from_parts(214_152, 0) + // Minimum execution time: 177_000 picoseconds. + Weight::from_parts(225_107, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -59,8 +61,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 161_000 picoseconds. - Weight::from_parts(212_456, 0) + // Minimum execution time: 175_000 picoseconds. + Weight::from_parts(220_384, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -68,8 +70,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 159_000 picoseconds. - Weight::from_parts(213_431, 0) + // Minimum execution time: 178_000 picoseconds. + Weight::from_parts(225_711, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -77,16 +79,16 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 154_000 picoseconds. - Weight::from_parts(204_754, 0) + // Minimum execution time: 176_000 picoseconds. + Weight::from_parts(222_350, 0) .saturating_add(Weight::from_parts(0, 0)) } fn hashing() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 19_585_925_000 picoseconds. - Weight::from_parts(19_753_046_000, 0) + // Minimum execution time: 19_673_946_000 picoseconds. + Weight::from_parts(19_809_091_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 100]`. @@ -94,10 +96,10 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 214_000 picoseconds. - Weight::from_parts(233_000, 0) + // Minimum execution time: 237_000 picoseconds. + Weight::from_parts(248_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 8_934 - .saturating_add(Weight::from_parts(47_206_964, 0).saturating_mul(i.into())) + // Standard Error: 17_424 + .saturating_add(Weight::from_parts(47_298_928, 0).saturating_mul(i.into())) } } diff --git a/runtime/rococo/src/weights/frame_system.rs b/runtime/rococo/src/weights/frame_system.rs index c46a4e76a67d..5391d7e3c83f 100644 --- a/runtime/rococo/src/weights/frame_system.rs +++ b/runtime/rococo/src/weights/frame_system.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `frame_system`. pub struct WeightInfo(PhantomData); @@ -50,8 +52,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_292_000 picoseconds. - Weight::from_parts(2_342_000, 0) + // Minimum execution time: 2_407_000 picoseconds. + Weight::from_parts(2_436_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 .saturating_add(Weight::from_parts(368, 0).saturating_mul(b.into())) @@ -61,11 +63,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_815_000 picoseconds. - Weight::from_parts(8_108_000, 0) + // Minimum execution time: 7_662_000 picoseconds. + Weight::from_parts(7_766_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_408, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_407, 0).saturating_mul(b.into())) } /// Storage: System Digest (r:1 w:1) /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) @@ -75,8 +77,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 4_368_000 picoseconds. - Weight::from_parts(4_621_000, 0) + // Minimum execution time: 4_183_000 picoseconds. + Weight::from_parts(4_431_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -88,11 +90,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_288_000 picoseconds. - Weight::from_parts(2_376_000, 0) + // Minimum execution time: 2_366_000 picoseconds. + Weight::from_parts(2_411_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_708 - .saturating_add(Weight::from_parts(661_748, 0).saturating_mul(i.into())) + // Standard Error: 2_003 + .saturating_add(Weight::from_parts(670_137, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -102,11 +104,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_286_000 picoseconds. - Weight::from_parts(2_349_000, 0) + // Minimum execution time: 2_359_000 picoseconds. + Weight::from_parts(2_465_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 783 - .saturating_add(Weight::from_parts(479_594, 0).saturating_mul(i.into())) + // Standard Error: 835 + .saturating_add(Weight::from_parts(494_207, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -116,11 +118,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `131 + p * (69 ±0)` // Estimated: `126 + p * (70 ±0)` - // Minimum execution time: 4_282_000 picoseconds. - Weight::from_parts(4_376_000, 0) + // Minimum execution time: 4_212_000 picoseconds. + Weight::from_parts(4_297_000, 0) .saturating_add(Weight::from_parts(0, 126)) - // Standard Error: 914 - .saturating_add(Weight::from_parts(1_020_664, 0).saturating_mul(p.into())) + // Standard Error: 1_066 + .saturating_add(Weight::from_parts(1_022_162, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs b/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs index b98aaefef4e7..36dec0be89d4 100644 --- a/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs +++ b/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,56 +39,57 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { + /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances Account (r:2 w:2) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) - /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `219` - // Estimated: `11258` - // Minimum execution time: 40_394_000 picoseconds. - Weight::from_parts(41_033_000, 0) - .saturating_add(Weight::from_parts(0, 11258)) + // Estimated: `6164` + // Minimum execution time: 54_036_000 picoseconds. + Weight::from_parts(54_761_000, 0) + .saturating_add(Weight::from_parts(0, 6164)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } + /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:0) + /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances Account (r:2 w:2) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `217` - // Estimated: `9757` - // Minimum execution time: 28_198_000 picoseconds. - Weight::from_parts(28_706_000, 0) - .saturating_add(Weight::from_parts(0, 9757)) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `219` + // Estimated: `6164` + // Minimum execution time: 41_693_000 picoseconds. + Weight::from_parts(42_335_000, 0) + .saturating_add(Weight::from_parts(0, 6164)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: NisCounterpartBalances Account (r:1 w:1) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) - /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) - /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `219` - // Estimated: `5078` - // Minimum execution time: 17_898_000 picoseconds. - Weight::from_parts(18_319_000, 0) - .saturating_add(Weight::from_parts(0, 5078)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `217` + // Estimated: `3577` + // Minimum execution time: 16_386_000 picoseconds. + Weight::from_parts(16_712_000, 0) + .saturating_add(Weight::from_parts(0, 3577)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: NisCounterpartBalances Account (r:1 w:1) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) @@ -98,56 +100,76 @@ impl pallet_balances::WeightInfo for WeightInfo { fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `393` - // Estimated: `8671` - // Minimum execution time: 26_373_000 picoseconds. - Weight::from_parts(26_990_000, 0) - .saturating_add(Weight::from_parts(0, 8671)) + // Estimated: `3593` + // Minimum execution time: 26_518_000 picoseconds. + Weight::from_parts(27_185_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } + /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances Account (r:2 w:2) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: System Account (r:2 w:2) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) - /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `322` - // Estimated: `13861` - // Minimum execution time: 43_479_000 picoseconds. - Weight::from_parts(44_602_000, 0) - .saturating_add(Weight::from_parts(0, 13861)) + // Estimated: `6196` + // Minimum execution time: 56_563_000 picoseconds. + Weight::from_parts(57_220_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: NisCounterpartBalances Account (r:2 w:2) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) + /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:0) + /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `217` - // Estimated: `9757` - // Minimum execution time: 36_097_000 picoseconds. - Weight::from_parts(37_238_000, 0) - .saturating_add(Weight::from_parts(0, 9757)) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `219` + // Estimated: `6164` + // Minimum execution time: 50_372_000 picoseconds. + Weight::from_parts(51_117_000, 0) + .saturating_add(Weight::from_parts(0, 6164)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: NisCounterpartBalances Account (r:1 w:1) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_unreserve() -> Weight { // Proof Size summary in bytes: - // Measured: `217` - // Estimated: `3577` - // Minimum execution time: 16_048_000 picoseconds. - Weight::from_parts(16_434_000, 0) - .saturating_add(Weight::from_parts(0, 3577)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `391` + // Estimated: `3593` + // Minimum execution time: 21_992_000 picoseconds. + Weight::from_parts(22_345_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } - fn upgrade_accounts(_: u32) -> Weight { - Weight::from_parts(0, 0) + /// Storage: NisCounterpartBalances Account (r:999 w:999) + /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) + /// Storage: System Account (r:999 w:999) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// The range of component `u` is `[1, 1000]`. + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + u * (256 ±0)` + // Estimated: `990 + u * (2603 ±0)` + // Minimum execution time: 21_389_000 picoseconds. + Weight::from_parts(21_645_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 12_857 + .saturating_add(Weight::from_parts(15_438_302, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } } diff --git a/runtime/rococo/src/weights/pallet_bounties.rs b/runtime/rococo/src/weights/pallet_bounties.rs index e3faccb0b813..966e742a721b 100644 --- a/runtime/rococo/src/weights/pallet_bounties.rs +++ b/runtime/rococo/src/weights/pallet_bounties.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bounties`. pub struct WeightInfo(PhantomData); @@ -57,12 +59,12 @@ impl pallet_bounties::WeightInfo for WeightInfo { fn propose_bounty(d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `210` - // Estimated: `5082` - // Minimum execution time: 26_001_000 picoseconds. - Weight::from_parts(27_607_145, 0) - .saturating_add(Weight::from_parts(0, 5082)) - // Standard Error: 6 - .saturating_add(Weight::from_parts(696, 0).saturating_mul(d.into())) + // Estimated: `3593` + // Minimum execution time: 29_274_000 picoseconds. + Weight::from_parts(30_197_329, 0) + .saturating_add(Weight::from_parts(0, 3593)) + // Standard Error: 5 + .saturating_add(Weight::from_parts(706, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -125,10 +127,10 @@ impl pallet_bounties::WeightInfo for WeightInfo { fn close_bounty_proposed() -> Weight { // Proof Size summary in bytes: // Measured: `482` - // Estimated: `10716` - // Minimum execution time: 42_088_000 picoseconds. - Weight::from_parts(42_604_000, 0) - .saturating_add(Weight::from_parts(0, 10716)) + // Estimated: `3642` + // Minimum execution time: 46_157_000 picoseconds. + Weight::from_parts(46_866_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -156,7 +158,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `1887` // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(2_530_136, 0) + Weight::from_parts(2_416_468, 0) .saturating_add(Weight::from_parts(0, 1887)) } } diff --git a/runtime/rococo/src/weights/pallet_child_bounties.rs b/runtime/rococo/src/weights/pallet_child_bounties.rs index b21789623ccd..4defcf7bf151 100644 --- a/runtime/rococo/src/weights/pallet_child_bounties.rs +++ b/runtime/rococo/src/weights/pallet_child_bounties.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_child_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_child_bounties`. pub struct WeightInfo(PhantomData); diff --git a/runtime/rococo/src/weights/pallet_collective_council.rs b/runtime/rococo/src/weights/pallet_collective_council.rs index 756605402bdf..422510fd6425 100644 --- a/runtime/rococo/src/weights/pallet_collective_council.rs +++ b/runtime/rococo/src/weights/pallet_collective_council.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); @@ -62,20 +64,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` - // Estimated: `19164 + m * (7799 ±16) + p * (10110 ±16)` - // Minimum execution time: 18_409_000 picoseconds. - Weight::from_parts(18_665_000, 0) - .saturating_add(Weight::from_parts(0, 19164)) - // Standard Error: 53_593 - .saturating_add(Weight::from_parts(6_095_379, 0).saturating_mul(m.into())) - // Standard Error: 53_593 - .saturating_add(Weight::from_parts(8_689_578, 0).saturating_mul(p.into())) + // Estimated: `15795 + m * (1967 ±16) + p * (4332 ±16)` + // Minimum execution time: 18_402_000 picoseconds. + Weight::from_parts(18_692_000, 0) + .saturating_add(Weight::from_parts(0, 15795)) + // Standard Error: 49_983 + .saturating_add(Weight::from_parts(5_669_630, 0).saturating_mul(m.into())) + // Standard Error: 49_983 + .saturating_add(Weight::from_parts(8_322_090, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7799).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10110).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -87,13 +89,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `136 + m * (32 ±0)` // Estimated: `1622 + m * (32 ±0)` - // Minimum execution time: 17_403_000 picoseconds. - Weight::from_parts(17_138_700, 0) + // Minimum execution time: 17_337_000 picoseconds. + Weight::from_parts(16_651_455, 0) .saturating_add(Weight::from_parts(0, 1622)) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_245, 0).saturating_mul(b.into())) - // Standard Error: 255 - .saturating_add(Weight::from_parts(13_615, 0).saturating_mul(m.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_262, 0).saturating_mul(b.into())) + // Standard Error: 152 + .saturating_add(Weight::from_parts(15_343, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -108,16 +110,16 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `136 + m * (32 ±0)` - // Estimated: `5224 + m * (64 ±0)` - // Minimum execution time: 19_516_000 picoseconds. - Weight::from_parts(19_262_478, 0) - .saturating_add(Weight::from_parts(0, 5224)) - // Standard Error: 45 - .saturating_add(Weight::from_parts(990, 0).saturating_mul(b.into())) - // Standard Error: 471 - .saturating_add(Weight::from_parts(26_260, 0).saturating_mul(m.into())) + // Estimated: `3602 + m * (32 ±0)` + // Minimum execution time: 19_954_000 picoseconds. + Weight::from_parts(19_499_749, 0) + .saturating_add(Weight::from_parts(0, 3602)) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_077, 0).saturating_mul(b.into())) + // Standard Error: 211 + .saturating_add(Weight::from_parts(22_981, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -138,20 +140,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `426 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `9685 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 25_377_000 picoseconds. - Weight::from_parts(26_097_770, 0) - .saturating_add(Weight::from_parts(0, 9685)) - // Standard Error: 55 - .saturating_add(Weight::from_parts(2_402, 0).saturating_mul(b.into())) - // Standard Error: 574 - .saturating_add(Weight::from_parts(19_460, 0).saturating_mul(m.into())) - // Standard Error: 567 - .saturating_add(Weight::from_parts(127_156, 0).saturating_mul(p.into())) + // Estimated: `3818 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 26_208_000 picoseconds. + Weight::from_parts(27_096_847, 0) + .saturating_add(Weight::from_parts(0, 3818)) + // Standard Error: 48 + .saturating_add(Weight::from_parts(2_189, 0).saturating_mul(b.into())) + // Standard Error: 503 + .saturating_add(Weight::from_parts(20_504, 0).saturating_mul(m.into())) + // Standard Error: 497 + .saturating_add(Weight::from_parts(120_318, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 165).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -162,15 +164,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `875 + m * (64 ±0)` - // Estimated: `6698 + m * (128 ±0)` - // Minimum execution time: 23_095_000 picoseconds. - Weight::from_parts(23_734_450, 0) - .saturating_add(Weight::from_parts(0, 6698)) - // Standard Error: 321 - .saturating_add(Weight::from_parts(46_415, 0).saturating_mul(m.into())) + // Estimated: `4339 + m * (64 ±0)` + // Minimum execution time: 22_980_000 picoseconds. + Weight::from_parts(23_621_937, 0) + .saturating_add(Weight::from_parts(0, 4339)) + // Standard Error: 283 + .saturating_add(Weight::from_parts(42_568, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 128).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -187,18 +189,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `464 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `8211 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 28_018_000 picoseconds. - Weight::from_parts(29_056_435, 0) - .saturating_add(Weight::from_parts(0, 8211)) - // Standard Error: 435 - .saturating_add(Weight::from_parts(23_077, 0).saturating_mul(m.into())) - // Standard Error: 424 - .saturating_add(Weight::from_parts(118_080, 0).saturating_mul(p.into())) + // Estimated: `3909 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 27_454_000 picoseconds. + Weight::from_parts(28_773_744, 0) + .saturating_add(Weight::from_parts(0, 3909)) + // Standard Error: 378 + .saturating_add(Weight::from_parts(19_297, 0).saturating_mul(m.into())) + // Standard Error: 368 + .saturating_add(Weight::from_parts(117_370, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -217,19 +219,19 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `766 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `12372 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 39_949_000 picoseconds. - Weight::from_parts(42_155_581, 0) - .saturating_add(Weight::from_parts(0, 12372)) - // Standard Error: 126 - .saturating_add(Weight::from_parts(2_168, 0).saturating_mul(b.into())) - // Standard Error: 1_306 - .saturating_add(Weight::from_parts(153_515, 0).saturating_mul(p.into())) + // Estimated: `4083 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 39_077_000 picoseconds. + Weight::from_parts(41_622_516, 0) + .saturating_add(Weight::from_parts(0, 4083)) + // Standard Error: 123 + .saturating_add(Weight::from_parts(1_933, 0).saturating_mul(b.into())) + // Standard Error: 1_276 + .saturating_add(Weight::from_parts(150_639, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 264).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -248,18 +250,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `484 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `10240 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 30_831_000 picoseconds. - Weight::from_parts(31_829_276, 0) - .saturating_add(Weight::from_parts(0, 10240)) - // Standard Error: 448 - .saturating_add(Weight::from_parts(23_861, 0).saturating_mul(m.into())) - // Standard Error: 437 - .saturating_add(Weight::from_parts(117_488, 0).saturating_mul(p.into())) + // Estimated: `3929 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 30_045_000 picoseconds. + Weight::from_parts(31_073_236, 0) + .saturating_add(Weight::from_parts(0, 3929)) + // Standard Error: 403 + .saturating_add(Weight::from_parts(24_734, 0).saturating_mul(m.into())) + // Standard Error: 393 + .saturating_add(Weight::from_parts(117_906, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: Council Voting (r:1 w:1) /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) @@ -280,21 +282,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `786 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `14575 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 42_428_000 picoseconds. - Weight::from_parts(43_525_724, 0) - .saturating_add(Weight::from_parts(0, 14575)) - // Standard Error: 88 - .saturating_add(Weight::from_parts(2_466, 0).saturating_mul(b.into())) - // Standard Error: 932 - .saturating_add(Weight::from_parts(24_008, 0).saturating_mul(m.into())) - // Standard Error: 909 - .saturating_add(Weight::from_parts(151_137, 0).saturating_mul(p.into())) + // Estimated: `4103 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 42_126_000 picoseconds. + Weight::from_parts(43_424_776, 0) + .saturating_add(Weight::from_parts(0, 4103)) + // Standard Error: 84 + .saturating_add(Weight::from_parts(2_213, 0).saturating_mul(b.into())) + // Standard Error: 897 + .saturating_add(Weight::from_parts(20_583, 0).saturating_mul(m.into())) + // Standard Error: 874 + .saturating_add(Weight::from_parts(146_262, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 330).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: Council Proposals (r:1 w:1) /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -307,14 +309,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + p * (32 ±0)` - // Estimated: `2364 + p * (96 ±0)` - // Minimum execution time: 15_842_000 picoseconds. - Weight::from_parts(18_220_251, 0) - .saturating_add(Weight::from_parts(0, 2364)) - // Standard Error: 525 - .saturating_add(Weight::from_parts(114_682, 0).saturating_mul(p.into())) + // Estimated: `1778 + p * (32 ±0)` + // Minimum execution time: 15_659_000 picoseconds. + Weight::from_parts(17_899_384, 0) + .saturating_add(Weight::from_parts(0, 1778)) + // Standard Error: 452 + .saturating_add(Weight::from_parts(108_783, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/rococo/src/weights/pallet_collective_technical_committee.rs b/runtime/rococo/src/weights/pallet_collective_technical_committee.rs index 72f311427b61..ee1ea7accd03 100644 --- a/runtime/rococo/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/rococo/src/weights/pallet_collective_technical_committee.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); @@ -62,20 +64,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` - // Estimated: `19048 + m * (7799 ±16) + p * (10110 ±16)` - // Minimum execution time: 18_999_000 picoseconds. - Weight::from_parts(19_317_000, 0) - .saturating_add(Weight::from_parts(0, 19048)) - // Standard Error: 53_772 - .saturating_add(Weight::from_parts(6_158_487, 0).saturating_mul(m.into())) - // Standard Error: 53_772 - .saturating_add(Weight::from_parts(8_829_842, 0).saturating_mul(p.into())) + // Estimated: `15766 + m * (1967 ±16) + p * (4332 ±16)` + // Minimum execution time: 19_034_000 picoseconds. + Weight::from_parts(19_243_000, 0) + .saturating_add(Weight::from_parts(0, 15766)) + // Standard Error: 50_700 + .saturating_add(Weight::from_parts(5_726_755, 0).saturating_mul(m.into())) + // Standard Error: 50_700 + .saturating_add(Weight::from_parts(8_481_014, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7799).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10110).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -87,13 +89,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107 + m * (32 ±0)` // Estimated: `1593 + m * (32 ±0)` - // Minimum execution time: 18_150_000 picoseconds. - Weight::from_parts(17_661_983, 0) + // Minimum execution time: 17_950_000 picoseconds. + Weight::from_parts(17_125_778, 0) .saturating_add(Weight::from_parts(0, 1593)) - // Standard Error: 22 - .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(b.into())) - // Standard Error: 231 - .saturating_add(Weight::from_parts(11_314, 0).saturating_mul(m.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_182, 0).saturating_mul(b.into())) + // Standard Error: 103 + .saturating_add(Weight::from_parts(14_125, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -108,16 +110,16 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `107 + m * (32 ±0)` - // Estimated: `5166 + m * (64 ±0)` - // Minimum execution time: 20_213_000 picoseconds. - Weight::from_parts(19_820_630, 0) - .saturating_add(Weight::from_parts(0, 5166)) - // Standard Error: 45 - .saturating_add(Weight::from_parts(1_027, 0).saturating_mul(b.into())) - // Standard Error: 468 - .saturating_add(Weight::from_parts(25_038, 0).saturating_mul(m.into())) + // Estimated: `3573 + m * (32 ±0)` + // Minimum execution time: 20_593_000 picoseconds. + Weight::from_parts(20_116_875, 0) + .saturating_add(Weight::from_parts(0, 3573)) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_045, 0).saturating_mul(b.into())) + // Standard Error: 206 + .saturating_add(Weight::from_parts(21_982, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -138,20 +140,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `397 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `9540 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 26_035_000 picoseconds. - Weight::from_parts(26_958_892, 0) - .saturating_add(Weight::from_parts(0, 9540)) - // Standard Error: 53 - .saturating_add(Weight::from_parts(2_417, 0).saturating_mul(b.into())) - // Standard Error: 553 - .saturating_add(Weight::from_parts(19_098, 0).saturating_mul(m.into())) - // Standard Error: 546 - .saturating_add(Weight::from_parts(127_780, 0).saturating_mul(p.into())) + // Estimated: `3789 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 26_957_000 picoseconds. + Weight::from_parts(28_225_593, 0) + .saturating_add(Weight::from_parts(0, 3789)) + // Standard Error: 49 + .saturating_add(Weight::from_parts(2_111, 0).saturating_mul(b.into())) + // Standard Error: 519 + .saturating_add(Weight::from_parts(19_059, 0).saturating_mul(m.into())) + // Standard Error: 512 + .saturating_add(Weight::from_parts(120_207, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 165).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -162,15 +164,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `846 + m * (64 ±0)` - // Estimated: `6640 + m * (128 ±0)` - // Minimum execution time: 23_930_000 picoseconds. - Weight::from_parts(24_532_203, 0) - .saturating_add(Weight::from_parts(0, 6640)) - // Standard Error: 289 - .saturating_add(Weight::from_parts(45_327, 0).saturating_mul(m.into())) + // Estimated: `4310 + m * (64 ±0)` + // Minimum execution time: 23_883_000 picoseconds. + Weight::from_parts(24_569_576, 0) + .saturating_add(Weight::from_parts(0, 4310)) + // Standard Error: 269 + .saturating_add(Weight::from_parts(41_322, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 128).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -187,18 +189,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `435 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `8095 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 28_607_000 picoseconds. - Weight::from_parts(29_697_878, 0) - .saturating_add(Weight::from_parts(0, 8095)) - // Standard Error: 404 - .saturating_add(Weight::from_parts(23_038, 0).saturating_mul(m.into())) - // Standard Error: 394 - .saturating_add(Weight::from_parts(119_861, 0).saturating_mul(p.into())) + // Estimated: `3880 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 28_970_000 picoseconds. + Weight::from_parts(29_869_666, 0) + .saturating_add(Weight::from_parts(0, 3880)) + // Standard Error: 400 + .saturating_add(Weight::from_parts(19_955, 0).saturating_mul(m.into())) + // Standard Error: 390 + .saturating_add(Weight::from_parts(117_749, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -217,21 +219,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `737 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `12256 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 40_627_000 picoseconds. - Weight::from_parts(42_069_683, 0) - .saturating_add(Weight::from_parts(0, 12256)) - // Standard Error: 85 - .saturating_add(Weight::from_parts(2_262, 0).saturating_mul(b.into())) - // Standard Error: 903 - .saturating_add(Weight::from_parts(21_911, 0).saturating_mul(m.into())) - // Standard Error: 880 - .saturating_add(Weight::from_parts(148_298, 0).saturating_mul(p.into())) + // Estimated: `4054 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 40_564_000 picoseconds. + Weight::from_parts(41_772_905, 0) + .saturating_add(Weight::from_parts(0, 4054)) + // Standard Error: 84 + .saturating_add(Weight::from_parts(2_216, 0).saturating_mul(b.into())) + // Standard Error: 890 + .saturating_add(Weight::from_parts(22_219, 0).saturating_mul(m.into())) + // Standard Error: 867 + .saturating_add(Weight::from_parts(145_999, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 264).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -250,18 +252,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `455 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `10095 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 31_316_000 picoseconds. - Weight::from_parts(32_415_386, 0) - .saturating_add(Weight::from_parts(0, 10095)) - // Standard Error: 418 - .saturating_add(Weight::from_parts(24_815, 0).saturating_mul(m.into())) - // Standard Error: 408 - .saturating_add(Weight::from_parts(118_520, 0).saturating_mul(p.into())) + // Estimated: `3900 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 31_510_000 picoseconds. + Weight::from_parts(32_155_917, 0) + .saturating_add(Weight::from_parts(0, 3900)) + // Standard Error: 409 + .saturating_add(Weight::from_parts(25_521, 0).saturating_mul(m.into())) + // Standard Error: 399 + .saturating_add(Weight::from_parts(118_710, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -282,21 +284,21 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `757 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `14430 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 42_902_000 picoseconds. - Weight::from_parts(44_509_967, 0) - .saturating_add(Weight::from_parts(0, 14430)) + // Estimated: `4074 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 42_881_000 picoseconds. + Weight::from_parts(44_703_551, 0) + .saturating_add(Weight::from_parts(0, 4074)) // Standard Error: 83 - .saturating_add(Weight::from_parts(2_224, 0).saturating_mul(b.into())) - // Standard Error: 879 - .saturating_add(Weight::from_parts(24_140, 0).saturating_mul(m.into())) - // Standard Error: 857 - .saturating_add(Weight::from_parts(151_097, 0).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(1_971, 0).saturating_mul(b.into())) + // Standard Error: 883 + .saturating_add(Weight::from_parts(22_002, 0).saturating_mul(m.into())) + // Standard Error: 861 + .saturating_add(Weight::from_parts(145_799, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 330).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Proposals (r:1 w:1) /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -309,14 +311,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `264 + p * (32 ±0)` - // Estimated: `2277 + p * (96 ±0)` - // Minimum execution time: 16_736_000 picoseconds. - Weight::from_parts(18_556_980, 0) - .saturating_add(Weight::from_parts(0, 2277)) - // Standard Error: 453 - .saturating_add(Weight::from_parts(116_561, 0).saturating_mul(p.into())) + // Estimated: `1749 + p * (32 ±0)` + // Minimum execution time: 16_690_000 picoseconds. + Weight::from_parts(18_681_632, 0) + .saturating_add(Weight::from_parts(0, 1749)) + // Standard Error: 445 + .saturating_add(Weight::from_parts(110_002, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/rococo/src/weights/pallet_democracy.rs b/runtime/rococo/src/weights/pallet_democracy.rs index f5531a6e3492..ad15ab5f5e15 100644 --- a/runtime/rococo/src/weights/pallet_democracy.rs +++ b/runtime/rococo/src/weights/pallet_democracy.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); @@ -56,10 +58,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `4768` - // Estimated: `26379` - // Minimum execution time: 36_024_000 picoseconds. - Weight::from_parts(36_432_000, 0) - .saturating_add(Weight::from_parts(0, 26379)) + // Estimated: `18187` + // Minimum execution time: 40_151_000 picoseconds. + Weight::from_parts(40_606_000, 0) + .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -69,8 +71,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 33_659_000 picoseconds. - Weight::from_parts(33_991_000, 0) + // Minimum execution time: 36_989_000 picoseconds. + Weight::from_parts(37_243_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -81,14 +83,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3399` - // Estimated: `15690` - // Minimum execution time: 45_431_000 picoseconds. - Weight::from_parts(46_035_000, 0) - .saturating_add(Weight::from_parts(0, 15690)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7260` + // Minimum execution time: 48_236_000 picoseconds. + Weight::from_parts(49_083_000, 0) + .saturating_add(Weight::from_parts(0, 7260)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -97,14 +101,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3421` - // Estimated: `15690` - // Minimum execution time: 45_080_000 picoseconds. - Weight::from_parts(46_071_000, 0) - .saturating_add(Weight::from_parts(0, 15690)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7260` + // Minimum execution time: 52_985_000 picoseconds. + Weight::from_parts(53_492_000, 0) + .saturating_add(Weight::from_parts(0, 7260)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -116,10 +122,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` - // Estimated: `10682` - // Minimum execution time: 26_871_000 picoseconds. - Weight::from_parts(27_465_000, 0) - .saturating_add(Weight::from_parts(0, 10682)) + // Estimated: `3666` + // Minimum execution time: 26_690_000 picoseconds. + Weight::from_parts(27_147_000, 0) + .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -140,10 +146,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `5877` - // Estimated: `42332` - // Minimum execution time: 92_414_000 picoseconds. - Weight::from_parts(93_526_000, 0) - .saturating_add(Weight::from_parts(0, 42332)) + // Estimated: `18187` + // Minimum execution time: 96_789_000 picoseconds. + Weight::from_parts(97_702_000, 0) + .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -154,10 +160,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `3383` - // Estimated: `8320` - // Minimum execution time: 14_050_000 picoseconds. - Weight::from_parts(14_406_000, 0) - .saturating_add(Weight::from_parts(0, 8320)) + // Estimated: `6703` + // Minimum execution time: 14_212_000 picoseconds. + Weight::from_parts(14_728_000, 0) + .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -167,8 +173,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_771_000 picoseconds. - Weight::from_parts(3_945_000, 0) + // Minimum execution time: 3_762_000 picoseconds. + Weight::from_parts(3_938_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,8 +184,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_803_000 picoseconds. - Weight::from_parts(3_970_000, 0) + // Minimum execution time: 4_011_000 picoseconds. + Weight::from_parts(4_129_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -194,10 +200,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `6624` - // Minimum execution time: 27_895_000 picoseconds. - Weight::from_parts(28_544_000, 0) - .saturating_add(Weight::from_parts(0, 6624)) + // Estimated: `3518` + // Minimum execution time: 27_716_000 picoseconds. + Weight::from_parts(28_144_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -210,10 +216,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `3486` - // Estimated: `11838` - // Minimum execution time: 32_879_000 picoseconds. - Weight::from_parts(33_543_000, 0) - .saturating_add(Weight::from_parts(0, 11838)) + // Estimated: `6703` + // Minimum execution time: 31_767_000 picoseconds. + Weight::from_parts(32_248_000, 0) + .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -228,10 +234,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `5788` - // Estimated: `31993` - // Minimum execution time: 75_590_000 picoseconds. - Weight::from_parts(77_747_000, 0) - .saturating_add(Weight::from_parts(0, 31993)) + // Estimated: `18187` + // Minimum execution time: 79_783_000 picoseconds. + Weight::from_parts(80_710_000, 0) + .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -243,8 +249,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 20_253_000 picoseconds. - Weight::from_parts(20_741_000, 0) + // Minimum execution time: 20_517_000 picoseconds. + Weight::from_parts(20_775_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -259,12 +265,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` - // Estimated: `3968 + r * (2676 ±0)` - // Minimum execution time: 7_320_000 picoseconds. - Weight::from_parts(10_040_486, 0) - .saturating_add(Weight::from_parts(0, 3968)) - // Standard Error: 5_552 - .saturating_add(Weight::from_parts(2_743_794, 0).saturating_mul(r.into())) + // Estimated: `1489 + r * (2676 ±0)` + // Minimum execution time: 7_393_000 picoseconds. + Weight::from_parts(9_178_422, 0) + .saturating_add(Weight::from_parts(0, 1489)) + // Standard Error: 6_175 + .saturating_add(Weight::from_parts(2_735_887, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -286,12 +292,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` - // Estimated: `25258 + r * (2676 ±0)` - // Minimum execution time: 9_844_000 picoseconds. - Weight::from_parts(13_450_509, 0) - .saturating_add(Weight::from_parts(0, 25258)) - // Standard Error: 9_321 - .saturating_add(Weight::from_parts(2_747_536, 0).saturating_mul(r.into())) + // Estimated: `18187 + r * (2676 ±0)` + // Minimum execution time: 9_881_000 picoseconds. + Weight::from_parts(12_865_888, 0) + .saturating_add(Weight::from_parts(0, 18187)) + // Standard Error: 6_155 + .saturating_add(Weight::from_parts(2_706_606, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -303,17 +309,19 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `763 + r * (108 ±0)` - // Estimated: `25554 + r * (2676 ±0)` - // Minimum execution time: 37_313_000 picoseconds. - Weight::from_parts(43_491_459, 0) - .saturating_add(Weight::from_parts(0, 25554)) - // Standard Error: 7_336 - .saturating_add(Weight::from_parts(3_874_754, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `19800 + r * (2676 ±0)` + // Minimum execution time: 41_022_000 picoseconds. + Weight::from_parts(46_730_104, 0) + .saturating_add(Weight::from_parts(0, 19800)) + // Standard Error: 8_191 + .saturating_add(Weight::from_parts(3_831_873, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -327,12 +335,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `460 + r * (108 ±0)` - // Estimated: `14520 + r * (2676 ±0)` - // Minimum execution time: 21_688_000 picoseconds. - Weight::from_parts(24_058_987, 0) - .saturating_add(Weight::from_parts(0, 14520)) - // Standard Error: 6_136 - .saturating_add(Weight::from_parts(3_860_950, 0).saturating_mul(r.into())) + // Estimated: `13530 + r * (2676 ±0)` + // Minimum execution time: 21_705_000 picoseconds. + Weight::from_parts(23_543_693, 0) + .saturating_add(Weight::from_parts(0, 13530)) + // Standard Error: 6_193 + .saturating_add(Weight::from_parts(3_801_535, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -345,8 +353,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_656_000 picoseconds. - Weight::from_parts(3_768_000, 0) + // Minimum execution time: 3_762_000 picoseconds. + Weight::from_parts(3_871_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -354,38 +362,42 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `492` - // Estimated: `15617` - // Minimum execution time: 20_433_000 picoseconds. - Weight::from_parts(26_581_801, 0) - .saturating_add(Weight::from_parts(0, 15617)) - // Standard Error: 1_371 - .saturating_add(Weight::from_parts(22_526, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7260` + // Minimum execution time: 23_852_000 picoseconds. + Weight::from_parts(37_123_595, 0) + .saturating_add(Weight::from_parts(0, 7260)) + // Standard Error: 2_918 + .saturating_add(Weight::from_parts(31_056, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy VotingOf (r:1 w:1) /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `493 + r * (22 ±0)` - // Estimated: `15617` - // Minimum execution time: 24_978_000 picoseconds. - Weight::from_parts(25_966_543, 0) - .saturating_add(Weight::from_parts(0, 15617)) - // Standard Error: 525 - .saturating_add(Weight::from_parts(67_492, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7260` + // Minimum execution time: 34_374_000 picoseconds. + Weight::from_parts(35_847_389, 0) + .saturating_add(Weight::from_parts(0, 7260)) + // Standard Error: 577 + .saturating_add(Weight::from_parts(57_894, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -396,12 +408,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` - // Estimated: `10926` - // Minimum execution time: 16_687_000 picoseconds. - Weight::from_parts(19_772_474, 0) - .saturating_add(Weight::from_parts(0, 10926)) - // Standard Error: 1_001 - .saturating_add(Weight::from_parts(77_557, 0).saturating_mul(r.into())) + // Estimated: `7260` + // Minimum execution time: 16_810_000 picoseconds. + Weight::from_parts(19_286_623, 0) + .saturating_add(Weight::from_parts(0, 7260)) + // Standard Error: 912 + .saturating_add(Weight::from_parts(70_520, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -413,12 +425,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` - // Estimated: `10926` - // Minimum execution time: 17_400_000 picoseconds. - Weight::from_parts(19_727_700, 0) - .saturating_add(Weight::from_parts(0, 10926)) - // Standard Error: 1_085 - .saturating_add(Weight::from_parts(78_547, 0).saturating_mul(r.into())) + // Estimated: `7260` + // Minimum execution time: 16_745_000 picoseconds. + Weight::from_parts(19_260_896, 0) + .saturating_add(Weight::from_parts(0, 7260)) + // Standard Error: 972 + .saturating_add(Weight::from_parts(73_710, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -431,10 +443,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `395` - // Estimated: `5173` - // Minimum execution time: 19_330_000 picoseconds. - Weight::from_parts(19_835_000, 0) - .saturating_add(Weight::from_parts(0, 5173)) + // Estimated: `3556` + // Minimum execution time: 19_608_000 picoseconds. + Weight::from_parts(19_878_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -445,10 +457,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `5135` - // Minimum execution time: 17_530_000 picoseconds. - Weight::from_parts(17_904_000, 0) - .saturating_add(Weight::from_parts(0, 5135)) + // Estimated: `3518` + // Minimum execution time: 17_552_000 picoseconds. + Weight::from_parts(17_890_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -461,10 +473,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4927` - // Estimated: `21743` - // Minimum execution time: 34_800_000 picoseconds. - Weight::from_parts(35_384_000, 0) - .saturating_add(Weight::from_parts(0, 21743)) + // Estimated: `18187` + // Minimum execution time: 35_045_000 picoseconds. + Weight::from_parts(35_790_000, 0) + .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -475,10 +487,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4789` - // Estimated: `21705` - // Minimum execution time: 31_767_000 picoseconds. - Weight::from_parts(32_234_000, 0) - .saturating_add(Weight::from_parts(0, 21705)) + // Estimated: `18187` + // Minimum execution time: 31_710_000 picoseconds. + Weight::from_parts(31_981_000, 0) + .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -490,8 +502,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `216` // Estimated: `3556` - // Minimum execution time: 16_538_000 picoseconds. - Weight::from_parts(16_936_000, 0) + // Minimum execution time: 16_386_000 picoseconds. + Weight::from_parts(16_694_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -503,10 +515,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` - // Estimated: `7184` - // Minimum execution time: 19_593_000 picoseconds. - Weight::from_parts(20_167_000, 0) - .saturating_add(Weight::from_parts(0, 7184)) + // Estimated: `3666` + // Minimum execution time: 19_510_000 picoseconds. + Weight::from_parts(20_105_000, 0) + .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_elections_phragmen.rs b/runtime/rococo/src/weights/pallet_elections_phragmen.rs index 294b3e500345..3bcb27501a6b 100644 --- a/runtime/rococo/src/weights/pallet_elections_phragmen.rs +++ b/runtime/rococo/src/weights/pallet_elections_phragmen.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. pub struct WeightInfo(PhantomData); @@ -55,17 +57,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `331 + v * (80 ±0)` - // Estimated: `14004 + v * (320 ±0)` - // Minimum execution time: 27_802_000 picoseconds. - Weight::from_parts(30_649_218, 0) - .saturating_add(Weight::from_parts(0, 14004)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4764 + v * (80 ±0)` + // Minimum execution time: 30_744_000 picoseconds. + Weight::from_parts(31_357_460, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 2_053 + .saturating_add(Weight::from_parts(131_121, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:0) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -77,19 +83,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `299 + v * (80 ±0)` - // Estimated: `13876 + v * (320 ±0)` - // Minimum execution time: 37_035_000 picoseconds. - Weight::from_parts(37_964_172, 0) - .saturating_add(Weight::from_parts(0, 13876)) - // Standard Error: 4_680 - .saturating_add(Weight::from_parts(142_164, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4764 + v * (80 ±0)` + // Minimum execution time: 42_647_000 picoseconds. + Weight::from_parts(43_075_557, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 2_175 + .saturating_add(Weight::from_parts(128_599, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:0) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -101,32 +109,36 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `331 + v * (80 ±0)` - // Estimated: `14004 + v * (320 ±0)` - // Minimum execution time: 37_024_000 picoseconds. - Weight::from_parts(38_474_516, 0) - .saturating_add(Weight::from_parts(0, 14004)) - // Standard Error: 4_740 - .saturating_add(Weight::from_parts(83_564, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4764 + v * (80 ±0)` + // Minimum execution time: 42_226_000 picoseconds. + Weight::from_parts(42_799_848, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 2_496 + .saturating_add(Weight::from_parts(147_226, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) } /// Storage: PhragmenElection Voting (r:1 w:1) /// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) fn remove_voter() -> Weight { // Proof Size summary in bytes: // Measured: `853` - // Estimated: `9082` - // Minimum execution time: 32_730_000 picoseconds. - Weight::from_parts(33_443_000, 0) - .saturating_add(Weight::from_parts(0, 9082)) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4764` + // Minimum execution time: 44_305_000 picoseconds. + Weight::from_parts(44_797_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: PhragmenElection Candidates (r:1 w:1) @@ -139,15 +151,15 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2678 + c * (48 ±0)` - // Estimated: `12483 + c * (144 ±0)` - // Minimum execution time: 29_721_000 picoseconds. - Weight::from_parts(22_278_307, 0) - .saturating_add(Weight::from_parts(0, 12483)) - // Standard Error: 933 - .saturating_add(Weight::from_parts(89_517, 0).saturating_mul(c.into())) + // Estimated: `4161 + c * (48 ±0)` + // Minimum execution time: 33_109_000 picoseconds. + Weight::from_parts(26_576_040, 0) + .saturating_add(Weight::from_parts(0, 4161)) + // Standard Error: 839 + .saturating_add(Weight::from_parts(81_645, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -156,11 +168,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `250 + c * (48 ±0)` // Estimated: `1722 + c * (48 ±0)` - // Minimum execution time: 25_720_000 picoseconds. - Weight::from_parts(18_426_476, 0) + // Minimum execution time: 29_366_000 picoseconds. + Weight::from_parts(21_811_315, 0) .saturating_add(Weight::from_parts(0, 1722)) - // Standard Error: 916 - .saturating_add(Weight::from_parts(59_445, 0).saturating_mul(c.into())) + // Standard Error: 907 + .saturating_add(Weight::from_parts(59_170, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -178,10 +190,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: // Measured: `2952` - // Estimated: `20700` - // Minimum execution time: 43_167_000 picoseconds. - Weight::from_parts(43_835_000, 0) - .saturating_add(Weight::from_parts(0, 20700)) + // Estimated: `4437` + // Minimum execution time: 44_941_000 picoseconds. + Weight::from_parts(45_523_000, 0) + .saturating_add(Weight::from_parts(0, 4437)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -191,8 +203,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `1647` // Estimated: `3132` - // Minimum execution time: 28_044_000 picoseconds. - Weight::from_parts(28_654_000, 0) + // Minimum execution time: 29_859_000 picoseconds. + Weight::from_parts(30_234_000, 0) .saturating_add(Weight::from_parts(0, 3132)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -222,10 +234,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: // Measured: `2952` - // Estimated: `24293` - // Minimum execution time: 58_827_000 picoseconds. - Weight::from_parts(59_647_000, 0) - .saturating_add(Weight::from_parts(0, 24293)) + // Estimated: `4437` + // Minimum execution time: 62_497_000 picoseconds. + Weight::from_parts(62_984_000, 0) + .saturating_add(Weight::from_parts(0, 4437)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -239,6 +251,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) /// Storage: Balances Locks (r:10000 w:10000) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:10000 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// Storage: System Account (r:10000 w:10000) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `v` is `[5000, 10000]`. @@ -246,16 +260,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `35961 + v * (808 ±0)` - // Estimated: `154848 + v * (12084 ±0)` - // Minimum execution time: 319_115_915_000 picoseconds. - Weight::from_parts(319_715_901_000, 0) - .saturating_add(Weight::from_parts(0, 154848)) - // Standard Error: 270_753 - .saturating_add(Weight::from_parts(38_691_641, 0).saturating_mul(v.into())) + // Estimated: `39702 + v * (3774 ±0)` + // Minimum execution time: 376_312_529_000 picoseconds. + Weight::from_parts(376_942_782_000, 0) + .saturating_add(Weight::from_parts(0, 39702)) + // Standard Error: 315_574 + .saturating_add(Weight::from_parts(46_127_221, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 12084).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 3774).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -280,22 +294,22 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[10000, 160000]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + v * (607 ±0) + e * (28 ±0)` - // Estimated: `4839041 + v * (5481 ±4) + e * (123 ±0) + c * (2560 ±0)` - // Minimum execution time: 32_136_857_000 picoseconds. - Weight::from_parts(32_218_284_000, 0) - .saturating_add(Weight::from_parts(0, 4839041)) - // Standard Error: 544_904 - .saturating_add(Weight::from_parts(42_452_598, 0).saturating_mul(v.into())) - // Standard Error: 34_968 - .saturating_add(Weight::from_parts(2_365_653, 0).saturating_mul(e.into())) + // Measured: `0 + e * (28 ±0) + v * (607 ±0)` + // Estimated: `2771509 + c * (2560 ±0) + e * (16 ±0) + v * (2744 ±4)` + // Minimum execution time: 35_926_796_000 picoseconds. + Weight::from_parts(36_056_450_000, 0) + .saturating_add(Weight::from_parts(0, 2771509)) + // Standard Error: 511_137 + .saturating_add(Weight::from_parts(39_760_998, 0).saturating_mul(v.into())) + // Standard Error: 32_801 + .saturating_add(Weight::from_parts(2_151_717, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(265)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 5481).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 123).saturating_mul(e.into())) .saturating_add(Weight::from_parts(0, 2560).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 16).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2744).saturating_mul(v.into())) } } diff --git a/runtime/rococo/src/weights/pallet_identity.rs b/runtime/rococo/src/weights/pallet_identity.rs index c2afd0374b3e..18f536a98636 100644 --- a/runtime/rococo/src/weights/pallet_identity.rs +++ b/runtime/rococo/src/weights/pallet_identity.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); @@ -52,11 +54,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 13_192_000 picoseconds. - Weight::from_parts(13_653_242, 0) + // Minimum execution time: 12_737_000 picoseconds. + Weight::from_parts(13_124_548, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_766 - .saturating_add(Weight::from_parts(103_771, 0).saturating_mul(r.into())) + // Standard Error: 1_343 + .saturating_add(Weight::from_parts(92_718, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,13 +70,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `442 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 30_262_000 picoseconds. - Weight::from_parts(30_801_461, 0) + // Minimum execution time: 32_074_000 picoseconds. + Weight::from_parts(31_264_031, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 3_458 - .saturating_add(Weight::from_parts(26_704, 0).saturating_mul(r.into())) - // Standard Error: 674 - .saturating_add(Weight::from_parts(447_877, 0).saturating_mul(x.into())) + // Standard Error: 1_927 + .saturating_add(Weight::from_parts(85_446, 0).saturating_mul(r.into())) + // Standard Error: 376 + .saturating_add(Weight::from_parts(451_442, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,12 +90,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `101` - // Estimated: `18716 + s * (2589 ±0)` - // Minimum execution time: 9_694_000 picoseconds. - Weight::from_parts(22_982_420, 0) - .saturating_add(Weight::from_parts(0, 18716)) - // Standard Error: 5_658 - .saturating_add(Weight::from_parts(2_695_187, 0).saturating_mul(s.into())) + // Estimated: `11003 + s * (2589 ±0)` + // Minimum execution time: 9_739_000 picoseconds. + Weight::from_parts(24_260_167, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 4_060 + .saturating_add(Weight::from_parts(2_699_813, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,12 +112,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `194 + p * (32 ±0)` - // Estimated: `17726` - // Minimum execution time: 9_357_000 picoseconds. - Weight::from_parts(22_219_542, 0) - .saturating_add(Weight::from_parts(0, 17726)) - // Standard Error: 3_167 - .saturating_add(Weight::from_parts(1_080_258, 0).saturating_mul(p.into())) + // Estimated: `11003` + // Minimum execution time: 9_424_000 picoseconds. + Weight::from_parts(24_005_111, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_569 + .saturating_add(Weight::from_parts(1_105_930, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -132,16 +134,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `17726` - // Minimum execution time: 51_103_000 picoseconds. - Weight::from_parts(29_467_633, 0) - .saturating_add(Weight::from_parts(0, 17726)) - // Standard Error: 5_548 - .saturating_add(Weight::from_parts(58_749, 0).saturating_mul(r.into())) - // Standard Error: 1_083 - .saturating_add(Weight::from_parts(1_075_209, 0).saturating_mul(s.into())) - // Standard Error: 1_083 - .saturating_add(Weight::from_parts(237_825, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 53_773_000 picoseconds. + Weight::from_parts(33_361_860, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_774 + .saturating_add(Weight::from_parts(13_203, 0).saturating_mul(r.into())) + // Standard Error: 737 + .saturating_add(Weight::from_parts(1_083_807, 0).saturating_mul(s.into())) + // Standard Error: 737 + .saturating_add(Weight::from_parts(231_062, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -155,14 +157,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `367 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `13629` - // Minimum execution time: 31_611_000 picoseconds. - Weight::from_parts(30_743_359, 0) - .saturating_add(Weight::from_parts(0, 13629)) - // Standard Error: 4_043 - .saturating_add(Weight::from_parts(77_567, 0).saturating_mul(r.into())) - // Standard Error: 788 - .saturating_add(Weight::from_parts(469_091, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 32_505_000 picoseconds. + Weight::from_parts(31_405_646, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_310 + .saturating_add(Weight::from_parts(101_820, 0).saturating_mul(r.into())) + // Standard Error: 645 + .saturating_add(Weight::from_parts(473_669, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -170,15 +172,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. - fn cancel_request(_r: u32, x: u32, ) -> Weight { + fn cancel_request(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `398 + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 28_126_000 picoseconds. - Weight::from_parts(29_459_368, 0) + // Minimum execution time: 29_748_000 picoseconds. + Weight::from_parts(29_496_940, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 1_597 - .saturating_add(Weight::from_parts(479_424, 0).saturating_mul(x.into())) + // Standard Error: 2_563 + .saturating_add(Weight::from_parts(60_722, 0).saturating_mul(r.into())) + // Standard Error: 500 + .saturating_add(Weight::from_parts(468_479, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -189,11 +193,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 8_177_000 picoseconds. - Weight::from_parts(8_618_386, 0) + // Minimum execution time: 7_996_000 picoseconds. + Weight::from_parts(8_325_280, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_462 - .saturating_add(Weight::from_parts(84_495, 0).saturating_mul(r.into())) + // Standard Error: 1_439 + .saturating_add(Weight::from_parts(76_684, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,11 +208,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 8_035_000 picoseconds. - Weight::from_parts(8_549_839, 0) + // Minimum execution time: 7_652_000 picoseconds. + Weight::from_parts(8_215_674, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_225 - .saturating_add(Weight::from_parts(86_358, 0).saturating_mul(r.into())) + // Standard Error: 1_586 + .saturating_add(Weight::from_parts(97_569, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,11 +223,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_931_000 picoseconds. - Weight::from_parts(8_519_329, 0) + // Minimum execution time: 7_514_000 picoseconds. + Weight::from_parts(8_049_354, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_169 - .saturating_add(Weight::from_parts(98_094, 0).saturating_mul(r.into())) + // Standard Error: 979 + .saturating_add(Weight::from_parts(88_294, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -236,14 +240,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `445 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `13629` - // Minimum execution time: 24_273_000 picoseconds. - Weight::from_parts(24_510_686, 0) - .saturating_add(Weight::from_parts(0, 13629)) - // Standard Error: 4_826 - .saturating_add(Weight::from_parts(49_682, 0).saturating_mul(r.into())) - // Standard Error: 892 - .saturating_add(Weight::from_parts(736_058, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 23_476_000 picoseconds. + Weight::from_parts(22_450_953, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 2_489 + .saturating_add(Weight::from_parts(103_320, 0).saturating_mul(r.into())) + // Standard Error: 460 + .saturating_add(Weight::from_parts(749_701, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -258,17 +262,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn kill_identity(_r: u32, s: u32, x: u32, ) -> Weight { + fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `21319` - // Minimum execution time: 64_938_000 picoseconds. - Weight::from_parts(45_726_556, 0) - .saturating_add(Weight::from_parts(0, 21319)) - // Standard Error: 1_031 - .saturating_add(Weight::from_parts(1_078_479, 0).saturating_mul(s.into())) - // Standard Error: 1_031 - .saturating_add(Weight::from_parts(226_148, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 69_394_000 picoseconds. + Weight::from_parts(49_706_168, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 5_627 + .saturating_add(Weight::from_parts(4_648, 0).saturating_mul(r.into())) + // Standard Error: 1_098 + .saturating_add(Weight::from_parts(1_095_054, 0).saturating_mul(s.into())) + // Standard Error: 1_098 + .saturating_add(Weight::from_parts(229_571, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -283,12 +289,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `475 + s * (36 ±0)` - // Estimated: `21305` - // Minimum execution time: 27_585_000 picoseconds. - Weight::from_parts(32_218_612, 0) - .saturating_add(Weight::from_parts(0, 21305)) - // Standard Error: 1_399 - .saturating_add(Weight::from_parts(64_056, 0).saturating_mul(s.into())) + // Estimated: `11003` + // Minimum execution time: 28_972_000 picoseconds. + Weight::from_parts(33_654_622, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 1_203 + .saturating_add(Weight::from_parts(62_339, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -300,12 +306,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `591 + s * (3 ±0)` - // Estimated: `14582` - // Minimum execution time: 13_351_000 picoseconds. - Weight::from_parts(15_336_119, 0) - .saturating_add(Weight::from_parts(0, 14582)) - // Standard Error: 585 - .saturating_add(Weight::from_parts(17_732, 0).saturating_mul(s.into())) + // Estimated: `11003` + // Minimum execution time: 13_046_000 picoseconds. + Weight::from_parts(14_967_586, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 500 + .saturating_add(Weight::from_parts(16_611, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -319,12 +325,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `638 + s * (35 ±0)` - // Estimated: `21305` - // Minimum execution time: 31_334_000 picoseconds. - Weight::from_parts(35_743_451, 0) - .saturating_add(Weight::from_parts(0, 21305)) - // Standard Error: 1_802 - .saturating_add(Weight::from_parts(30_575, 0).saturating_mul(s.into())) + // Estimated: `11003` + // Minimum execution time: 32_460_000 picoseconds. + Weight::from_parts(35_507_060, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 959 + .saturating_add(Weight::from_parts(50_270, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -332,17 +338,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `564 + s * (37 ±0)` - // Estimated: `10302` - // Minimum execution time: 20_828_000 picoseconds. - Weight::from_parts(23_493_504, 0) - .saturating_add(Weight::from_parts(0, 10302)) - // Standard Error: 1_011 - .saturating_add(Weight::from_parts(57_939, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `704 + s * (37 ±0)` + // Estimated: `6723` + // Minimum execution time: 25_237_000 picoseconds. + Weight::from_parts(27_667_477, 0) + .saturating_add(Weight::from_parts(0, 6723)) + // Standard Error: 836 + .saturating_add(Weight::from_parts(56_030, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/rococo/src/weights/pallet_im_online.rs b/runtime/rococo/src/weights/pallet_im_online.rs index 68c9a79b28ec..1215c2baa1ee 100644 --- a/runtime/rococo/src/weights/pallet_im_online.rs +++ b/runtime/rococo/src/weights/pallet_im_online.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_im_online`. pub struct WeightInfo(PhantomData); @@ -62,17 +64,17 @@ impl pallet_im_online::WeightInfo for WeightInfo { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `394 + k * (32 ±0)` - // Estimated: `10353601 + k * (96 ±0) + e * (35 ±0)` - // Minimum execution time: 93_434_000 picoseconds. - Weight::from_parts(74_361_477, 0) - .saturating_add(Weight::from_parts(0, 10353601)) - // Standard Error: 254 - .saturating_add(Weight::from_parts(22_539, 0).saturating_mul(k.into())) - // Standard Error: 2_560 - .saturating_add(Weight::from_parts(412_356, 0).saturating_mul(e.into())) + // Estimated: `10024497 + e * (35 ±0) + k * (32 ±0)` + // Minimum execution time: 93_672_000 picoseconds. + Weight::from_parts(74_355_861, 0) + .saturating_add(Weight::from_parts(0, 10024497)) + // Standard Error: 269 + .saturating_add(Weight::from_parts(23_114, 0).saturating_mul(k.into())) + // Standard Error: 2_717 + .saturating_add(Weight::from_parts(390_833, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 96).saturating_mul(k.into())) .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(k.into())) } } diff --git a/runtime/rococo/src/weights/pallet_indices.rs b/runtime/rococo/src/weights/pallet_indices.rs index 0c5caf84a5ec..3244ad88e094 100644 --- a/runtime/rococo/src/weights/pallet_indices.rs +++ b/runtime/rococo/src/weights/pallet_indices.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_indices`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3534` - // Minimum execution time: 20_507_000 picoseconds. - Weight::from_parts(20_863_000, 0) + // Minimum execution time: 24_030_000 picoseconds. + Weight::from_parts(24_347_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,10 +66,10 @@ impl pallet_indices::WeightInfo for WeightInfo { fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `341` - // Estimated: `7127` - // Minimum execution time: 26_495_000 picoseconds. - Weight::from_parts(26_757_000, 0) - .saturating_add(Weight::from_parts(0, 7127)) + // Estimated: `3593` + // Minimum execution time: 34_677_000 picoseconds. + Weight::from_parts(35_232_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -77,8 +79,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3534` - // Minimum execution time: 22_166_000 picoseconds. - Weight::from_parts(22_505_000, 0) + // Minimum execution time: 24_868_000 picoseconds. + Weight::from_parts(25_124_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,10 +92,10 @@ impl pallet_indices::WeightInfo for WeightInfo { fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `341` - // Estimated: `7127` - // Minimum execution time: 25_184_000 picoseconds. - Weight::from_parts(25_714_000, 0) - .saturating_add(Weight::from_parts(0, 7127)) + // Estimated: `3593` + // Minimum execution time: 28_142_000 picoseconds. + Weight::from_parts(28_576_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -103,8 +105,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3534` - // Minimum execution time: 24_138_000 picoseconds. - Weight::from_parts(24_531_000, 0) + // Minimum execution time: 26_834_000 picoseconds. + Weight::from_parts(27_356_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/rococo/src/weights/pallet_membership.rs b/runtime/rococo/src/weights/pallet_membership.rs index 311938109ff9..9c0d7aa82dd7 100644 --- a/runtime/rococo/src/weights/pallet_membership.rs +++ b/runtime/rococo/src/weights/pallet_membership.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); @@ -57,15 +59,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140 + m * (64 ±0)` - // Estimated: `6589 + m * (192 ±0)` - // Minimum execution time: 16_897_000 picoseconds. - Weight::from_parts(18_148_525, 0) - .saturating_add(Weight::from_parts(0, 6589)) - // Standard Error: 502 - .saturating_add(Weight::from_parts(36_489, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 17_109_000 picoseconds. + Weight::from_parts(17_763_610, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 311 + .saturating_add(Weight::from_parts(32_468, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -81,15 +83,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `244 + m * (64 ±0)` - // Estimated: `8418 + m * (192 ±0)` - // Minimum execution time: 20_059_000 picoseconds. - Weight::from_parts(20_896_387, 0) - .saturating_add(Weight::from_parts(0, 8418)) - // Standard Error: 597 - .saturating_add(Weight::from_parts(32_133, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 19_675_000 picoseconds. + Weight::from_parts(20_229_151, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 276 + .saturating_add(Weight::from_parts(33_800, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -105,15 +107,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `244 + m * (64 ±0)` - // Estimated: `8418 + m * (192 ±0)` - // Minimum execution time: 19_908_000 picoseconds. - Weight::from_parts(20_863_443, 0) - .saturating_add(Weight::from_parts(0, 8418)) - // Standard Error: 568 - .saturating_add(Weight::from_parts(54_564, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 19_821_000 picoseconds. + Weight::from_parts(20_100_562, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 1_719 + .saturating_add(Weight::from_parts(59_527, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -129,15 +131,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `244 + m * (64 ±0)` - // Estimated: `8418 + m * (192 ±0)` - // Minimum execution time: 21_131_000 picoseconds. - Weight::from_parts(21_440_585, 0) - .saturating_add(Weight::from_parts(0, 8418)) - // Standard Error: 758 - .saturating_add(Weight::from_parts(161_783, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 19_323_000 picoseconds. + Weight::from_parts(20_881_207, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 796 + .saturating_add(Weight::from_parts(161_441, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -153,15 +155,15 @@ impl pallet_membership::WeightInfo for WeightInfo { fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `244 + m * (64 ±0)` - // Estimated: `8418 + m * (192 ±0)` - // Minimum execution time: 20_061_000 picoseconds. - Weight::from_parts(21_594_276, 0) - .saturating_add(Weight::from_parts(0, 8418)) - // Standard Error: 774 - .saturating_add(Weight::from_parts(48_882, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 19_682_000 picoseconds. + Weight::from_parts(20_664_522, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 498 + .saturating_add(Weight::from_parts(46_220, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:0) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -173,12 +175,12 @@ impl pallet_membership::WeightInfo for WeightInfo { fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `32 + m * (32 ±0)` - // Estimated: `4719 + m * (32 ±0)` - // Minimum execution time: 7_835_000 picoseconds. - Weight::from_parts(8_386_160, 0) - .saturating_add(Weight::from_parts(0, 4719)) - // Standard Error: 210 - .saturating_add(Weight::from_parts(10_190, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (32 ±0)` + // Minimum execution time: 7_992_000 picoseconds. + Weight::from_parts(8_339_061, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 168 + .saturating_add(Weight::from_parts(9_888, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -192,11 +194,11 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_217_000 picoseconds. - Weight::from_parts(3_462_254, 0) + // Minimum execution time: 3_401_000 picoseconds. + Weight::from_parts(3_606_564, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 91 - .saturating_add(Weight::from_parts(716, 0).saturating_mul(m.into())) + // Standard Error: 75 + .saturating_add(Weight::from_parts(727, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/rococo/src/weights/pallet_multisig.rs b/runtime/rococo/src/weights/pallet_multisig.rs index 65d075e225c0..65f3e94d418a 100644 --- a/runtime/rococo/src/weights/pallet_multisig.rs +++ b/runtime/rococo/src/weights/pallet_multisig.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_multisig`. pub struct WeightInfo(PhantomData); @@ -50,11 +52,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_359_000 picoseconds. - Weight::from_parts(12_845_448, 0) + // Minimum execution time: 12_148_000 picoseconds. + Weight::from_parts(12_501_721, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(559, 0).saturating_mul(z.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(506, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -64,13 +66,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `193 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 36_126_000 picoseconds. - Weight::from_parts(30_610_509, 0) + // Minimum execution time: 39_693_000 picoseconds. + Weight::from_parts(34_173_051, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 470 - .saturating_add(Weight::from_parts(61_528, 0).saturating_mul(s.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_254, 0).saturating_mul(z.into())) + // Standard Error: 362 + .saturating_add(Weight::from_parts(60_393, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_207, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -82,13 +84,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `6811` - // Minimum execution time: 26_590_000 picoseconds. - Weight::from_parts(21_327_591, 0) + // Minimum execution time: 26_307_000 picoseconds. + Weight::from_parts(20_698_974, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 481 - .saturating_add(Weight::from_parts(61_150, 0).saturating_mul(s.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(z.into())) + // Standard Error: 295 + .saturating_add(Weight::from_parts(61_505, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_171, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -101,14 +103,14 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `317 + s * (33 ±0)` - // Estimated: `10404` - // Minimum execution time: 41_559_000 picoseconds. - Weight::from_parts(34_753_310, 0) - .saturating_add(Weight::from_parts(0, 10404)) - // Standard Error: 556 - .saturating_add(Weight::from_parts(74_587, 0).saturating_mul(s.into())) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_276, 0).saturating_mul(z.into())) + // Estimated: `6811` + // Minimum execution time: 44_742_000 picoseconds. + Weight::from_parts(37_635_655, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 383 + .saturating_add(Weight::from_parts(77_139, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_226, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -119,11 +121,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `193 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 28_267_000 picoseconds. - Weight::from_parts(28_937_222, 0) + // Minimum execution time: 31_610_000 picoseconds. + Weight::from_parts(32_272_831, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 964 - .saturating_add(Weight::from_parts(63_128, 0).saturating_mul(s.into())) + // Standard Error: 345 + .saturating_add(Weight::from_parts(65_871, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -134,11 +136,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `6811` - // Minimum execution time: 18_299_000 picoseconds. - Weight::from_parts(18_957_858, 0) + // Minimum execution time: 18_653_000 picoseconds. + Weight::from_parts(18_964_811, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 437 - .saturating_add(Weight::from_parts(62_021, 0).saturating_mul(s.into())) + // Standard Error: 305 + .saturating_add(Weight::from_parts(57_834, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -149,11 +151,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `383 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 28_898_000 picoseconds. - Weight::from_parts(29_713_104, 0) + // Minimum execution time: 32_851_000 picoseconds. + Weight::from_parts(33_332_942, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 689 - .saturating_add(Weight::from_parts(64_650, 0).saturating_mul(s.into())) + // Standard Error: 409 + .saturating_add(Weight::from_parts(65_798, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_nis.rs b/runtime/rococo/src/weights/pallet_nis.rs index c814b0cb7033..039b74678f9d 100644 --- a/runtime/rococo/src/weights/pallet_nis.rs +++ b/runtime/rococo/src/weights/pallet_nis.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_nis` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,165 +39,176 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_nis`. pub struct WeightInfo(PhantomData); impl pallet_nis::WeightInfo for WeightInfo { /// Storage: Nis Queues (r:1 w:1) /// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen) - /// Storage: Balances Reserves (r:1 w:1) - /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: Balances Holds (r:1 w:1) + /// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) /// Storage: Nis QueueTotals (r:1 w:1) /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen) /// The range of component `l` is `[0, 999]`. fn place_bid(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6215 + l * (48 ±0)` - // Estimated: `63688` - // Minimum execution time: 29_707_000 picoseconds. - Weight::from_parts(31_916_600, 0) - .saturating_add(Weight::from_parts(0, 63688)) - // Standard Error: 702 - .saturating_add(Weight::from_parts(82_339, 0).saturating_mul(l.into())) + // Measured: `6209 + l * (48 ±0)` + // Estimated: `51487` + // Minimum execution time: 44_501_000 picoseconds. + Weight::from_parts(44_545_106, 0) + .saturating_add(Weight::from_parts(0, 51487)) + // Standard Error: 746 + .saturating_add(Weight::from_parts(71_836, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Nis Queues (r:1 w:1) /// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen) - /// Storage: Balances Reserves (r:1 w:1) - /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: Balances Holds (r:1 w:1) + /// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) /// Storage: Nis QueueTotals (r:1 w:1) /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen) fn place_bid_max() -> Weight { // Proof Size summary in bytes: - // Measured: `54217` - // Estimated: `63688` - // Minimum execution time: 109_920_000 picoseconds. - Weight::from_parts(111_246_000, 0) - .saturating_add(Weight::from_parts(0, 63688)) + // Measured: `54211` + // Estimated: `51487` + // Minimum execution time: 127_017_000 picoseconds. + Weight::from_parts(127_958_000, 0) + .saturating_add(Weight::from_parts(0, 51487)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Nis Queues (r:1 w:1) /// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen) + /// Storage: Balances Holds (r:1 w:1) + /// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) /// Storage: Nis QueueTotals (r:1 w:1) /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen) - /// Storage: Balances Reserves (r:1 w:1) - /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) /// The range of component `l` is `[1, 1000]`. fn retract_bid(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6215 + l * (48 ±0)` - // Estimated: `63688` - // Minimum execution time: 36_866_000 picoseconds. - Weight::from_parts(32_744_780, 0) - .saturating_add(Weight::from_parts(0, 63688)) - // Standard Error: 707 - .saturating_add(Weight::from_parts(62_880, 0).saturating_mul(l.into())) + // Measured: `6209 + l * (48 ±0)` + // Estimated: `51487` + // Minimum execution time: 47_921_000 picoseconds. + Weight::from_parts(41_920_873, 0) + .saturating_add(Weight::from_parts(0, 51487)) + // Standard Error: 722 + .saturating_add(Weight::from_parts(89_227, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Nis Summary (r:1 w:0) /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn fund_deficit() -> Weight { // Proof Size summary in bytes: // Measured: `225` - // Estimated: `5118` - // Minimum execution time: 34_779_000 picoseconds. - Weight::from_parts(35_137_000, 0) - .saturating_add(Weight::from_parts(0, 5118)) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `3593` + // Minimum execution time: 38_180_000 picoseconds. + Weight::from_parts(38_547_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Nis Receipts (r:1 w:1) /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) - /// Storage: Nis Summary (r:1 w:1) - /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) + /// Storage: Balances Holds (r:1 w:1) + /// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Reserves (r:1 w:1) - /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - fn thaw_private() -> Weight { - // Proof Size summary in bytes: - // Measured: `393` - // Estimated: `13378` - // Minimum execution time: 48_234_000 picoseconds. - Weight::from_parts(49_272_000, 0) - .saturating_add(Weight::from_parts(0, 13378)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) - } - /// Storage: Nis Receipts (r:1 w:1) - /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) /// Storage: Nis Summary (r:1 w:1) /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) - /// Storage: NisCounterpartBalances Account (r:1 w:1) - /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn thaw_communal() -> Weight { + /// Storage: NisCounterpartBalances Account (r:1 w:1) + /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) + fn communify() -> Weight { // Proof Size summary in bytes: - // Measured: `604` - // Estimated: `13742` - // Minimum execution time: 66_693_000 picoseconds. - Weight::from_parts(67_112_000, 0) - .saturating_add(Weight::from_parts(0, 13742)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `469` + // Estimated: `3593` + // Minimum execution time: 69_770_000 picoseconds. + Weight::from_parts(70_201_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Nis Receipts (r:1 w:1) /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) /// Storage: Nis Summary (r:1 w:1) /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances Account (r:1 w:1) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Balances Reserves (r:1 w:1) - /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: Balances Holds (r:1 w:1) + /// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) fn privatize() -> Weight { // Proof Size summary in bytes: - // Measured: `665` - // Estimated: `18456` - // Minimum execution time: 74_119_000 picoseconds. - Weight::from_parts(75_081_000, 0) - .saturating_add(Weight::from_parts(0, 18456)) - .saturating_add(T::DbWeight::get().reads(6)) + // Measured: `659` + // Estimated: `3593` + // Minimum execution time: 86_145_000 picoseconds. + Weight::from_parts(86_942_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Nis Receipts (r:1 w:1) /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) - /// Storage: Balances Reserves (r:1 w:1) - /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) + /// Storage: Nis Summary (r:1 w:1) + /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Balances Holds (r:1 w:1) + /// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) + fn thaw_private() -> Weight { + // Proof Size summary in bytes: + // Measured: `387` + // Estimated: `3593` + // Minimum execution time: 47_421_000 picoseconds. + Weight::from_parts(47_960_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Nis Receipts (r:1 w:1) + /// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) /// Storage: Nis Summary (r:1 w:1) /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances Account (r:1 w:1) /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn communify() -> Weight { + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + fn thaw_communal() -> Weight { // Proof Size summary in bytes: - // Measured: `475` - // Estimated: `18456` - // Minimum execution time: 67_267_000 picoseconds. - Weight::from_parts(68_227_000, 0) - .saturating_add(Weight::from_parts(0, 18456)) + // Measured: `604` + // Estimated: `3593` + // Minimum execution time: 90_144_000 picoseconds. + Weight::from_parts(91_018_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: Nis Summary (r:1 w:1) /// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Nis QueueTotals (r:1 w:1) @@ -204,11 +216,11 @@ impl pallet_nis::WeightInfo for WeightInfo { fn process_queues() -> Weight { // Proof Size summary in bytes: // Measured: `6658` - // Estimated: `12605` - // Minimum execution time: 22_764_000 picoseconds. - Weight::from_parts(23_339_000, 0) - .saturating_add(Weight::from_parts(0, 12605)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `7487` + // Minimum execution time: 21_240_000 picoseconds. + Weight::from_parts(21_613_000, 0) + .saturating_add(Weight::from_parts(0, 7487)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Nis Queues (r:1 w:1) @@ -217,8 +229,8 @@ impl pallet_nis::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `51487` - // Minimum execution time: 4_887_000 picoseconds. - Weight::from_parts(5_108_000, 0) + // Minimum execution time: 4_848_000 picoseconds. + Weight::from_parts(5_021_000, 0) .saturating_add(Weight::from_parts(0, 51487)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -229,8 +241,8 @@ impl pallet_nis::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_009_000 picoseconds. - Weight::from_parts(7_259_000, 0) + // Minimum execution time: 7_080_000 picoseconds. + Weight::from_parts(7_252_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_preimage.rs b/runtime/rococo/src/weights/pallet_preimage.rs index eff8845bfdd7..d944911f9b98 100644 --- a/runtime/rococo/src/weights/pallet_preimage.rs +++ b/runtime/rococo/src/weights/pallet_preimage.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); @@ -54,11 +56,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `215` // Estimated: `3556` - // Minimum execution time: 26_864_000 picoseconds. - Weight::from_parts(27_136_000, 0) + // Minimum execution time: 31_014_000 picoseconds. + Weight::from_parts(31_829_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_015, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_975, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -71,11 +73,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 17_853_000 picoseconds. - Weight::from_parts(18_013_000, 0) + // Minimum execution time: 17_947_000 picoseconds. + Weight::from_parts(18_086_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_013, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_974, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,11 +90,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 16_781_000 picoseconds. - Weight::from_parts(16_936_000, 0) + // Minimum execution time: 16_991_000 picoseconds. + Weight::from_parts(17_124_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_017, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_976, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -104,8 +106,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `361` // Estimated: `3556` - // Minimum execution time: 34_343_000 picoseconds. - Weight::from_parts(34_983_000, 0) + // Minimum execution time: 37_796_000 picoseconds. + Weight::from_parts(38_651_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -118,8 +120,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `216` // Estimated: `3556` - // Minimum execution time: 23_306_000 picoseconds. - Weight::from_parts(24_627_000, 0) + // Minimum execution time: 22_687_000 picoseconds. + Weight::from_parts(23_898_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -130,8 +132,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `260` // Estimated: `3556` - // Minimum execution time: 20_611_000 picoseconds. - Weight::from_parts(21_516_000, 0) + // Minimum execution time: 21_069_000 picoseconds. + Weight::from_parts(21_700_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -142,8 +144,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `216` // Estimated: `3556` - // Minimum execution time: 12_950_000 picoseconds. - Weight::from_parts(13_795_000, 0) + // Minimum execution time: 13_836_000 picoseconds. + Weight::from_parts(14_541_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -154,8 +156,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `114` // Estimated: `3556` - // Minimum execution time: 14_408_000 picoseconds. - Weight::from_parts(14_913_000, 0) + // Minimum execution time: 14_683_000 picoseconds. + Weight::from_parts(15_362_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,8 +168,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 9_545_000 picoseconds. - Weight::from_parts(9_985_000, 0) + // Minimum execution time: 10_165_000 picoseconds. + Weight::from_parts(10_512_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -180,8 +182,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `216` // Estimated: `3556` - // Minimum execution time: 21_503_000 picoseconds. - Weight::from_parts(22_522_000, 0) + // Minimum execution time: 22_086_000 picoseconds. + Weight::from_parts(23_270_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -192,8 +194,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 9_423_000 picoseconds. - Weight::from_parts(9_638_000, 0) + // Minimum execution time: 9_939_000 picoseconds. + Weight::from_parts(10_362_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -204,8 +206,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 9_531_000 picoseconds. - Weight::from_parts(9_830_000, 0) + // Minimum execution time: 9_929_000 picoseconds. + Weight::from_parts(10_163_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/rococo/src/weights/pallet_proxy.rs b/runtime/rococo/src/weights/pallet_proxy.rs index 95933eadbdaf..83016e92714c 100644 --- a/runtime/rococo/src/weights/pallet_proxy.rs +++ b/runtime/rococo/src/weights/pallet_proxy.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); @@ -52,11 +54,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 16_792_000 picoseconds. - Weight::from_parts(17_791_507, 0) + // Minimum execution time: 16_505_000 picoseconds. + Weight::from_parts(16_943_071, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_286 - .saturating_add(Weight::from_parts(7_086, 0).saturating_mul(p.into())) + // Standard Error: 696 + .saturating_add(Weight::from_parts(35_949, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -70,14 +72,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `554 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `13997` - // Minimum execution time: 34_850_000 picoseconds. - Weight::from_parts(36_061_122, 0) - .saturating_add(Weight::from_parts(0, 13997)) - // Standard Error: 1_943 - .saturating_add(Weight::from_parts(161_417, 0).saturating_mul(a.into())) - // Standard Error: 2_007 - .saturating_add(Weight::from_parts(18_605, 0).saturating_mul(p.into())) + // Estimated: `5698` + // Minimum execution time: 38_268_000 picoseconds. + Weight::from_parts(37_825_204, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 1_449 + .saturating_add(Weight::from_parts(158_908, 0).saturating_mul(a.into())) + // Standard Error: 1_497 + .saturating_add(Weight::from_parts(38_472, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -90,12 +92,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + a * (68 ±0)` - // Estimated: `9291` - // Minimum execution time: 21_487_000 picoseconds. - Weight::from_parts(23_124_848, 0) - .saturating_add(Weight::from_parts(0, 9291)) - // Standard Error: 1_579 - .saturating_add(Weight::from_parts(156_959, 0).saturating_mul(a.into())) + // Estimated: `5698` + // Minimum execution time: 24_730_000 picoseconds. + Weight::from_parts(25_733_289, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 1_055 + .saturating_add(Weight::from_parts(145_391, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -105,15 +107,17 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, _p: u32, ) -> Weight { + fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + a * (68 ±0)` - // Estimated: `9291` - // Minimum execution time: 21_438_000 picoseconds. - Weight::from_parts(23_160_789, 0) - .saturating_add(Weight::from_parts(0, 9291)) - // Standard Error: 1_598 - .saturating_add(Weight::from_parts(156_098, 0).saturating_mul(a.into())) + // Estimated: `5698` + // Minimum execution time: 24_809_000 picoseconds. + Weight::from_parts(25_578_846, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 1_305 + .saturating_add(Weight::from_parts(145_393, 0).saturating_mul(a.into())) + // Standard Error: 1_348 + .saturating_add(Weight::from_parts(1_499, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -128,14 +132,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `486 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `13997` - // Minimum execution time: 30_218_000 picoseconds. - Weight::from_parts(31_825_043, 0) - .saturating_add(Weight::from_parts(0, 13997)) - // Standard Error: 1_875 - .saturating_add(Weight::from_parts(157_006, 0).saturating_mul(a.into())) - // Standard Error: 1_938 - .saturating_add(Weight::from_parts(20_623, 0).saturating_mul(p.into())) + // Estimated: `5698` + // Minimum execution time: 34_395_000 picoseconds. + Weight::from_parts(34_174_607, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 1_134 + .saturating_add(Weight::from_parts(141_361, 0).saturating_mul(a.into())) + // Standard Error: 1_171 + .saturating_add(Weight::from_parts(27_624, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -146,11 +150,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 23_261_000 picoseconds. - Weight::from_parts(24_156_673, 0) + // Minimum execution time: 25_525_000 picoseconds. + Weight::from_parts(26_127_839, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_526 - .saturating_add(Weight::from_parts(48_329, 0).saturating_mul(p.into())) + // Standard Error: 1_053 + .saturating_add(Weight::from_parts(52_404, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,11 +165,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 23_301_000 picoseconds. - Weight::from_parts(24_016_174, 0) + // Minimum execution time: 25_437_000 picoseconds. + Weight::from_parts(26_363_878, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_532 - .saturating_add(Weight::from_parts(67_521, 0).saturating_mul(p.into())) + // Standard Error: 1_408 + .saturating_add(Weight::from_parts(55_801, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -176,11 +180,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 18_071_000 picoseconds. - Weight::from_parts(18_952_655, 0) + // Minimum execution time: 22_648_000 picoseconds. + Weight::from_parts(23_187_461, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_384 - .saturating_add(Weight::from_parts(36_493, 0).saturating_mul(p.into())) + // Standard Error: 916 + .saturating_add(Weight::from_parts(30_581, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -191,11 +195,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `239` // Estimated: `4706` - // Minimum execution time: 24_924_000 picoseconds. - Weight::from_parts(26_006_506, 0) + // Minimum execution time: 27_369_000 picoseconds. + Weight::from_parts(27_917_132, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_444 - .saturating_add(Weight::from_parts(584, 0).saturating_mul(p.into())) + // Standard Error: 621 + .saturating_add(Weight::from_parts(6_589, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,11 +210,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `264 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 19_012_000 picoseconds. - Weight::from_parts(19_845_857, 0) + // Minimum execution time: 23_624_000 picoseconds. + Weight::from_parts(24_209_898, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_382 - .saturating_add(Weight::from_parts(35_446, 0).saturating_mul(p.into())) + // Standard Error: 645 + .saturating_add(Weight::from_parts(31_318, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_scheduler.rs b/runtime/rococo/src/weights/pallet_scheduler.rs index 1fbb5065e6a6..f88c90e08b44 100644 --- a/runtime/rococo/src/weights/pallet_scheduler.rs +++ b/runtime/rococo/src/weights/pallet_scheduler.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69` // Estimated: `1489` - // Minimum execution time: 4_960_000 picoseconds. - Weight::from_parts(5_149_000, 0) + // Minimum execution time: 4_795_000 picoseconds. + Weight::from_parts(5_028_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,11 +66,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 4_653_000 picoseconds. - Weight::from_parts(7_734_868, 0) + // Minimum execution time: 4_599_000 picoseconds. + Weight::from_parts(7_088_366, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_115 - .saturating_add(Weight::from_parts(944_709, 0).saturating_mul(s.into())) + // Standard Error: 9_003 + .saturating_add(Weight::from_parts(802_737, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,8 +78,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_887_000 picoseconds. - Weight::from_parts(6_120_000, 0) + // Minimum execution time: 5_805_000 picoseconds. + Weight::from_parts(5_937_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -88,12 +90,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `251 + s * (1 ±0)` - // Estimated: `7272 + s * (1 ±0)` - // Minimum execution time: 20_952_000 picoseconds. - Weight::from_parts(21_209_000, 0) - .saturating_add(Weight::from_parts(0, 7272)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_193, 0).saturating_mul(s.into())) + // Estimated: `3716 + s * (1 ±0)` + // Minimum execution time: 20_945_000 picoseconds. + Weight::from_parts(21_086_000, 0) + .saturating_add(Weight::from_parts(0, 3716)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_167, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -104,8 +106,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_541_000 picoseconds. - Weight::from_parts(7_811_000, 0) + // Minimum execution time: 7_436_000 picoseconds. + Weight::from_parts(7_555_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,24 +115,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_925_000 picoseconds. - Weight::from_parts(6_053_000, 0) + // Minimum execution time: 5_789_000 picoseconds. + Weight::from_parts(5_931_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_178_000 picoseconds. - Weight::from_parts(3_277_000, 0) + // Minimum execution time: 2_977_000 picoseconds. + Weight::from_parts(3_081_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_206_000 picoseconds. - Weight::from_parts(3_295_000, 0) + // Minimum execution time: 2_989_000 picoseconds. + Weight::from_parts(3_054_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -140,11 +142,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 15_345_000 picoseconds. - Weight::from_parts(18_725_551, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(18_076_384, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_098 - .saturating_add(Weight::from_parts(927_752, 0).saturating_mul(s.into())) + // Standard Error: 1_747 + .saturating_add(Weight::from_parts(764_835, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -157,11 +159,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 19_638_000 picoseconds. - Weight::from_parts(18_170_833, 0) + // Minimum execution time: 19_071_000 picoseconds. + Weight::from_parts(18_743_837, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 12_752 - .saturating_add(Weight::from_parts(1_764_746, 0).saturating_mul(s.into())) + // Standard Error: 1_850 + .saturating_add(Weight::from_parts(1_372_466, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -173,12 +175,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 18_247_000 picoseconds. - Weight::from_parts(26_440_491, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 13_283 - .saturating_add(Weight::from_parts(884_870, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 18_168_000 picoseconds. + Weight::from_parts(22_087_946, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_647 + .saturating_add(Weight::from_parts(797_181, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -190,12 +192,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `319 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 20_584_000 picoseconds. - Weight::from_parts(20_984_461, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 2_852 - .saturating_add(Weight::from_parts(1_712_589, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 20_491_000 picoseconds. + Weight::from_parts(20_941_285, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_239 + .saturating_add(Weight::from_parts(1_394_179, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/rococo/src/weights/pallet_timestamp.rs b/runtime/rococo/src/weights/pallet_timestamp.rs index d52f321a61d3..e80e121e953e 100644 --- a/runtime/rococo/src/weights/pallet_timestamp.rs +++ b/runtime/rococo/src/weights/pallet_timestamp.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); @@ -52,10 +54,10 @@ impl pallet_timestamp::WeightInfo for WeightInfo { fn set() -> Weight { // Proof Size summary in bytes: // Measured: `345` - // Estimated: `2986` - // Minimum execution time: 10_394_000 picoseconds. - Weight::from_parts(10_863_000, 0) - .saturating_add(Weight::from_parts(0, 2986)) + // Estimated: `1493` + // Minimum execution time: 10_506_000 picoseconds. + Weight::from_parts(10_836_000, 0) + .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +65,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 4_624_000 picoseconds. - Weight::from_parts(4_825_000, 0) + // Minimum execution time: 4_828_000 picoseconds. + Weight::from_parts(4_980_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/rococo/src/weights/pallet_tips.rs b/runtime/rococo/src/weights/pallet_tips.rs index 7940ecc6d57a..95a2083d49c4 100644 --- a/runtime/rococo/src/weights/pallet_tips.rs +++ b/runtime/rococo/src/weights/pallet_tips.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_tips`. pub struct WeightInfo(PhantomData); @@ -53,12 +55,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn report_awesome(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `6938` - // Minimum execution time: 24_022_000 picoseconds. - Weight::from_parts(25_364_207, 0) - .saturating_add(Weight::from_parts(0, 6938)) + // Estimated: `3469` + // Minimum execution time: 28_441_000 picoseconds. + Weight::from_parts(29_326_474, 0) + .saturating_add(Weight::from_parts(0, 3469)) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_452, 0).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(1_424, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -69,10 +71,10 @@ impl pallet_tips::WeightInfo for WeightInfo { fn retract_tip() -> Weight { // Proof Size summary in bytes: // Measured: `221` - // Estimated: `3907` - // Minimum execution time: 23_466_000 picoseconds. - Weight::from_parts(24_140_000, 0) - .saturating_add(Weight::from_parts(0, 3907)) + // Estimated: `3686` + // Minimum execution time: 27_736_000 picoseconds. + Weight::from_parts(27_883_000, 0) + .saturating_add(Weight::from_parts(0, 3686)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,17 +89,17 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip_new(r: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `74 + t * (64 ±0)` - // Estimated: `5172 + t * (192 ±0)` - // Minimum execution time: 20_641_000 picoseconds. - Weight::from_parts(19_791_240, 0) - .saturating_add(Weight::from_parts(0, 5172)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_350, 0).saturating_mul(r.into())) - // Standard Error: 3_912 - .saturating_add(Weight::from_parts(100_927, 0).saturating_mul(t.into())) + // Estimated: `3539 + t * (64 ±0)` + // Minimum execution time: 20_174_000 picoseconds. + Weight::from_parts(18_891_216, 0) + .saturating_add(Weight::from_parts(0, 3539)) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_294, 0).saturating_mul(r.into())) + // Standard Error: 5_028 + .saturating_add(Weight::from_parts(137_067, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 192).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(t.into())) } /// Storage: PhragmenElection Members (r:1 w:0) /// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured) @@ -107,15 +109,15 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `295 + t * (112 ±0)` - // Estimated: `5540 + t * (224 ±0)` - // Minimum execution time: 15_584_000 picoseconds. - Weight::from_parts(16_035_427, 0) - .saturating_add(Weight::from_parts(0, 5540)) - // Standard Error: 1_322 - .saturating_add(Weight::from_parts(125_286, 0).saturating_mul(t.into())) + // Estimated: `3760 + t * (112 ±0)` + // Minimum execution time: 15_265_000 picoseconds. + Weight::from_parts(15_703_077, 0) + .saturating_add(Weight::from_parts(0, 3760)) + // Standard Error: 1_234 + .saturating_add(Weight::from_parts(121_860, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into())) } /// Storage: Tips Tips (r:1 w:1) /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured) @@ -129,15 +131,15 @@ impl pallet_tips::WeightInfo for WeightInfo { fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `334 + t * (112 ±0)` - // Estimated: `9518 + t * (336 ±0)` - // Minimum execution time: 44_254_000 picoseconds. - Weight::from_parts(45_672_147, 0) - .saturating_add(Weight::from_parts(0, 9518)) - // Standard Error: 5_369 - .saturating_add(Weight::from_parts(94_136, 0).saturating_mul(t.into())) + // Estimated: `3790 + t * (112 ±0)` + // Minimum execution time: 58_194_000 picoseconds. + Weight::from_parts(60_341_457, 0) + .saturating_add(Weight::from_parts(0, 3790)) + // Standard Error: 12_710 + .saturating_add(Weight::from_parts(47_407, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 336).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into())) } /// Storage: Tips Tips (r:1 w:1) /// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured) @@ -147,12 +149,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn slash_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `269` - // Estimated: `4003` - // Minimum execution time: 15_527_000 picoseconds. - Weight::from_parts(16_239_861, 0) - .saturating_add(Weight::from_parts(0, 4003)) - // Standard Error: 1_272 - .saturating_add(Weight::from_parts(11_596, 0).saturating_mul(t.into())) + // Estimated: `3734` + // Minimum execution time: 15_522_000 picoseconds. + Weight::from_parts(15_851_790, 0) + .saturating_add(Weight::from_parts(0, 3734)) + // Standard Error: 648 + .saturating_add(Weight::from_parts(9_757, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/rococo/src/weights/pallet_treasury.rs b/runtime/rococo/src/weights/pallet_treasury.rs index d159bb6ace42..566cf5500635 100644 --- a/runtime/rococo/src/weights/pallet_treasury.rs +++ b/runtime/rococo/src/weights/pallet_treasury.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_treasury`. pub struct WeightInfo(PhantomData); @@ -49,8 +51,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 253_000 picoseconds. - Weight::from_parts(273_000, 0) + // Minimum execution time: 249_000 picoseconds. + Weight::from_parts(274_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -61,8 +63,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107` // Estimated: `1489` - // Minimum execution time: 24_220_000 picoseconds. - Weight::from_parts(24_606_000, 0) + // Minimum execution time: 27_300_000 picoseconds. + Weight::from_parts(27_835_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -74,10 +76,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `265` - // Estimated: `7166` - // Minimum execution time: 36_680_000 picoseconds. - Weight::from_parts(37_054_000, 0) - .saturating_add(Weight::from_parts(0, 7166)) + // Estimated: `3593` + // Minimum execution time: 40_594_000 picoseconds. + Weight::from_parts(40_968_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -89,12 +91,12 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `433 + p * (8 ±0)` - // Estimated: `5460` - // Minimum execution time: 10_740_000 picoseconds. - Weight::from_parts(12_792_989, 0) - .saturating_add(Weight::from_parts(0, 5460)) - // Standard Error: 767 - .saturating_add(Weight::from_parts(25_743, 0).saturating_mul(p.into())) + // Estimated: `3573` + // Minimum execution time: 9_950_000 picoseconds. + Weight::from_parts(12_003_805, 0) + .saturating_add(Weight::from_parts(0, 3573)) + // Standard Error: 739 + .saturating_add(Weight::from_parts(26_775, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -104,8 +106,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `90` // Estimated: `1887` - // Minimum execution time: 8_277_000 picoseconds. - Weight::from_parts(8_615_000, 0) + // Minimum execution time: 7_841_000 picoseconds. + Weight::from_parts(8_056_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -126,16 +128,16 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `296 + p * (251 ±0)` - // Estimated: `11359 + p * (7789 ±0)` - // Minimum execution time: 60_192_000 picoseconds. - Weight::from_parts(59_512_799, 0) - .saturating_add(Weight::from_parts(0, 11359)) - // Standard Error: 25_794 - .saturating_add(Weight::from_parts(32_571_537, 0).saturating_mul(p.into())) + // Estimated: `3593 + p * (5206 ±0)` + // Minimum execution time: 62_386_000 picoseconds. + Weight::from_parts(66_393_437, 0) + .saturating_add(Weight::from_parts(0, 3593)) + // Standard Error: 41_927 + .saturating_add(Weight::from_parts(37_509_407, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7789).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) } } diff --git a/runtime/rococo/src/weights/pallet_utility.rs b/runtime/rococo/src/weights/pallet_utility.rs index 34211ea62384..c16023230b60 100644 --- a/runtime/rococo/src/weights/pallet_utility.rs +++ b/runtime/rococo/src/weights/pallet_utility.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); @@ -50,18 +52,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_287_000 picoseconds. - Weight::from_parts(15_925_600, 0) + // Minimum execution time: 7_125_000 picoseconds. + Weight::from_parts(6_721_863, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_941 - .saturating_add(Weight::from_parts(5_269_434, 0).saturating_mul(c.into())) + // Standard Error: 3_394 + .saturating_add(Weight::from_parts(4_793_877, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_696_000 picoseconds. - Weight::from_parts(5_886_000, 0) + // Minimum execution time: 5_747_000 picoseconds. + Weight::from_parts(5_912_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -69,18 +71,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_207_000 picoseconds. - Weight::from_parts(14_475_102, 0) + // Minimum execution time: 7_221_000 picoseconds. + Weight::from_parts(2_378_749, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_756 - .saturating_add(Weight::from_parts(5_604_049, 0).saturating_mul(c.into())) + // Standard Error: 3_186 + .saturating_add(Weight::from_parts(5_061_499, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_142_000 picoseconds. - Weight::from_parts(10_440_000, 0) + // Minimum execution time: 9_748_000 picoseconds. + Weight::from_parts(10_003_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -88,10 +90,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_199_000 picoseconds. - Weight::from_parts(9_603_621, 0) + // Minimum execution time: 7_133_000 picoseconds. + Weight::from_parts(17_560_839, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_779 - .saturating_add(Weight::from_parts(5_313_188, 0).saturating_mul(c.into())) + // Standard Error: 4_451 + .saturating_add(Weight::from_parts(4_793_512, 0).saturating_mul(c.into())) } } diff --git a/runtime/rococo/src/weights/pallet_vesting.rs b/runtime/rococo/src/weights/pallet_vesting.rs index ef3f6519b163..be8bb13b0b0c 100644 --- a/runtime/rococo/src/weights/pallet_vesting.rs +++ b/runtime/rococo/src/weights/pallet_vesting.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_vesting`. pub struct WeightInfo(PhantomData); @@ -49,46 +51,52 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `277 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9286` - // Minimum execution time: 29_804_000 picoseconds. - Weight::from_parts(28_492_791, 0) - .saturating_add(Weight::from_parts(0, 9286)) - // Standard Error: 708 - .saturating_add(Weight::from_parts(45_742, 0).saturating_mul(l.into())) - // Standard Error: 1_259 - .saturating_add(Weight::from_parts(74_559, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4764` + // Minimum execution time: 33_027_000 picoseconds. + Weight::from_parts(31_979_043, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 561 + .saturating_add(Weight::from_parts(40_649, 0).saturating_mul(l.into())) + // Standard Error: 999 + .saturating_add(Weight::from_parts(73_964, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `277 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9286` - // Minimum execution time: 28_958_000 picoseconds. - Weight::from_parts(28_222_499, 0) - .saturating_add(Weight::from_parts(0, 9286)) - // Standard Error: 781 - .saturating_add(Weight::from_parts(39_564, 0).saturating_mul(l.into())) - // Standard Error: 1_390 - .saturating_add(Weight::from_parts(52_601, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4764` + // Minimum execution time: 36_135_000 picoseconds. + Weight::from_parts(35_700_309, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 701 + .saturating_add(Weight::from_parts(32_340, 0).saturating_mul(l.into())) + // Standard Error: 1_248 + .saturating_add(Weight::from_parts(47_240, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -96,21 +104,23 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `380 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 32_177_000 picoseconds. - Weight::from_parts(30_830_499, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 902 - .saturating_add(Weight::from_parts(54_639, 0).saturating_mul(l.into())) - // Standard Error: 1_605 - .saturating_add(Weight::from_parts(80_501, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 35_524_000 picoseconds. + Weight::from_parts(34_536_489, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 504 + .saturating_add(Weight::from_parts(42_650, 0).saturating_mul(l.into())) + // Standard Error: 897 + .saturating_add(Weight::from_parts(69_561, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -118,15 +128,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `380 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 31_501_000 picoseconds. - Weight::from_parts(31_090_475, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 904 - .saturating_add(Weight::from_parts(38_566, 0).saturating_mul(l.into())) - // Standard Error: 1_609 - .saturating_add(Weight::from_parts(52_847, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 38_663_000 picoseconds. + Weight::from_parts(38_627_950, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 872 + .saturating_add(Weight::from_parts(33_584, 0).saturating_mul(l.into())) + // Standard Error: 1_552 + .saturating_add(Weight::from_parts(38_098, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) @@ -135,20 +145,22 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `451 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 46_158_000 picoseconds. - Weight::from_parts(46_663_007, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 2_069 - .saturating_add(Weight::from_parts(41_267, 0).saturating_mul(l.into())) - // Standard Error: 3_682 - .saturating_add(Weight::from_parts(41_418, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 66_521_000 picoseconds. + Weight::from_parts(67_173_875, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 1_199 + .saturating_add(Weight::from_parts(48_527, 0).saturating_mul(l.into())) + // Standard Error: 2_134 + .saturating_add(Weight::from_parts(87_011, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) @@ -157,26 +169,30 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `554 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `15482` - // Minimum execution time: 48_789_000 picoseconds. - Weight::from_parts(49_232_832, 0) - .saturating_add(Weight::from_parts(0, 15482)) - // Standard Error: 2_268 - .saturating_add(Weight::from_parts(42_419, 0).saturating_mul(l.into())) - // Standard Error: 4_036 - .saturating_add(Weight::from_parts(41_139, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `6196` + // Minimum execution time: 69_328_000 picoseconds. + Weight::from_parts(69_623_867, 0) + .saturating_add(Weight::from_parts(0, 6196)) + // Standard Error: 890 + .saturating_add(Weight::from_parts(48_816, 0).saturating_mul(l.into())) + // Standard Error: 1_583 + .saturating_add(Weight::from_parts(83_191, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -184,21 +200,23 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `378 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 33_106_000 picoseconds. - Weight::from_parts(32_473_382, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 699 - .saturating_add(Weight::from_parts(47_907, 0).saturating_mul(l.into())) - // Standard Error: 1_291 - .saturating_add(Weight::from_parts(63_744, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 36_793_000 picoseconds. + Weight::from_parts(35_597_768, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 437 + .saturating_add(Weight::from_parts(44_674, 0).saturating_mul(l.into())) + // Standard Error: 807 + .saturating_add(Weight::from_parts(71_993, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -206,15 +224,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `378 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 33_016_000 picoseconds. - Weight::from_parts(32_857_987, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 808 - .saturating_add(Weight::from_parts(39_423, 0).saturating_mul(l.into())) - // Standard Error: 1_493 - .saturating_add(Weight::from_parts(60_468, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 40_508_000 picoseconds. + Weight::from_parts(39_617_555, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 923 + .saturating_add(Weight::from_parts(48_443, 0).saturating_mul(l.into())) + // Standard Error: 1_704 + .saturating_add(Weight::from_parts(73_498, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/rococo/src/weights/pallet_xcm.rs b/runtime/rococo/src/weights/pallet_xcm.rs index 0fe5e6213b3b..e96cef3ce2ff 100644 --- a/runtime/rococo/src/weights/pallet_xcm.rs +++ b/runtime/rococo/src/weights/pallet_xcm.rs @@ -17,30 +17,29 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=rococo-dev // --steps=50 // --repeat=20 +// --pallet=pallet_xcm // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json -// --pallet=pallet_xcm -// --chain=rococo-dev // --header=./file_header.txt // --output=./runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; @@ -50,6 +49,8 @@ pub struct WeightInfo(PhantomData); impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -64,34 +65,34 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `585` // Estimated: `4050` - // Minimum execution time: 35_808_000 picoseconds. - Weight::from_parts(36_542_000, 0) + // Minimum execution time: 37_708_000 picoseconds. + Weight::from_parts(38_559_000, 0) .saturating_add(Weight::from_parts(0, 4050)) - .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } fn teleport_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 21_646_000 picoseconds. - Weight::from_parts(21_965_000, 0) + // Minimum execution time: 22_219_000 picoseconds. + Weight::from_parts(22_746_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 20_760_000 picoseconds. - Weight::from_parts(21_030_000, 0) + // Minimum execution time: 22_157_000 picoseconds. + Weight::from_parts(22_683_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_418_000 picoseconds. - Weight::from_parts(10_625_000, 0) + // Minimum execution time: 10_072_000 picoseconds. + Weight::from_parts(10_360_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: XcmPallet SupportedVersion (r:0 w:1) @@ -100,8 +101,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_336_000 picoseconds. - Weight::from_parts(10_725_000, 0) + // Minimum execution time: 10_169_000 picoseconds. + Weight::from_parts(10_499_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -111,8 +112,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_387_000 picoseconds. - Weight::from_parts(3_515_000, 0) + // Minimum execution time: 3_335_000 picoseconds. + Weight::from_parts(3_471_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -122,6 +123,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: XcmPallet QueryCounter (max_values: Some(1), max_size: None, mode: Measured) /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -138,16 +141,18 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `585` // Estimated: `4050` - // Minimum execution time: 40_120_000 picoseconds. - Weight::from_parts(41_122_000, 0) + // Minimum execution time: 42_792_000 picoseconds. + Weight::from_parts(43_482_000, 0) .saturating_add(Weight::from_parts(0, 4050)) - .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: XcmPallet VersionNotifiers (r:1 w:1) /// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured) /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -164,10 +169,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `857` // Estimated: `4322` - // Minimum execution time: 43_082_000 picoseconds. - Weight::from_parts(44_150_000, 0) + // Minimum execution time: 45_415_000 picoseconds. + Weight::from_parts(45_986_000, 0) .saturating_add(Weight::from_parts(0, 4322)) - .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: XcmPallet XcmExecutionSuspended (r:0 w:1) @@ -176,8 +181,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_375_000 picoseconds. - Weight::from_parts(3_532_000, 0) + // Minimum execution time: 3_321_000 picoseconds. + Weight::from_parts(3_453_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -187,8 +192,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `229` // Estimated: `11119` - // Minimum execution time: 17_470_000 picoseconds. - Weight::from_parts(17_718_000, 0) + // Minimum execution time: 16_952_000 picoseconds. + Weight::from_parts(17_280_000, 0) .saturating_add(Weight::from_parts(0, 11119)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -199,8 +204,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `233` // Estimated: `11123` - // Minimum execution time: 17_235_000 picoseconds. - Weight::from_parts(17_767_000, 0) + // Minimum execution time: 16_934_000 picoseconds. + Weight::from_parts(17_310_000, 0) .saturating_add(Weight::from_parts(0, 11123)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -211,8 +216,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `243` // Estimated: `13608` - // Minimum execution time: 17_793_000 picoseconds. - Weight::from_parts(18_606_000, 0) + // Minimum execution time: 18_266_000 picoseconds. + Weight::from_parts(18_596_000, 0) .saturating_add(Weight::from_parts(0, 13608)) .saturating_add(T::DbWeight::get().reads(5)) } @@ -220,6 +225,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -234,10 +241,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `655` // Estimated: `6595` - // Minimum execution time: 36_577_000 picoseconds. - Weight::from_parts(37_312_000, 0) + // Minimum execution time: 39_178_000 picoseconds. + Weight::from_parts(39_574_000, 0) .saturating_add(Weight::from_parts(0, 6595)) - .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: XcmPallet VersionNotifyTargets (r:3 w:0) @@ -246,8 +253,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `272` // Estimated: `8687` - // Minimum execution time: 8_756_000 picoseconds. - Weight::from_parts(9_029_000, 0) + // Minimum execution time: 8_813_000 picoseconds. + Weight::from_parts(9_109_000, 0) .saturating_add(Weight::from_parts(0, 8687)) .saturating_add(T::DbWeight::get().reads(3)) } @@ -257,8 +264,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `240` // Estimated: `11130` - // Minimum execution time: 17_871_000 picoseconds. - Weight::from_parts(18_325_000, 0) + // Minimum execution time: 17_489_000 picoseconds. + Weight::from_parts(17_784_000, 0) .saturating_add(Weight::from_parts(0, 11130)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -267,6 +274,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -281,10 +290,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `659` // Estimated: `11549` - // Minimum execution time: 43_569_000 picoseconds. - Weight::from_parts(44_261_000, 0) + // Minimum execution time: 46_279_000 picoseconds. + Weight::from_parts(47_024_000, 0) .saturating_add(Weight::from_parts(0, 11549)) - .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(5)) } } diff --git a/runtime/rococo/src/weights/runtime_common_auctions.rs b/runtime/rococo/src/weights/runtime_common_auctions.rs index acb47f3165d9..801b7ef8bdf2 100644 --- a/runtime/rococo/src/weights/runtime_common_auctions.rs +++ b/runtime/rococo/src/weights/runtime_common_auctions.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::auctions`. pub struct WeightInfo(PhantomData); @@ -52,10 +54,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn new_auction() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `2982` - // Minimum execution time: 13_822_000 picoseconds. - Weight::from_parts(14_373_000, 0) - .saturating_add(Weight::from_parts(0, 2982)) + // Estimated: `1493` + // Minimum execution time: 13_435_000 picoseconds. + Weight::from_parts(13_892_000, 0) + .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,10 +78,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn bid() -> Weight { // Proof Size summary in bytes: // Measured: `728` - // Estimated: `26406` - // Minimum execution time: 70_913_000 picoseconds. - Weight::from_parts(74_639_000, 0) - .saturating_add(Weight::from_parts(0, 26406)) + // Estimated: `6060` + // Minimum execution time: 77_018_000 picoseconds. + Weight::from_parts(78_422_000, 0) + .saturating_add(Weight::from_parts(0, 6060)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -110,10 +112,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `6947752` - // Estimated: `50775045` - // Minimum execution time: 6_166_967_000 picoseconds. - Weight::from_parts(6_228_243_000, 0) - .saturating_add(Weight::from_parts(0, 50775045)) + // Estimated: `15822990` + // Minimum execution time: 6_261_358_000 picoseconds. + Weight::from_parts(6_347_519_000, 0) + .saturating_add(Weight::from_parts(0, 15822990)) .saturating_add(T::DbWeight::get().reads(3683)) .saturating_add(T::DbWeight::get().writes(3678)) } @@ -128,10 +130,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn cancel_auction() -> Weight { // Proof Size summary in bytes: // Measured: `177732` - // Estimated: `16012473` - // Minimum execution time: 4_885_891_000 picoseconds. - Weight::from_parts(4_923_797_000, 0) - .saturating_add(Weight::from_parts(0, 16012473)) + // Estimated: `15822990` + // Minimum execution time: 4_873_133_000 picoseconds. + Weight::from_parts(4_957_501_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/runtime/rococo/src/weights/runtime_common_claims.rs b/runtime/rococo/src/weights/runtime_common_claims.rs index c2725e90cc90..a1bba92cbe3f 100644 --- a/runtime/rococo/src/weights/runtime_common_claims.rs +++ b/runtime/rococo/src/weights/runtime_common_claims.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::claims`. pub struct WeightInfo(PhantomData); @@ -59,14 +61,16 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `558` - // Estimated: `26991` - // Minimum execution time: 141_620_000 picoseconds. - Weight::from_parts(143_668_000, 0) - .saturating_add(Weight::from_parts(0, 26991)) - .saturating_add(T::DbWeight::get().reads(7)) + // Estimated: `4764` + // Minimum execution time: 144_338_000 picoseconds. + Weight::from_parts(145_944_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Claims Total (r:1 w:1) @@ -80,10 +84,10 @@ impl runtime_common::claims::WeightInfo for WeightInfo< fn mint_claim() -> Weight { // Proof Size summary in bytes: // Measured: `216` - // Estimated: `2349` - // Minimum execution time: 11_817_000 picoseconds. - Weight::from_parts(12_193_000, 0) - .saturating_add(Weight::from_parts(0, 2349)) + // Estimated: `1701` + // Minimum execution time: 11_648_000 picoseconds. + Weight::from_parts(12_056_000, 0) + .saturating_add(Weight::from_parts(0, 1701)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -101,14 +105,16 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) fn claim_attest() -> Weight { // Proof Size summary in bytes: // Measured: `558` - // Estimated: `26991` - // Minimum execution time: 145_745_000 picoseconds. - Weight::from_parts(148_207_000, 0) - .saturating_add(Weight::from_parts(0, 26991)) - .saturating_add(T::DbWeight::get().reads(7)) + // Estimated: `4764` + // Minimum execution time: 148_461_000 picoseconds. + Weight::from_parts(150_491_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: Claims Preclaims (r:1 w:1) @@ -127,14 +133,16 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen) fn attest() -> Weight { // Proof Size summary in bytes: // Measured: `632` - // Estimated: `31384` - // Minimum execution time: 65_979_000 picoseconds. - Weight::from_parts(68_333_000, 0) - .saturating_add(Weight::from_parts(0, 31384)) - .saturating_add(T::DbWeight::get().reads(8)) + // Estimated: `4764` + // Minimum execution time: 68_260_000 picoseconds. + Weight::from_parts(70_399_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: Claims Claims (r:1 w:2) @@ -148,10 +156,10 @@ impl runtime_common::claims::WeightInfo for WeightInfo< fn move_claim() -> Weight { // Proof Size summary in bytes: // Measured: `440` - // Estimated: `15620` - // Minimum execution time: 22_694_000 picoseconds. - Weight::from_parts(23_022_000, 0) - .saturating_add(Weight::from_parts(0, 15620)) + // Estimated: `3905` + // Minimum execution time: 22_691_000 picoseconds. + Weight::from_parts(23_150_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/runtime/rococo/src/weights/runtime_common_crowdloan.rs b/runtime/rococo/src/weights/runtime_common_crowdloan.rs index a084e4ee8cd0..b8d842dede24 100644 --- a/runtime/rococo/src/weights/runtime_common_crowdloan.rs +++ b/runtime/rococo/src/weights/runtime_common_crowdloan.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::crowdloan`. pub struct WeightInfo(PhantomData); @@ -53,15 +55,17 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured) /// Storage: Crowdloan NextFundIndex (r:1 w:1) /// Proof Skipped: Crowdloan NextFundIndex (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `386` - // Estimated: `13424` - // Minimum execution time: 39_858_000 picoseconds. - Weight::from_parts(40_865_000, 0) - .saturating_add(Weight::from_parts(0, 13424)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `438` + // Estimated: `3903` + // Minimum execution time: 49_887_000 picoseconds. + Weight::from_parts(50_567_000, 0) + .saturating_add(Weight::from_parts(0, 3903)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) @@ -81,11 +85,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn contribute() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `22162` - // Minimum execution time: 111_819_000 picoseconds. - Weight::from_parts(113_743_000, 0) - .saturating_add(Weight::from_parts(0, 22162)) + // Measured: `530` + // Estimated: `3995` + // Minimum execution time: 123_762_000 picoseconds. + Weight::from_parts(125_989_000, 0) + .saturating_add(Weight::from_parts(0, 3995)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -100,10 +104,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `689` - // Estimated: `16005` - // Minimum execution time: 56_947_000 picoseconds. - Weight::from_parts(57_907_000, 0) - .saturating_add(Weight::from_parts(0, 16005)) + // Estimated: `6196` + // Minimum execution time: 69_524_000 picoseconds. + Weight::from_parts(70_532_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -112,13 +116,13 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `k` is `[0, 1000]`. fn refund(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `126 + k * (189 ±0)` - // Estimated: `133 + k * (189 ±0)` - // Minimum execution time: 41_762_000 picoseconds. - Weight::from_parts(56_829_000, 0) - .saturating_add(Weight::from_parts(0, 133)) - // Standard Error: 12_926 - .saturating_add(Weight::from_parts(22_800_725, 0).saturating_mul(k.into())) + // Measured: `127 + k * (189 ±0)` + // Estimated: `140 + k * (189 ±0)` + // Minimum execution time: 41_359_000 picoseconds. + Weight::from_parts(44_543_000, 0) + .saturating_add(Weight::from_parts(0, 140)) + // Standard Error: 19_477 + .saturating_add(Weight::from_parts(38_206_846, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -127,17 +131,17 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) + /// Storage: System Account (r:2 w:2) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn dissolve() -> Weight { // Proof Size summary in bytes: - // Measured: `375` - // Estimated: `7433` - // Minimum execution time: 31_961_000 picoseconds. - Weight::from_parts(32_603_000, 0) - .saturating_add(Weight::from_parts(0, 7433)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `515` + // Estimated: `6196` + // Minimum execution time: 42_493_000 picoseconds. + Weight::from_parts(43_503_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) @@ -145,8 +149,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 18_130_000 picoseconds. - Weight::from_parts(18_785_000, 0) + // Minimum execution time: 18_834_000 picoseconds. + Weight::from_parts(19_651_000, 0) .saturating_add(Weight::from_parts(0, 3700)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,10 +162,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn add_memo() -> Weight { // Proof Size summary in bytes: // Measured: `412` - // Estimated: `7754` - // Minimum execution time: 25_730_000 picoseconds. - Weight::from_parts(26_469_000, 0) - .saturating_add(Weight::from_parts(0, 7754)) + // Estimated: `3877` + // Minimum execution time: 25_595_000 picoseconds. + Weight::from_parts(26_434_000, 0) + .saturating_add(Weight::from_parts(0, 3877)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -172,10 +176,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn poke() -> Weight { // Proof Size summary in bytes: // Measured: `239` - // Estimated: `5428` - // Minimum execution time: 18_419_000 picoseconds. - Weight::from_parts(18_959_000, 0) - .saturating_add(Weight::from_parts(0, 5428)) + // Estimated: `3704` + // Minimum execution time: 18_561_000 picoseconds. + Weight::from_parts(19_191_000, 0) + .saturating_add(Weight::from_parts(0, 3704)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,16 +207,16 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn on_initialize(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `197 + n * (356 ±0)` - // Estimated: `17252 + n * (14348 ±0)` - // Minimum execution time: 114_684_000 picoseconds. - Weight::from_parts(116_266_000, 0) - .saturating_add(Weight::from_parts(0, 17252)) - // Standard Error: 49_215 - .saturating_add(Weight::from_parts(50_041_529, 0).saturating_mul(n.into())) + // Estimated: `5385 + n * (2832 ±0)` + // Minimum execution time: 128_619_000 picoseconds. + Weight::from_parts(129_823_000, 0) + .saturating_add(Weight::from_parts(0, 5385)) + // Standard Error: 60_203 + .saturating_add(Weight::from_parts(59_500_580, 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)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 14348).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2832).saturating_mul(n.into())) } } diff --git a/runtime/rococo/src/weights/runtime_common_paras_registrar.rs b/runtime/rococo/src/weights/runtime_common_paras_registrar.rs index acc065a6c4c4..19f18b51ddf6 100644 --- a/runtime/rococo/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/rococo/src/weights/runtime_common_paras_registrar.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::paras_registrar`. pub struct WeightInfo(PhantomData); @@ -54,10 +56,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn reserve() -> Weight { // Proof Size summary in bytes: // Measured: `97` - // Estimated: `8706` - // Minimum execution time: 27_294_000 picoseconds. - Weight::from_parts(27_595_000, 0) - .saturating_add(Weight::from_parts(0, 8706)) + // Estimated: `3562` + // Minimum execution time: 30_761_000 picoseconds. + Weight::from_parts(31_398_000, 0) + .saturating_add(Weight::from_parts(0, 3562)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,11 +85,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `572` - // Estimated: `29480` - // Minimum execution time: 6_434_075_000 picoseconds. - Weight::from_parts(6_507_768_000, 0) - .saturating_add(Weight::from_parts(0, 29480)) + // Measured: `577` + // Estimated: `4042` + // Minimum execution time: 6_313_873_000 picoseconds. + Weight::from_parts(6_441_492_000, 0) + .saturating_add(Weight::from_parts(0, 4042)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -113,11 +115,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured) fn force_register() -> Weight { // Proof Size summary in bytes: - // Measured: `489` - // Estimated: `28650` - // Minimum execution time: 6_391_182_000 picoseconds. - Weight::from_parts(6_485_890_000, 0) - .saturating_add(Weight::from_parts(0, 28650)) + // Measured: `494` + // Estimated: `3959` + // Minimum execution time: 6_281_063_000 picoseconds. + Weight::from_parts(6_408_633_000, 0) + .saturating_add(Weight::from_parts(0, 3959)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -136,10 +138,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn deregister() -> Weight { // Proof Size summary in bytes: // Measured: `435` - // Estimated: `17955` - // Minimum execution time: 41_497_000 picoseconds. - Weight::from_parts(42_731_000, 0) - .saturating_add(Weight::from_parts(0, 17955)) + // Estimated: `3900` + // Minimum execution time: 45_757_000 picoseconds. + Weight::from_parts(46_667_000, 0) + .saturating_add(Weight::from_parts(0, 3900)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -160,10 +162,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn swap() -> Weight { // Proof Size summary in bytes: // Measured: `743` - // Estimated: `34901` - // Minimum execution time: 48_650_000 picoseconds. - Weight::from_parts(51_891_000, 0) - .saturating_add(Weight::from_parts(0, 34901)) + // Estimated: `6683` + // Minimum execution time: 48_199_000 picoseconds. + Weight::from_parts(50_725_000, 0) + .saturating_add(Weight::from_parts(0, 6683)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -192,13 +194,13 @@ impl runtime_common::paras_registrar::WeightInfo for We /// The range of component `b` is `[1, 3145728]`. fn schedule_code_upgrade(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `330` - // Estimated: `30360` - // Minimum execution time: 44_644_000 picoseconds. - Weight::from_parts(44_838_000, 0) - .saturating_add(Weight::from_parts(0, 30360)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(2_017, 0).saturating_mul(b.into())) + // Measured: `335` + // Estimated: `3800` + // Minimum execution time: 44_097_000 picoseconds. + Weight::from_parts(44_272_000, 0) + .saturating_add(Weight::from_parts(0, 3800)) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_986, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -209,11 +211,11 @@ impl runtime_common::paras_registrar::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_589_000 picoseconds. - Weight::from_parts(9_930_000, 0) + // Minimum execution time: 9_596_000 picoseconds. + Weight::from_parts(9_673_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(919, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(857, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/rococo/src/weights/runtime_common_slots.rs b/runtime/rococo/src/weights/runtime_common_slots.rs index 4e1094ce9290..79350180946b 100644 --- a/runtime/rococo/src/weights/runtime_common_slots.rs +++ b/runtime/rococo/src/weights/runtime_common_slots.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::slots`. pub struct WeightInfo(PhantomData); @@ -52,10 +54,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `287` - // Estimated: `7345` - // Minimum execution time: 27_240_000 picoseconds. - Weight::from_parts(27_617_000, 0) - .saturating_add(Weight::from_parts(0, 7345)) + // Estimated: `3752` + // Minimum execution time: 29_790_000 picoseconds. + Weight::from_parts(30_081_000, 0) + .saturating_add(Weight::from_parts(0, 3752)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,22 +78,22 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `0 + c * (47 ±0) + t * (308 ±0)` - // Estimated: `7864 + c * (2781 ±0) + t * (9308 ±0)` - // Minimum execution time: 640_467_000 picoseconds. - Weight::from_parts(646_026_000, 0) - .saturating_add(Weight::from_parts(0, 7864)) - // Standard Error: 81_769 - .saturating_add(Weight::from_parts(2_764_386, 0).saturating_mul(c.into())) - // Standard Error: 81_769 - .saturating_add(Weight::from_parts(11_816_053, 0).saturating_mul(t.into())) + // Estimated: `2763 + c * (2526 ±0) + t * (2789 ±0)` + // Minimum execution time: 642_513_000 picoseconds. + Weight::from_parts(645_643_000, 0) + .saturating_add(Weight::from_parts(0, 2763)) + // Standard Error: 84_556 + .saturating_add(Weight::from_parts(2_748_100, 0).saturating_mul(c.into())) + // Standard Error: 84_556 + .saturating_add(Weight::from_parts(11_405_820, 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((3_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2781).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 9308).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2526).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2789).saturating_mul(t.into())) } /// Storage: Slots Leases (r:1 w:1) /// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured) @@ -100,10 +102,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `2759` - // Estimated: `28038` - // Minimum execution time: 100_595_000 picoseconds. - Weight::from_parts(102_289_000, 0) - .saturating_add(Weight::from_parts(0, 28038)) + // Estimated: `21814` + // Minimum execution time: 130_942_000 picoseconds. + Weight::from_parts(132_692_000, 0) + .saturating_add(Weight::from_parts(0, 21814)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -120,10 +122,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `670` - // Estimated: `18695` - // Minimum execution time: 28_883_000 picoseconds. - Weight::from_parts(29_921_000, 0) - .saturating_add(Weight::from_parts(0, 18695)) + // Estimated: `4135` + // Minimum execution time: 28_865_000 picoseconds. + Weight::from_parts(29_720_000, 0) + .saturating_add(Weight::from_parts(0, 4135)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_configuration.rs b/runtime/rococo/src/weights/runtime_parachains_configuration.rs index 42f5086c2b33..fcc8ed4840c8 100644 --- a/runtime/rococo/src/weights/runtime_parachains_configuration.rs +++ b/runtime/rococo/src/weights/runtime_parachains_configuration.rs @@ -13,36 +13,36 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=rococo-dev // --steps=50 // --repeat=20 +// --pallet=runtime_parachains::configuration // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json -// --pallet=runtime_parachains::configuration -// --chain=rococo-dev // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/ +// --output=./runtime/rococo/src/weights/runtime_parachains_configuration.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::configuration`. pub struct WeightInfo(PhantomData); @@ -58,10 +58,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `397` - // Estimated: `7528` - // Minimum execution time: 12_920_000 picoseconds. - Weight::from_parts(13_270_000, 0) - .saturating_add(Weight::from_parts(0, 7528)) + // Estimated: `1882` + // Minimum execution time: 12_881_000 picoseconds. + Weight::from_parts(13_274_000, 0) + .saturating_add(Weight::from_parts(0, 1882)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,10 +76,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `397` - // Estimated: `7528` - // Minimum execution time: 12_858_000 picoseconds. - Weight::from_parts(13_184_000, 0) - .saturating_add(Weight::from_parts(0, 7528)) + // Estimated: `1882` + // Minimum execution time: 13_213_000 picoseconds. + Weight::from_parts(13_426_000, 0) + .saturating_add(Weight::from_parts(0, 1882)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -94,10 +94,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_option_u32() -> Weight { // Proof Size summary in bytes: // Measured: `397` - // Estimated: `7528` - // Minimum execution time: 13_117_000 picoseconds. - Weight::from_parts(13_517_000, 0) - .saturating_add(Weight::from_parts(0, 7528)) + // Estimated: `1882` + // Minimum execution time: 12_831_000 picoseconds. + Weight::from_parts(13_151_000, 0) + .saturating_add(Weight::from_parts(0, 1882)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -112,10 +112,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: // Measured: `397` - // Estimated: `7528` - // Minimum execution time: 12_941_000 picoseconds. - Weight::from_parts(13_507_000, 0) - .saturating_add(Weight::from_parts(0, 7528)) + // Estimated: `1882` + // Minimum execution time: 12_914_000 picoseconds. + Weight::from_parts(13_395_000, 0) + .saturating_add(Weight::from_parts(0, 1882)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -140,10 +140,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_balance() -> Weight { // Proof Size summary in bytes: // Measured: `397` - // Estimated: `7528` - // Minimum execution time: 12_814_000 picoseconds. - Weight::from_parts(13_258_000, 0) - .saturating_add(Weight::from_parts(0, 7528)) + // Estimated: `1882` + // Minimum execution time: 12_798_000 picoseconds. + Weight::from_parts(13_164_000, 0) + .saturating_add(Weight::from_parts(0, 1882)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -158,10 +158,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_executor_params() -> Weight { // Proof Size summary in bytes: // Measured: `397` - // Estimated: `7528` - // Minimum execution time: 13_908_000 picoseconds. - Weight::from_parts(14_382_000, 0) - .saturating_add(Weight::from_parts(0, 7528)) + // Estimated: `1882` + // Minimum execution time: 13_685_000 picoseconds. + Weight::from_parts(14_089_000, 0) + .saturating_add(Weight::from_parts(0, 1882)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_disputes.rs b/runtime/rococo/src/weights/runtime_parachains_disputes.rs index b32d256472a0..87b6fa8182ff 100644 --- a/runtime/rococo/src/weights/runtime_parachains_disputes.rs +++ b/runtime/rococo/src/weights/runtime_parachains_disputes.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::disputes`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl runtime_parachains::disputes::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_037_000 picoseconds. - Weight::from_parts(3_164_000, 0) + // Minimum execution time: 3_111_000 picoseconds. + Weight::from_parts(3_231_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_hrmp.rs b/runtime/rococo/src/weights/runtime_parachains_hrmp.rs index 32cc25c22910..437cf71c4eb3 100644 --- a/runtime/rococo/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/rococo/src/weights/runtime_parachains_hrmp.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::hrmp`. pub struct WeightInfo(PhantomData); @@ -65,11 +67,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_init_open_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `719` - // Estimated: `36171` - // Minimum execution time: 40_335_000 picoseconds. - Weight::from_parts(40_824_000, 0) - .saturating_add(Weight::from_parts(0, 36171)) + // Measured: `724` + // Estimated: `6664` + // Minimum execution time: 41_955_000 picoseconds. + Weight::from_parts(42_506_000, 0) + .saturating_add(Weight::from_parts(0, 6664)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -89,11 +91,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_accept_open_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `951` - // Estimated: `28932` - // Minimum execution time: 43_130_000 picoseconds. - Weight::from_parts(43_826_000, 0) - .saturating_add(Weight::from_parts(0, 28932)) + // Measured: `956` + // Estimated: `4421` + // Minimum execution time: 44_499_000 picoseconds. + Weight::from_parts(45_268_000, 0) + .saturating_add(Weight::from_parts(0, 4421)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -111,11 +113,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_close_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `822` - // Estimated: `21762` - // Minimum execution time: 36_371_000 picoseconds. - Weight::from_parts(36_901_000, 0) - .saturating_add(Weight::from_parts(0, 21762)) + // Measured: `827` + // Estimated: `4292` + // Minimum execution time: 36_879_000 picoseconds. + Weight::from_parts(37_491_000, 0) + .saturating_add(Weight::from_parts(0, 4292)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -135,23 +137,23 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `264 + i * (100 ±0) + e * (100 ±0)` - // Estimated: `9486 + i * (5550 ±0) + e * (5550 ±0)` - // Minimum execution time: 1_067_875_000 picoseconds. - Weight::from_parts(1_073_769_000, 0) - .saturating_add(Weight::from_parts(0, 9486)) - // Standard Error: 95_826 - .saturating_add(Weight::from_parts(3_089_576, 0).saturating_mul(i.into())) - // Standard Error: 95_826 - .saturating_add(Weight::from_parts(3_125_375, 0).saturating_mul(e.into())) + // Measured: `264 + e * (100 ±0) + i * (100 ±0)` + // Estimated: `3726 + e * (2575 ±0) + i * (2575 ±0)` + // Minimum execution time: 1_104_651_000 picoseconds. + Weight::from_parts(1_108_204_000, 0) + .saturating_add(Weight::from_parts(0, 3726)) + // Standard Error: 99_163 + .saturating_add(Weight::from_parts(3_322_286, 0).saturating_mul(i.into())) + // Standard Error: 99_163 + .saturating_add(Weight::from_parts(3_418_641, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5550).saturating_mul(i.into())) - .saturating_add(Weight::from_parts(0, 5550).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2575).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2575).saturating_mul(i.into())) } /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) @@ -174,18 +176,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_open(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `794 + c * (136 ±0)` - // Estimated: `15954 + c * (18549 ±0)` - // Minimum execution time: 10_514_000 picoseconds. - Weight::from_parts(5_697_794, 0) - .saturating_add(Weight::from_parts(0, 15954)) - // Standard Error: 16_431 - .saturating_add(Weight::from_parts(18_685_009, 0).saturating_mul(c.into())) + // Measured: `799 + c * (136 ±0)` + // Estimated: `2254 + c * (5086 ±0)` + // Minimum execution time: 10_816_000 picoseconds. + Weight::from_parts(9_240_011, 0) + .saturating_add(Weight::from_parts(0, 2254)) + // Standard Error: 22_052 + .saturating_add(Weight::from_parts(18_916_621, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 18549).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5086).saturating_mul(c.into())) } /// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -203,17 +205,17 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_close(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `335 + c * (124 ±0)` - // Estimated: `6375 + c * (8175 ±0)` - // Minimum execution time: 6_912_000 picoseconds. - Weight::from_parts(5_970_987, 0) - .saturating_add(Weight::from_parts(0, 6375)) - // Standard Error: 9_971 - .saturating_add(Weight::from_parts(11_348_517, 0).saturating_mul(c.into())) + // Estimated: `1795 + c * (2600 ±0)` + // Minimum execution time: 6_612_000 picoseconds. + Weight::from_parts(2_140_713, 0) + .saturating_add(Weight::from_parts(0, 1795)) + // Standard Error: 13_726 + .saturating_add(Weight::from_parts(11_803_236, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 8175).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2600).saturating_mul(c.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -225,15 +227,15 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_cancel_open_request(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1026 + c * (13 ±0)` - // Estimated: `10905 + c * (45 ±0)` - // Minimum execution time: 22_649_000 picoseconds. - Weight::from_parts(27_439_954, 0) - .saturating_add(Weight::from_parts(0, 10905)) - // Standard Error: 1_101 - .saturating_add(Weight::from_parts(54_107, 0).saturating_mul(c.into())) + // Estimated: `4295 + c * (15 ±0)` + // Minimum execution time: 22_553_000 picoseconds. + Weight::from_parts(26_395_862, 0) + .saturating_add(Weight::from_parts(0, 4295)) + // Standard Error: 800 + .saturating_add(Weight::from_parts(50_243, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 45).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 15).saturating_mul(c.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -243,17 +245,17 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn clean_open_channel_requests(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + c * (63 ±0)` - // Estimated: `2955 + c * (2602 ±0)` - // Minimum execution time: 5_030_000 picoseconds. - Weight::from_parts(4_932_487, 0) - .saturating_add(Weight::from_parts(0, 2955)) - // Standard Error: 2_697 - .saturating_add(Weight::from_parts(3_108_379, 0).saturating_mul(c.into())) + // Estimated: `1722 + c * (2538 ±0)` + // Minimum execution time: 5_077_000 picoseconds. + Weight::from_parts(3_712_296, 0) + .saturating_add(Weight::from_parts(0, 1722)) + // Standard Error: 3_271 + .saturating_add(Weight::from_parts(3_109_786, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2602).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2538).saturating_mul(c.into())) } /// Storage: Paras ParaLifecycles (r:2 w:0) /// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured) @@ -279,11 +281,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured) fn force_open_hrmp_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `719` - // Estimated: `49489` - // Minimum execution time: 54_530_000 picoseconds. - Weight::from_parts(55_259_000, 0) - .saturating_add(Weight::from_parts(0, 49489)) + // Measured: `724` + // Estimated: `6664` + // Minimum execution time: 56_406_000 picoseconds. + Weight::from_parts(56_990_000, 0) + .saturating_add(Weight::from_parts(0, 6664)) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_initializer.rs b/runtime/rococo/src/weights/runtime_parachains_initializer.rs index 1b8183683acd..8fe60049fdee 100644 --- a/runtime/rococo/src/weights/runtime_parachains_initializer.rs +++ b/runtime/rococo/src/weights/runtime_parachains_initializer.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::initializer`. pub struct WeightInfo(PhantomData); @@ -52,11 +54,11 @@ impl runtime_parachains::initializer::WeightInfo for We // Proof Size summary in bytes: // Measured: `0 + d * (11 ±0)` // Estimated: `1480 + d * (11 ±0)` - // Minimum execution time: 4_142_000 picoseconds. - Weight::from_parts(7_747_144, 0) + // Minimum execution time: 3_890_000 picoseconds. + Weight::from_parts(8_162_517, 0) .saturating_add(Weight::from_parts(0, 1480)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_309, 0).saturating_mul(d.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_305, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 11).saturating_mul(d.into())) diff --git a/runtime/rococo/src/weights/runtime_parachains_paras.rs b/runtime/rococo/src/weights/runtime_parachains_paras.rs index 9eb78b7e9525..a2eb315ac2dc 100644 --- a/runtime/rococo/src/weights/runtime_parachains_paras.rs +++ b/runtime/rococo/src/weights/runtime_parachains_paras.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::paras`. pub struct WeightInfo(PhantomData); @@ -61,12 +63,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `8309` - // Estimated: `61734` - // Minimum execution time: 34_331_000 picoseconds. - Weight::from_parts(34_533_000, 0) - .saturating_add(Weight::from_parts(0, 61734)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_999, 0).saturating_mul(c.into())) + // Estimated: `11774` + // Minimum execution time: 32_230_000 picoseconds. + Weight::from_parts(32_484_000, 0) + .saturating_add(Weight::from_parts(0, 11774)) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_972, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -77,11 +79,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_832_000 picoseconds. - Weight::from_parts(8_992_000, 0) + // Minimum execution time: 8_577_000 picoseconds. + Weight::from_parts(8_741_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(918, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(857, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Configuration ActiveConfig (r:1 w:0) @@ -109,13 +111,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `c` is `[1, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `16764` - // Estimated: `207669` - // Minimum execution time: 62_536_000 picoseconds. - Weight::from_parts(62_832_000, 0) - .saturating_add(Weight::from_parts(0, 207669)) + // Measured: `16769` + // Estimated: `20234` + // Minimum execution time: 59_725_000 picoseconds. + Weight::from_parts(60_345_000, 0) + .saturating_add(Weight::from_parts(0, 20234)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_024, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_981, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -129,12 +131,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `95` - // Estimated: `3750` - // Minimum execution time: 14_769_000 picoseconds. - Weight::from_parts(15_014_000, 0) - .saturating_add(Weight::from_parts(0, 3750)) + // Estimated: `3560` + // Minimum execution time: 14_733_000 picoseconds. + Weight::from_parts(14_854_000, 0) + .saturating_add(Weight::from_parts(0, 3560)) // Standard Error: 2 - .saturating_add(Weight::from_parts(923, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(863, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -145,10 +147,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_queue_action() -> Weight { // Proof Size summary in bytes: // Measured: `4251` - // Estimated: `13452` - // Minimum execution time: 20_839_000 picoseconds. - Weight::from_parts(21_284_000, 0) - .saturating_add(Weight::from_parts(0, 13452)) + // Estimated: `7716` + // Minimum execution time: 21_286_000 picoseconds. + Weight::from_parts(21_593_000, 0) + .saturating_add(Weight::from_parts(0, 7716)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -160,12 +162,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn add_trusted_validation_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `6986` - // Minimum execution time: 9_121_000 picoseconds. - Weight::from_parts(9_282_000, 0) - .saturating_add(Weight::from_parts(0, 6986)) + // Estimated: `3493` + // Minimum execution time: 8_945_000 picoseconds. + Weight::from_parts(9_207_000, 0) + .saturating_add(Weight::from_parts(0, 3493)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_007, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_961, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -176,10 +178,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn poke_unused_validation_code() -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `3521` - // Minimum execution time: 6_931_000 picoseconds. - Weight::from_parts(7_138_000, 0) - .saturating_add(Weight::from_parts(0, 3521)) + // Estimated: `3493` + // Minimum execution time: 6_494_000 picoseconds. + Weight::from_parts(6_828_000, 0) + .saturating_add(Weight::from_parts(0, 3493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +195,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement() -> Weight { // Proof Size summary in bytes: - // Measured: `26947` - // Estimated: `115708` - // Minimum execution time: 93_627_000 picoseconds. - Weight::from_parts(96_617_000, 0) - .saturating_add(Weight::from_parts(0, 115708)) + // Measured: `26952` + // Estimated: `30417` + // Minimum execution time: 92_204_000 picoseconds. + Weight::from_parts(92_879_000, 0) + .saturating_add(Weight::from_parts(0, 30417)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,11 +221,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `27501` - // Estimated: `232383` - // Minimum execution time: 814_663_000 picoseconds. - Weight::from_parts(820_066_000, 0) - .saturating_add(Weight::from_parts(0, 232383)) + // Measured: `27506` + // Estimated: `30971` + // Minimum execution time: 780_344_000 picoseconds. + Weight::from_parts(789_583_000, 0) + .saturating_add(Weight::from_parts(0, 30971)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(104)) } @@ -237,11 +239,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `27479` - // Estimated: `117836` - // Minimum execution time: 92_155_000 picoseconds. - Weight::from_parts(93_771_000, 0) - .saturating_add(Weight::from_parts(0, 117836)) + // Measured: `27484` + // Estimated: `30949` + // Minimum execution time: 91_535_000 picoseconds. + Weight::from_parts(92_909_000, 0) + .saturating_add(Weight::from_parts(0, 30949)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -259,11 +261,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `26969` - // Estimated: `174684` - // Minimum execution time: 660_101_000 picoseconds. - Weight::from_parts(666_641_000, 0) - .saturating_add(Weight::from_parts(0, 174684)) + // Measured: `26974` + // Estimated: `30439` + // Minimum execution time: 627_464_000 picoseconds. + Weight::from_parts(631_072_000, 0) + .saturating_add(Weight::from_parts(0, 30439)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -277,11 +279,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `26947` - // Estimated: `115708` - // Minimum execution time: 91_525_000 picoseconds. - Weight::from_parts(92_594_000, 0) - .saturating_add(Weight::from_parts(0, 115708)) + // Measured: `26952` + // Estimated: `30417` + // Minimum execution time: 91_119_000 picoseconds. + Weight::from_parts(91_722_000, 0) + .saturating_add(Weight::from_parts(0, 30417)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_ump.rs b/runtime/rococo/src/weights/runtime_parachains_ump.rs index 4fe7398c4403..35a393169571 100644 --- a/runtime/rococo/src/weights/runtime_parachains_ump.rs +++ b/runtime/rococo/src/weights/runtime_parachains_ump.rs @@ -13,12 +13,13 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::ump`. pub struct WeightInfo(PhantomData); @@ -50,11 +52,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_394_000 picoseconds. - Weight::from_parts(119_419, 0) + // Minimum execution time: 6_036_000 picoseconds. + Weight::from_parts(6_133_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_574, 0).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(1_360, 0).saturating_mul(s.into())) } /// Storage: Ump NeedsDispatch (r:1 w:1) /// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured) @@ -67,10 +69,10 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn clean_ump_after_outgoing() -> Weight { // Proof Size summary in bytes: // Measured: `202` - // Estimated: `3778` - // Minimum execution time: 8_934_000 picoseconds. - Weight::from_parts(9_220_000, 0) - .saturating_add(Weight::from_parts(0, 3778)) + // Estimated: `1687` + // Minimum execution time: 8_630_000 picoseconds. + Weight::from_parts(8_883_000, 0) + .saturating_add(Weight::from_parts(0, 1687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -81,10 +83,10 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn service_overweight() -> Weight { // Proof Size summary in bytes: // Measured: `219` - // Estimated: `5173` - // Minimum execution time: 23_618_000 picoseconds. - Weight::from_parts(23_992_000, 0) - .saturating_add(Weight::from_parts(0, 5173)) + // Estimated: `3684` + // Minimum execution time: 22_583_000 picoseconds. + Weight::from_parts(22_844_000, 0) + .saturating_add(Weight::from_parts(0, 3684)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/westend/constants/src/weights/block_weights.rs b/runtime/westend/constants/src/weights/block_weights.rs index a29f5cfc54bc..0dfd22ff9165 100644 --- a/runtime/westend/constants/src/weights/block_weights.rs +++ b/runtime/westend/constants/src/weights/block_weights.rs @@ -13,8 +13,9 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15 (Y/M/D) +//! DATE: 2023-04-28 (Y/M/D) //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` @@ -42,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 436_897, 566_277 - /// Average: 445_228 - /// Median: 441_051 - /// Std-Dev: 15792.88 + /// Min, Max: 397_060, 447_262 + /// Average: 401_599 + /// Median: 399_367 + /// Std-Dev: 7259.52 /// /// Percentiles nanoseconds: - /// 99th: 494_890 - /// 95th: 471_702 - /// 75th: 443_378 + /// 99th: 433_225 + /// 95th: 413_788 + /// 75th: 400_912 pub const BlockExecutionWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(445_228), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(401_599), 0); } #[cfg(test)] diff --git a/runtime/westend/constants/src/weights/extrinsic_weights.rs b/runtime/westend/constants/src/weights/extrinsic_weights.rs index cd307f196d09..9b0473293ac2 100644 --- a/runtime/westend/constants/src/weights/extrinsic_weights.rs +++ b/runtime/westend/constants/src/weights/extrinsic_weights.rs @@ -13,8 +13,9 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15 (Y/M/D) +//! DATE: 2023-04-28 (Y/M/D) //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` @@ -42,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 93_487, 94_937 - /// Average: 93_839 - /// Median: 93_736 - /// Std-Dev: 302.5 + /// Min, Max: 96_491, 98_016 + /// Average: 96_992 + /// Median: 96_896 + /// Std-Dev: 311.32 /// /// Percentiles nanoseconds: - /// 99th: 94_824 - /// 95th: 94_659 - /// 75th: 93_881 + /// 99th: 97_917 + /// 95th: 97_706 + /// 75th: 97_073 pub const ExtrinsicBaseWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(93_839), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(96_992), 0); } #[cfg(test)] diff --git a/runtime/westend/src/weights/frame_election_provider_support.rs b/runtime/westend/src/weights/frame_election_provider_support.rs index c7c78c2d2ec7..6bc4bff42401 100644 --- a/runtime/westend/src/weights/frame_election_provider_support.rs +++ b/runtime/westend/src/weights/frame_election_provider_support.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `frame_election_provider_support`. pub struct WeightInfo(PhantomData); @@ -52,13 +54,13 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_252_445_000 picoseconds. - Weight::from_parts(6_285_591_000, 0) + // Minimum execution time: 6_604_471_000 picoseconds. + Weight::from_parts(6_640_277_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 140_763 - .saturating_add(Weight::from_parts(5_867_639, 0).saturating_mul(v.into())) - // Standard Error: 14_391_126 - .saturating_add(Weight::from_parts(1_533_449_212, 0).saturating_mul(d.into())) + // Standard Error: 147_130 + .saturating_add(Weight::from_parts(6_177_359, 0).saturating_mul(v.into())) + // Standard Error: 15_042_085 + .saturating_add(Weight::from_parts(1_613_842_140, 0).saturating_mul(d.into())) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. @@ -67,12 +69,12 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_792_106_000 picoseconds. - Weight::from_parts(4_828_210_000, 0) + // Minimum execution time: 4_674_729_000 picoseconds. + Weight::from_parts(4_696_660_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 148_454 - .saturating_add(Weight::from_parts(5_671_403, 0).saturating_mul(v.into())) - // Standard Error: 15_177_501 - .saturating_add(Weight::from_parts(1_768_408_399, 0).saturating_mul(d.into())) + // Standard Error: 125_145 + .saturating_add(Weight::from_parts(4_959_331, 0).saturating_mul(v.into())) + // Standard Error: 12_794_378 + .saturating_add(Weight::from_parts(1_447_457_153, 0).saturating_mul(d.into())) } } diff --git a/runtime/westend/src/weights/frame_system.rs b/runtime/westend/src/weights/frame_system.rs index 3e0e5d96dc7b..0ef034a8ebf6 100644 --- a/runtime/westend/src/weights/frame_system.rs +++ b/runtime/westend/src/weights/frame_system.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `frame_system`. pub struct WeightInfo(PhantomData); @@ -50,22 +52,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_117_000 picoseconds. - Weight::from_parts(2_150_000, 0) + // Minimum execution time: 2_422_000 picoseconds. + Weight::from_parts(2_461_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(369, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(365, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_554_000 picoseconds. - Weight::from_parts(7_723_000, 0) + // Minimum execution time: 7_776_000 picoseconds. + Weight::from_parts(8_012_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(1_426, 0).saturating_mul(b.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_403, 0).saturating_mul(b.into())) } /// Storage: System Digest (r:1 w:1) /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) @@ -75,8 +77,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 4_120_000 picoseconds. - Weight::from_parts(4_351_000, 0) + // Minimum execution time: 4_364_000 picoseconds. + Weight::from_parts(4_546_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -88,11 +90,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_191_000 picoseconds. - Weight::from_parts(2_264_000, 0) + // Minimum execution time: 2_534_000 picoseconds. + Weight::from_parts(2_556_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_798 - .saturating_add(Weight::from_parts(677_191, 0).saturating_mul(i.into())) + // Standard Error: 2_118 + .saturating_add(Weight::from_parts(659_457, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -102,11 +104,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_198_000 picoseconds. - Weight::from_parts(2_287_000, 0) + // Minimum execution time: 2_445_000 picoseconds. + Weight::from_parts(2_478_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 784 - .saturating_add(Weight::from_parts(492_885, 0).saturating_mul(i.into())) + // Standard Error: 748 + .saturating_add(Weight::from_parts(485_315, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -116,11 +118,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `132 + p * (69 ±0)` // Estimated: `105 + p * (70 ±0)` - // Minimum execution time: 4_176_000 picoseconds. - Weight::from_parts(4_323_000, 0) + // Minimum execution time: 4_494_000 picoseconds. + Weight::from_parts(4_685_000, 0) .saturating_add(Weight::from_parts(0, 105)) - // Standard Error: 1_043 - .saturating_add(Weight::from_parts(1_028_349, 0).saturating_mul(p.into())) + // Standard Error: 1_000 + .saturating_add(Weight::from_parts(1_009_962, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/westend/src/weights/pallet_bags_list.rs b/runtime/westend/src/weights/pallet_bags_list.rs index 3cfc0d74ca18..6a92fa9761fb 100644 --- a/runtime/westend/src/weights/pallet_bags_list.rs +++ b/runtime/westend/src/weights/pallet_bags_list.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_bags_list`. pub struct WeightInfo(PhantomData); @@ -56,10 +58,10 @@ impl pallet_bags_list::WeightInfo for WeightInfo { fn rebag_non_terminal() -> Weight { // Proof Size summary in bytes: // Measured: `1656` - // Estimated: `23146` - // Minimum execution time: 59_562_000 picoseconds. - Weight::from_parts(60_185_000, 0) - .saturating_add(Weight::from_parts(0, 23146)) + // Estimated: `11506` + // Minimum execution time: 59_709_000 picoseconds. + Weight::from_parts(60_572_000, 0) + .saturating_add(Weight::from_parts(0, 11506)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -74,10 +76,10 @@ impl pallet_bags_list::WeightInfo for WeightInfo { fn rebag_terminal() -> Weight { // Proof Size summary in bytes: // Measured: `1550` - // Estimated: `23074` - // Minimum execution time: 57_846_000 picoseconds. - Weight::from_parts(58_716_000, 0) - .saturating_add(Weight::from_parts(0, 23074)) + // Estimated: `8877` + // Minimum execution time: 58_411_000 picoseconds. + Weight::from_parts(59_053_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -94,10 +96,10 @@ impl pallet_bags_list::WeightInfo for WeightInfo { fn put_in_front_of() -> Weight { // Proof Size summary in bytes: // Measured: `1861` - // Estimated: `30748` - // Minimum execution time: 64_489_000 picoseconds. - Weight::from_parts(65_101_000, 0) - .saturating_add(Weight::from_parts(0, 30748)) + // Estimated: `11506` + // Minimum execution time: 64_297_000 picoseconds. + Weight::from_parts(64_878_000, 0) + .saturating_add(Weight::from_parts(0, 11506)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/westend/src/weights/pallet_balances.rs b/runtime/westend/src/weights/pallet_balances.rs index b6d3f4c851b9..68a17ed22ecc 100644 --- a/runtime/westend/src/weights/pallet_balances.rs +++ b/runtime/westend/src/weights/pallet_balances.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 33_929_000 picoseconds. - Weight::from_parts(34_323_000, 0) + // Minimum execution time: 52_260_000 picoseconds. + Weight::from_parts(52_849_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -63,8 +65,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 25_773_000 picoseconds. - Weight::from_parts(26_215_000, 0) + // Minimum execution time: 39_869_000 picoseconds. + Weight::from_parts(40_352_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,8 +77,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 16_040_000 picoseconds. - Weight::from_parts(16_350_000, 0) + // Minimum execution time: 15_955_000 picoseconds. + Weight::from_parts(16_365_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -87,8 +89,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 19_096_000 picoseconds. - Weight::from_parts(19_568_000, 0) + // Minimum execution time: 22_522_000 picoseconds. + Weight::from_parts(22_987_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -99,8 +101,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `6196` - // Minimum execution time: 35_297_000 picoseconds. - Weight::from_parts(36_474_000, 0) + // Minimum execution time: 53_891_000 picoseconds. + Weight::from_parts(54_386_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -111,8 +113,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 31_735_000 picoseconds. - Weight::from_parts(32_471_000, 0) + // Minimum execution time: 48_643_000 picoseconds. + Weight::from_parts(49_171_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -123,14 +125,26 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 14_774_000 picoseconds. - Weight::from_parts(14_971_000, 0) + // Minimum execution time: 18_672_000 picoseconds. + Weight::from_parts(19_108_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn upgrade_accounts(_: u32) -> Weight { - Weight::from_parts(0, 0) + /// Storage: System Account (r:999 w:999) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + u * (135 ±0)` + // Estimated: `990 + u * (2603 ±0)` + // Minimum execution time: 17_661_000 picoseconds. + Weight::from_parts(18_003_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 10_321 + .saturating_add(Weight::from_parts(13_964_416, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } - } diff --git a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs index f39ecf2ce24b..cd0ef786965e 100644 --- a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_election_provider_multi_phase`. pub struct WeightInfo(PhantomData); @@ -64,10 +66,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_nothing() -> Weight { // Proof Size summary in bytes: // Measured: `919` - // Estimated: `14828` - // Minimum execution time: 16_662_000 picoseconds. - Weight::from_parts(17_483_000, 0) - .saturating_add(Weight::from_parts(0, 14828)) + // Estimated: `3481` + // Minimum execution time: 16_429_000 picoseconds. + Weight::from_parts(17_129_000, 0) + .saturating_add(Weight::from_parts(0, 3481)) .saturating_add(T::DbWeight::get().reads(8)) } /// Storage: ElectionProviderMultiPhase Round (r:1 w:0) @@ -77,10 +79,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_open_signed() -> Weight { // Proof Size summary in bytes: // Measured: `6` - // Estimated: `2982` - // Minimum execution time: 11_256_000 picoseconds. - Weight::from_parts(11_601_000, 0) - .saturating_add(Weight::from_parts(0, 2982)) + // Estimated: `1491` + // Minimum execution time: 11_299_000 picoseconds. + Weight::from_parts(11_610_000, 0) + .saturating_add(Weight::from_parts(0, 1491)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,10 +93,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_open_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `6` - // Estimated: `2982` - // Minimum execution time: 12_467_000 picoseconds. - Weight::from_parts(12_655_000, 0) - .saturating_add(Weight::from_parts(0, 2982)) + // Estimated: `1491` + // Minimum execution time: 12_586_000 picoseconds. + Weight::from_parts(12_844_000, 0) + .saturating_add(Weight::from_parts(0, 1491)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -105,10 +107,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn finalize_signed_phase_accept_solution() -> Weight { // Proof Size summary in bytes: // Measured: `174` - // Estimated: `3767` - // Minimum execution time: 24_052_000 picoseconds. - Weight::from_parts(24_490_000, 0) - .saturating_add(Weight::from_parts(0, 3767)) + // Estimated: `3593` + // Minimum execution time: 29_608_000 picoseconds. + Weight::from_parts(29_843_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -118,8 +120,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 16_659_000 picoseconds. - Weight::from_parts(17_066_000, 0) + // Minimum execution time: 20_378_000 picoseconds. + Weight::from_parts(20_676_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -136,11 +138,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 461_097_000 picoseconds. - Weight::from_parts(475_784_000, 0) + // Minimum execution time: 455_618_000 picoseconds. + Weight::from_parts(462_946_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_575 - .saturating_add(Weight::from_parts(276_685, 0).saturating_mul(v.into())) + // Standard Error: 2_539 + .saturating_add(Weight::from_parts(274_627, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -168,18 +170,18 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn elect_queued(a: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `229 + a * (768 ±0) + d * (48 ±0)` - // Estimated: `16752 + a * (6912 ±0) + d * (441 ±0)` - // Minimum execution time: 286_512_000 picoseconds. - Weight::from_parts(66_659_098, 0) - .saturating_add(Weight::from_parts(0, 16752)) - // Standard Error: 3_982 - .saturating_add(Weight::from_parts(353_694, 0).saturating_mul(a.into())) - // Standard Error: 5_969 - .saturating_add(Weight::from_parts(143_530, 0).saturating_mul(d.into())) + // Estimated: `3781 + a * (768 ±0) + d * (49 ±0)` + // Minimum execution time: 287_083_000 picoseconds. + Weight::from_parts(64_937_763, 0) + .saturating_add(Weight::from_parts(0, 3781)) + // Standard Error: 3_376 + .saturating_add(Weight::from_parts(360_436, 0).saturating_mul(a.into())) + // Standard Error: 5_061 + .saturating_add(Weight::from_parts(130_891, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(9)) - .saturating_add(Weight::from_parts(0, 6912).saturating_mul(a.into())) - .saturating_add(Weight::from_parts(0, 441).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 768).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 49).saturating_mul(d.into())) } /// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured) @@ -196,10 +198,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn submit() -> Weight { // Proof Size summary in bytes: // Measured: `7368` - // Estimated: `44281` - // Minimum execution time: 49_335_000 picoseconds. - Weight::from_parts(50_017_000, 0) - .saturating_add(Weight::from_parts(0, 44281)) + // Estimated: `8853` + // Minimum execution time: 53_896_000 picoseconds. + Weight::from_parts(54_763_000, 0) + .saturating_add(Weight::from_parts(0, 8853)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -223,19 +225,19 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `110 + v * (553 ±0) + t * (32 ±0)` - // Estimated: `11165 + v * (3871 ±0) + t * (224 ±0)` - // Minimum execution time: 4_986_312_000 picoseconds. - Weight::from_parts(5_030_772_000, 0) - .saturating_add(Weight::from_parts(0, 11165)) - // Standard Error: 17_457 - .saturating_add(Weight::from_parts(162_292, 0).saturating_mul(v.into())) - // Standard Error: 51_732 - .saturating_add(Weight::from_parts(4_505_524, 0).saturating_mul(a.into())) + // Measured: `110 + t * (32 ±0) + v * (553 ±0)` + // Estimated: `1595 + t * (32 ±0) + v * (553 ±0)` + // Minimum execution time: 5_092_881_000 picoseconds. + Weight::from_parts(5_130_699_000, 0) + .saturating_add(Weight::from_parts(0, 1595)) + // Standard Error: 16_401 + .saturating_add(Weight::from_parts(84_713, 0).saturating_mul(v.into())) + // Standard Error: 48_604 + .saturating_add(Weight::from_parts(4_699_641, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 3871).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 224).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 553).saturating_mul(v.into())) } /// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured) @@ -251,17 +253,17 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `85 + v * (553 ±0) + t * (32 ±0)` - // Estimated: `6280 + v * (2212 ±0) + t * (128 ±0)` - // Minimum execution time: 4_200_429_000 picoseconds. - Weight::from_parts(4_225_730_000, 0) - .saturating_add(Weight::from_parts(0, 6280)) - // Standard Error: 13_976 - .saturating_add(Weight::from_parts(232_217, 0).saturating_mul(v.into())) - // Standard Error: 41_417 - .saturating_add(Weight::from_parts(3_352_123, 0).saturating_mul(a.into())) + // Measured: `85 + t * (32 ±0) + v * (553 ±0)` + // Estimated: `1570 + t * (32 ±0) + v * (553 ±0)` + // Minimum execution time: 4_327_461_000 picoseconds. + Weight::from_parts(4_333_994_000, 0) + .saturating_add(Weight::from_parts(0, 1570)) + // Standard Error: 14_404 + .saturating_add(Weight::from_parts(198_276, 0).saturating_mul(v.into())) + // Standard Error: 42_686 + .saturating_add(Weight::from_parts(3_592_743, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(Weight::from_parts(0, 2212).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 128).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 553).saturating_mul(v.into())) } } diff --git a/runtime/westend/src/weights/pallet_fast_unstake.rs b/runtime/westend/src/weights/pallet_fast_unstake.rs index 3973dfbb3c02..5f47ec0ecda4 100644 --- a/runtime/westend/src/weights/pallet_fast_unstake.rs +++ b/runtime/westend/src/weights/pallet_fast_unstake.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_fast_unstake` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_fast_unstake`. pub struct WeightInfo(PhantomData); @@ -69,6 +71,8 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:64 w:64) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:64 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Ledger (r:0 w:64) /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:64) @@ -77,17 +81,17 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo fn on_idle_unstake(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1128 + b * (344 ±0)` - // Estimated: `20161 + b * (17642 ±0)` - // Minimum execution time: 74_865_000 picoseconds. - Weight::from_parts(35_147_910, 0) - .saturating_add(Weight::from_parts(0, 20161)) - // Standard Error: 30_715 - .saturating_add(Weight::from_parts(41_160_559, 0).saturating_mul(b.into())) + // Estimated: `4572 + b * (3774 ±0)` + // Minimum execution time: 86_009_000 picoseconds. + Weight::from_parts(27_965_912, 0) + .saturating_add(Weight::from_parts(0, 4572)) + // Standard Error: 32_077 + .saturating_add(Weight::from_parts(52_823_362, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 17642).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 3774).saturating_mul(b.into())) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) /// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -107,20 +111,20 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// The range of component `b` is `[1, 64]`. fn on_idle_check(v: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1342 + v * (2485 ±0) + b * (48 ±0)` - // Estimated: `17868 + v * (7447 ±0) + b * (98 ±0)` - // Minimum execution time: 665_513_000 picoseconds. - Weight::from_parts(670_182_000, 0) - .saturating_add(Weight::from_parts(0, 17868)) - // Standard Error: 4_191_615 - .saturating_add(Weight::from_parts(134_997_267, 0).saturating_mul(v.into())) - // Standard Error: 16_771_129 - .saturating_add(Weight::from_parts(527_468_579, 0).saturating_mul(b.into())) + // Measured: `1342 + b * (48 ±0) + v * (2485 ±0)` + // Estimated: `4660 + b * (49 ±0) + v * (4961 ±0)` + // Minimum execution time: 647_511_000 picoseconds. + Weight::from_parts(655_130_000, 0) + .saturating_add(Weight::from_parts(0, 4660)) + // Standard Error: 4_190_256 + .saturating_add(Weight::from_parts(135_088_639, 0).saturating_mul(v.into())) + // Standard Error: 16_765_692 + .saturating_add(Weight::from_parts(525_868_640, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 7447).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 98).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 49).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 4961).saturating_mul(v.into())) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) /// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -148,16 +152,18 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: FastUnstake CounterForQueue (r:1 w:1) /// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn register_fast_unstake() -> Weight { // Proof Size summary in bytes: // Measured: `1864` - // Estimated: `43094` - // Minimum execution time: 109_031_000 picoseconds. - Weight::from_parts(110_490_000, 0) - .saturating_add(Weight::from_parts(0, 43094)) - .saturating_add(T::DbWeight::get().reads(14)) + // Estimated: `4764` + // Minimum execution time: 116_714_000 picoseconds. + Weight::from_parts(117_743_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(9)) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) @@ -173,10 +179,10 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo fn deregister() -> Weight { // Proof Size summary in bytes: // Measured: `1156` - // Estimated: `15627` - // Minimum execution time: 40_614_000 picoseconds. - Weight::from_parts(41_064_000, 0) - .saturating_add(Weight::from_parts(0, 15627)) + // Estimated: `4572` + // Minimum execution time: 43_431_000 picoseconds. + Weight::from_parts(43_902_000, 0) + .saturating_add(Weight::from_parts(0, 4572)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -186,8 +192,8 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_782_000 picoseconds. - Weight::from_parts(2_872_000, 0) + // Minimum execution time: 2_898_000 picoseconds. + Weight::from_parts(3_150_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/pallet_identity.rs b/runtime/westend/src/weights/pallet_identity.rs index cb3bb4f03bef..5cae4a3b91e9 100644 --- a/runtime/westend/src/weights/pallet_identity.rs +++ b/runtime/westend/src/weights/pallet_identity.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_identity`. pub struct WeightInfo(PhantomData); @@ -52,11 +54,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 11_853_000 picoseconds. - Weight::from_parts(12_624_097, 0) + // Minimum execution time: 12_095_000 picoseconds. + Weight::from_parts(12_700_606, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 2_065 - .saturating_add(Weight::from_parts(100_367, 0).saturating_mul(r.into())) + // Standard Error: 1_167 + .saturating_add(Weight::from_parts(109_740, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,13 +70,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `442 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 29_553_000 picoseconds. - Weight::from_parts(29_405_525, 0) + // Minimum execution time: 31_827_000 picoseconds. + Weight::from_parts(32_041_276, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 3_326 - .saturating_add(Weight::from_parts(44_863, 0).saturating_mul(r.into())) - // Standard Error: 649 - .saturating_add(Weight::from_parts(445_097, 0).saturating_mul(x.into())) + // Standard Error: 5_382 + .saturating_add(Weight::from_parts(61_125, 0).saturating_mul(r.into())) + // Standard Error: 1_050 + .saturating_add(Weight::from_parts(437_644, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,12 +90,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `101` - // Estimated: `18716 + s * (2589 ±0)` - // Minimum execution time: 9_172_000 picoseconds. - Weight::from_parts(20_099_144, 0) - .saturating_add(Weight::from_parts(0, 18716)) - // Standard Error: 9_266 - .saturating_add(Weight::from_parts(2_790_589, 0).saturating_mul(s.into())) + // Estimated: `11003 + s * (2589 ±0)` + // Minimum execution time: 9_793_000 picoseconds. + Weight::from_parts(24_331_314, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_575 + .saturating_add(Weight::from_parts(2_738_718, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,12 +112,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `194 + p * (32 ±0)` - // Estimated: `17726` - // Minimum execution time: 9_445_000 picoseconds. - Weight::from_parts(22_087_455, 0) - .saturating_add(Weight::from_parts(0, 17726)) - // Standard Error: 3_133 - .saturating_add(Weight::from_parts(1_071_467, 0).saturating_mul(p.into())) + // Estimated: `11003` + // Minimum execution time: 9_531_000 picoseconds. + Weight::from_parts(23_975_164, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_340 + .saturating_add(Weight::from_parts(1_094_846, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -132,16 +134,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `17726` - // Minimum execution time: 51_155_000 picoseconds. - Weight::from_parts(28_947_629, 0) - .saturating_add(Weight::from_parts(0, 17726)) - // Standard Error: 5_808 - .saturating_add(Weight::from_parts(29_448, 0).saturating_mul(r.into())) - // Standard Error: 1_134 - .saturating_add(Weight::from_parts(1_073_890, 0).saturating_mul(s.into())) - // Standard Error: 1_134 - .saturating_add(Weight::from_parts(248_483, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 53_444_000 picoseconds. + Weight::from_parts(32_766_130, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 5_100 + .saturating_add(Weight::from_parts(43_515, 0).saturating_mul(r.into())) + // Standard Error: 996 + .saturating_add(Weight::from_parts(1_079_887, 0).saturating_mul(s.into())) + // Standard Error: 996 + .saturating_add(Weight::from_parts(226_139, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -155,14 +157,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `367 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `13629` - // Minimum execution time: 30_053_000 picoseconds. - Weight::from_parts(30_566_049, 0) - .saturating_add(Weight::from_parts(0, 13629)) - // Standard Error: 22_362 - .saturating_add(Weight::from_parts(27_897, 0).saturating_mul(r.into())) - // Standard Error: 4_363 - .saturating_add(Weight::from_parts(473_323, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 32_602_000 picoseconds. + Weight::from_parts(31_829_317, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 2_017 + .saturating_add(Weight::from_parts(81_328, 0).saturating_mul(r.into())) + // Standard Error: 393 + .saturating_add(Weight::from_parts(463_287, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,13 +176,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `398 + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 27_006_000 picoseconds. - Weight::from_parts(27_888_979, 0) + // Minimum execution time: 29_815_000 picoseconds. + Weight::from_parts(29_295_072, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 5_569 - .saturating_add(Weight::from_parts(44_118, 0).saturating_mul(r.into())) - // Standard Error: 1_086 - .saturating_add(Weight::from_parts(461_409, 0).saturating_mul(x.into())) + // Standard Error: 2_369 + .saturating_add(Weight::from_parts(68_312, 0).saturating_mul(r.into())) + // Standard Error: 462 + .saturating_add(Weight::from_parts(461_311, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -191,11 +193,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_438_000 picoseconds. - Weight::from_parts(7_964_226, 0) + // Minimum execution time: 7_696_000 picoseconds. + Weight::from_parts(8_040_841, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_334 - .saturating_add(Weight::from_parts(104_852, 0).saturating_mul(r.into())) + // Standard Error: 988 + .saturating_add(Weight::from_parts(95_927, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,11 +208,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_590_000 picoseconds. - Weight::from_parts(8_044_244, 0) + // Minimum execution time: 8_085_000 picoseconds. + Weight::from_parts(8_487_047, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_371 - .saturating_add(Weight::from_parts(96_091, 0).saturating_mul(r.into())) + // Standard Error: 1_022 + .saturating_add(Weight::from_parts(90_027, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -221,11 +223,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_539_000 picoseconds. - Weight::from_parts(7_976_798, 0) + // Minimum execution time: 7_819_000 picoseconds. + Weight::from_parts(8_173_926, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 1_330 - .saturating_add(Weight::from_parts(104_027, 0).saturating_mul(r.into())) + // Standard Error: 818 + .saturating_add(Weight::from_parts(93_550, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -238,14 +240,14 @@ impl pallet_identity::WeightInfo for WeightInfo { fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `445 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `13629` - // Minimum execution time: 23_243_000 picoseconds. - Weight::from_parts(23_272_605, 0) - .saturating_add(Weight::from_parts(0, 13629)) - // Standard Error: 5_108 - .saturating_add(Weight::from_parts(60_698, 0).saturating_mul(r.into())) - // Standard Error: 945 - .saturating_add(Weight::from_parts(752_163, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 23_747_000 picoseconds. + Weight::from_parts(23_293_839, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 2_126 + .saturating_add(Weight::from_parts(83_593, 0).saturating_mul(r.into())) + // Standard Error: 393 + .saturating_add(Weight::from_parts(735_523, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -263,16 +265,16 @@ impl pallet_identity::WeightInfo for WeightInfo { fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `21319` - // Minimum execution time: 54_234_000 picoseconds. - Weight::from_parts(33_805_119, 0) - .saturating_add(Weight::from_parts(0, 21319)) - // Standard Error: 4_990 - .saturating_add(Weight::from_parts(30_172, 0).saturating_mul(r.into())) - // Standard Error: 974 - .saturating_add(Weight::from_parts(1_089_293, 0).saturating_mul(s.into())) - // Standard Error: 974 - .saturating_add(Weight::from_parts(227_585, 0).saturating_mul(x.into())) + // Estimated: `11003` + // Minimum execution time: 58_193_000 picoseconds. + Weight::from_parts(39_024_753, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_640 + .saturating_add(Weight::from_parts(3_713, 0).saturating_mul(r.into())) + // Standard Error: 710 + .saturating_add(Weight::from_parts(1_081_392, 0).saturating_mul(s.into())) + // Standard Error: 710 + .saturating_add(Weight::from_parts(225_102, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -287,12 +289,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `475 + s * (36 ±0)` - // Estimated: `21305` - // Minimum execution time: 26_742_000 picoseconds. - Weight::from_parts(31_886_701, 0) - .saturating_add(Weight::from_parts(0, 21305)) - // Standard Error: 1_475 - .saturating_add(Weight::from_parts(62_995, 0).saturating_mul(s.into())) + // Estimated: `11003` + // Minimum execution time: 28_934_000 picoseconds. + Weight::from_parts(33_900_191, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 1_339 + .saturating_add(Weight::from_parts(62_721, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -304,12 +306,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `591 + s * (3 ±0)` - // Estimated: `14582` - // Minimum execution time: 13_510_000 picoseconds. - Weight::from_parts(15_408_702, 0) - .saturating_add(Weight::from_parts(0, 14582)) - // Standard Error: 588 - .saturating_add(Weight::from_parts(17_385, 0).saturating_mul(s.into())) + // Estimated: `11003` + // Minimum execution time: 12_974_000 picoseconds. + Weight::from_parts(15_066_003, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 568 + .saturating_add(Weight::from_parts(16_968, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -323,12 +325,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `638 + s * (35 ±0)` - // Estimated: `21305` - // Minimum execution time: 30_105_000 picoseconds. - Weight::from_parts(33_643_244, 0) - .saturating_add(Weight::from_parts(0, 21305)) - // Standard Error: 1_076 - .saturating_add(Weight::from_parts(52_521, 0).saturating_mul(s.into())) + // Estimated: `11003` + // Minimum execution time: 32_925_000 picoseconds. + Weight::from_parts(35_839_931, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 878 + .saturating_add(Weight::from_parts(49_566, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -336,17 +338,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `564 + s * (37 ±0)` - // Estimated: `10302` - // Minimum execution time: 19_617_000 picoseconds. - Weight::from_parts(21_943_800, 0) - .saturating_add(Weight::from_parts(0, 10302)) - // Standard Error: 959 - .saturating_add(Weight::from_parts(57_187, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `704 + s * (37 ±0)` + // Estimated: `6723` + // Minimum execution time: 24_284_000 picoseconds. + Weight::from_parts(27_032_905, 0) + .saturating_add(Weight::from_parts(0, 6723)) + // Standard Error: 962 + .saturating_add(Weight::from_parts(53_003, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/westend/src/weights/pallet_im_online.rs b/runtime/westend/src/weights/pallet_im_online.rs index bafd08177199..4deb5b754dab 100644 --- a/runtime/westend/src/weights/pallet_im_online.rs +++ b/runtime/westend/src/weights/pallet_im_online.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_im_online`. pub struct WeightInfo(PhantomData); @@ -60,17 +62,17 @@ impl pallet_im_online::WeightInfo for WeightInfo { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `361 + k * (32 ±0)` - // Estimated: `10349676 + k * (64 ±0) + e * (35 ±0)` - // Minimum execution time: 91_179_000 picoseconds. - Weight::from_parts(72_437_018, 0) - .saturating_add(Weight::from_parts(0, 10349676)) - // Standard Error: 280 - .saturating_add(Weight::from_parts(23_055, 0).saturating_mul(k.into())) - // Standard Error: 2_822 - .saturating_add(Weight::from_parts(398_944, 0).saturating_mul(e.into())) + // Estimated: `10024497 + e * (35 ±0) + k * (32 ±0)` + // Minimum execution time: 92_168_000 picoseconds. + Weight::from_parts(72_358_090, 0) + .saturating_add(Weight::from_parts(0, 10024497)) + // Standard Error: 243 + .saturating_add(Weight::from_parts(23_518, 0).saturating_mul(k.into())) + // Standard Error: 2_455 + .saturating_add(Weight::from_parts(393_652, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(k.into())) .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(k.into())) } } diff --git a/runtime/westend/src/weights/pallet_indices.rs b/runtime/westend/src/weights/pallet_indices.rs index 93d065de2430..9ed6be62de96 100644 --- a/runtime/westend/src/weights/pallet_indices.rs +++ b/runtime/westend/src/weights/pallet_indices.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_indices`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3534` - // Minimum execution time: 20_790_000 picoseconds. - Weight::from_parts(21_183_000, 0) + // Minimum execution time: 24_176_000 picoseconds. + Weight::from_parts(24_546_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,10 +66,10 @@ impl pallet_indices::WeightInfo for WeightInfo { fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `341` - // Estimated: `7127` - // Minimum execution time: 27_029_000 picoseconds. - Weight::from_parts(27_302_000, 0) - .saturating_add(Weight::from_parts(0, 7127)) + // Estimated: `3593` + // Minimum execution time: 34_684_000 picoseconds. + Weight::from_parts(35_034_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -77,8 +79,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3534` - // Minimum execution time: 21_830_000 picoseconds. - Weight::from_parts(22_172_000, 0) + // Minimum execution time: 25_025_000 picoseconds. + Weight::from_parts(25_340_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,10 +92,10 @@ impl pallet_indices::WeightInfo for WeightInfo { fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `341` - // Estimated: `7127` - // Minimum execution time: 24_068_000 picoseconds. - Weight::from_parts(24_485_000, 0) - .saturating_add(Weight::from_parts(0, 7127)) + // Estimated: `3593` + // Minimum execution time: 27_375_000 picoseconds. + Weight::from_parts(27_687_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -103,8 +105,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3534` - // Minimum execution time: 24_057_000 picoseconds. - Weight::from_parts(24_556_000, 0) + // Minimum execution time: 27_625_000 picoseconds. + Weight::from_parts(27_852_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/westend/src/weights/pallet_multisig.rs b/runtime/westend/src/weights/pallet_multisig.rs index 128c74aef4ba..766165f74c0e 100644 --- a/runtime/westend/src/weights/pallet_multisig.rs +++ b/runtime/westend/src/weights/pallet_multisig.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_multisig`. pub struct WeightInfo(PhantomData); @@ -50,11 +52,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_946_000 picoseconds. - Weight::from_parts(12_175_340, 0) + // Minimum execution time: 11_765_000 picoseconds. + Weight::from_parts(12_225_372, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 6 - .saturating_add(Weight::from_parts(468, 0).saturating_mul(z.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(499, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -64,13 +66,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `309 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 35_861_000 picoseconds. - Weight::from_parts(30_580_950, 0) + // Minimum execution time: 40_633_000 picoseconds. + Weight::from_parts(35_086_925, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 637 - .saturating_add(Weight::from_parts(62_156, 0).saturating_mul(s.into())) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_208, 0).saturating_mul(z.into())) + // Standard Error: 357 + .saturating_add(Weight::from_parts(62_270, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_193, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -82,13 +84,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `286` // Estimated: `6811` - // Minimum execution time: 26_907_000 picoseconds. - Weight::from_parts(21_329_833, 0) + // Minimum execution time: 27_388_000 picoseconds. + Weight::from_parts(21_636_034, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 416 - .saturating_add(Weight::from_parts(61_251, 0).saturating_mul(s.into())) + // Standard Error: 410 + .saturating_add(Weight::from_parts(63_001, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_161, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_173, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -101,14 +103,14 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `392 + s * (33 ±0)` - // Estimated: `10404` - // Minimum execution time: 41_090_000 picoseconds. - Weight::from_parts(34_147_317, 0) - .saturating_add(Weight::from_parts(0, 10404)) - // Standard Error: 502 - .saturating_add(Weight::from_parts(72_808, 0).saturating_mul(s.into())) + // Estimated: `6811` + // Minimum execution time: 45_439_000 picoseconds. + Weight::from_parts(38_659_430, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 450 + .saturating_add(Weight::from_parts(76_746, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_216, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_224, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -119,11 +121,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 28_261_000 picoseconds. - Weight::from_parts(29_118_127, 0) + // Minimum execution time: 32_127_000 picoseconds. + Weight::from_parts(33_476_746, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 651 - .saturating_add(Weight::from_parts(65_508, 0).saturating_mul(s.into())) + // Standard Error: 491 + .saturating_add(Weight::from_parts(65_620, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -134,11 +136,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `286` // Estimated: `6811` - // Minimum execution time: 18_462_000 picoseconds. - Weight::from_parts(19_616_897, 0) + // Minimum execution time: 19_048_000 picoseconds. + Weight::from_parts(20_014_518, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 486 - .saturating_add(Weight::from_parts(61_566, 0).saturating_mul(s.into())) + // Standard Error: 421 + .saturating_add(Weight::from_parts(60_673, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -149,11 +151,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `458 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 28_788_000 picoseconds. - Weight::from_parts(30_108_689, 0) + // Minimum execution time: 33_739_000 picoseconds. + Weight::from_parts(34_744_158, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 700 - .saturating_add(Weight::from_parts(67_165, 0).saturating_mul(s.into())) + // Standard Error: 532 + .saturating_add(Weight::from_parts(64_913, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/pallet_nomination_pools.rs b/runtime/westend/src/weights/pallet_nomination_pools.rs index 0de728f9dc6c..f6e3d57306cf 100644 --- a/runtime/westend/src/weights/pallet_nomination_pools.rs +++ b/runtime/westend/src/weights/pallet_nomination_pools.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_nomination_pools`. pub struct WeightInfo(PhantomData); @@ -69,6 +71,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -76,11 +80,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn join() -> Weight { // Proof Size summary in bytes: // Measured: `3281` - // Estimated: `52915` - // Minimum execution time: 154_312_000 picoseconds. - Weight::from_parts(156_224_000, 0) - .saturating_add(Weight::from_parts(0, 52915)) - .saturating_add(T::DbWeight::get().reads(18)) + // Estimated: `8877` + // Minimum execution time: 177_602_000 picoseconds. + Weight::from_parts(178_886_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().writes(12)) } /// Storage: NominationPools PoolMembers (r:1 w:1) @@ -99,6 +103,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -106,11 +112,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn bond_extra_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `3291` - // Estimated: `49550` - // Minimum execution time: 152_354_000 picoseconds. - Weight::from_parts(153_461_000, 0) - .saturating_add(Weight::from_parts(0, 49550)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `8877` + // Minimum execution time: 175_098_000 picoseconds. + Weight::from_parts(176_107_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(12)) } /// Storage: NominationPools ClaimPermissions (r:1 w:0) @@ -131,6 +137,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:2 w:2) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -138,11 +146,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn bond_extra_other() -> Weight { // Proof Size summary in bytes: // Measured: `3186` - // Estimated: `50427` - // Minimum execution time: 163_952_000 picoseconds. - Weight::from_parts(164_854_000, 0) - .saturating_add(Weight::from_parts(0, 50427)) - .saturating_add(T::DbWeight::get().reads(15)) + // Estimated: `8799` + // Minimum execution time: 201_424_000 picoseconds. + Weight::from_parts(202_697_000, 0) + .saturating_add(Weight::from_parts(0, 8799)) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(12)) } /// Storage: NominationPools ClaimPermissions (r:1 w:0) @@ -160,10 +168,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn claim_payout() -> Weight { // Proof Size summary in bytes: // Measured: `1137` - // Estimated: `20012` - // Minimum execution time: 58_997_000 picoseconds. - Weight::from_parts(60_025_000, 0) - .saturating_add(Weight::from_parts(0, 20012)) + // Estimated: `4182` + // Minimum execution time: 75_191_000 picoseconds. + Weight::from_parts(76_431_000, 0) + .saturating_add(Weight::from_parts(0, 4182)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -189,6 +197,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -200,11 +210,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn unbond() -> Weight { // Proof Size summary in bytes: // Measured: `3560` - // Estimated: `59175` - // Minimum execution time: 157_363_000 picoseconds. - Weight::from_parts(158_903_000, 0) - .saturating_add(Weight::from_parts(0, 59175)) - .saturating_add(T::DbWeight::get().reads(19)) + // Estimated: `8877` + // Minimum execution time: 159_933_000 picoseconds. + Weight::from_parts(161_356_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(13)) } /// Storage: NominationPools BondedPools (r:1 w:0) @@ -217,17 +227,19 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1614` - // Estimated: `18031` - // Minimum execution time: 52_740_000 picoseconds. - Weight::from_parts(54_643_573, 0) - .saturating_add(Weight::from_parts(0, 18031)) - // Standard Error: 1_401 - .saturating_add(Weight::from_parts(3_342, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `4764` + // Minimum execution time: 60_244_000 picoseconds. + Weight::from_parts(61_491_734, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 728 + .saturating_add(Weight::from_parts(8_597, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: NominationPools PoolMembers (r:1 w:1) @@ -244,6 +256,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: NominationPools CounterForPoolMembers (r:1 w:1) @@ -254,13 +268,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2042` - // Estimated: `31021` - // Minimum execution time: 101_534_000 picoseconds. - Weight::from_parts(103_720_636, 0) - .saturating_add(Weight::from_parts(0, 31021)) - // Standard Error: 1_467 - .saturating_add(Weight::from_parts(24_504, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(9)) + // Estimated: `4764` + // Minimum execution time: 123_798_000 picoseconds. + Weight::from_parts(125_782_942, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 1_097 + .saturating_add(Weight::from_parts(13_903, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: NominationPools PoolMembers (r:1 w:1) @@ -285,6 +299,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: NominationPools CounterForPoolMembers (r:1 w:1) /// Proof: NominationPools CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: NominationPools ReversePoolIdLookup (r:1 w:1) @@ -306,16 +322,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Storage: NominationPools ClaimPermissions (r:0 w:1) /// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(s: u32, ) -> Weight { + fn withdraw_unbonded_kill(_s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2398` - // Estimated: `63777` - // Minimum execution time: 160_704_000 picoseconds. - Weight::from_parts(163_586_296, 0) - .saturating_add(Weight::from_parts(0, 63777)) - // Standard Error: 2_517 - .saturating_add(Weight::from_parts(1_718, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(20)) + // Estimated: `6196` + // Minimum execution time: 206_441_000 picoseconds. + Weight::from_parts(209_614_440, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(21)) .saturating_add(T::DbWeight::get().writes(18)) } /// Storage: NominationPools LastPoolId (r:1 w:1) @@ -348,6 +362,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: NominationPools RewardPools (r:1 w:1) /// Proof: NominationPools RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: NominationPools CounterForRewardPools (r:1 w:1) @@ -363,11 +379,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn create() -> Weight { // Proof Size summary in bytes: // Measured: `1222` - // Estimated: `51890` - // Minimum execution time: 140_215_000 picoseconds. - Weight::from_parts(141_417_000, 0) - .saturating_add(Weight::from_parts(0, 51890)) - .saturating_add(T::DbWeight::get().reads(21)) + // Estimated: `6196` + // Minimum execution time: 180_245_000 picoseconds. + Weight::from_parts(181_550_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(22)) .saturating_add(T::DbWeight::get().writes(15)) } /// Storage: NominationPools BondedPools (r:1 w:0) @@ -398,12 +414,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1779` - // Estimated: `33934 + n * (2520 ±0)` - // Minimum execution time: 65_371_000 picoseconds. - Weight::from_parts(65_488_837, 0) - .saturating_add(Weight::from_parts(0, 33934)) - // Standard Error: 8_064 - .saturating_add(Weight::from_parts(1_355_723, 0).saturating_mul(n.into())) + // Estimated: `4556 + n * (2520 ±0)` + // Minimum execution time: 65_211_000 picoseconds. + Weight::from_parts(65_260_516, 0) + .saturating_add(Weight::from_parts(0, 4556)) + // Standard Error: 4_245 + .saturating_add(Weight::from_parts(1_345_385, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -418,10 +434,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_state() -> Weight { // Proof Size summary in bytes: // Measured: `1367` - // Estimated: `11778` - // Minimum execution time: 36_303_000 picoseconds. - Weight::from_parts(36_810_000, 0) - .saturating_add(Weight::from_parts(0, 11778)) + // Estimated: `4556` + // Minimum execution time: 36_015_000 picoseconds. + Weight::from_parts(36_792_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -435,12 +451,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_metadata(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `497` - // Estimated: `8909` - // Minimum execution time: 14_287_000 picoseconds. - Weight::from_parts(14_970_241, 0) - .saturating_add(Weight::from_parts(0, 8909)) - // Standard Error: 123 - .saturating_add(Weight::from_parts(806, 0).saturating_mul(n.into())) + // Estimated: `3735` + // Minimum execution time: 14_629_000 picoseconds. + Weight::from_parts(15_074_709, 0) + .saturating_add(Weight::from_parts(0, 3735)) + // Standard Error: 300 + .saturating_add(Weight::from_parts(2_509, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -460,8 +476,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_120_000 picoseconds. - Weight::from_parts(6_585_000, 0) + // Minimum execution time: 6_595_000 picoseconds. + Weight::from_parts(6_793_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -471,8 +487,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `497` // Estimated: `3685` - // Minimum execution time: 20_088_000 picoseconds. - Weight::from_parts(20_451_000, 0) + // Minimum execution time: 19_506_000 picoseconds. + Weight::from_parts(19_966_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -498,10 +514,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn chill() -> Weight { // Proof Size summary in bytes: // Measured: `1942` - // Estimated: `29455` - // Minimum execution time: 63_514_000 picoseconds. - Weight::from_parts(64_160_000, 0) - .saturating_add(Weight::from_parts(0, 29455)) + // Estimated: `4556` + // Minimum execution time: 63_792_000 picoseconds. + Weight::from_parts(64_545_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -516,10 +532,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_commission() -> Weight { // Proof Size summary in bytes: // Measured: `736` - // Estimated: `12324` - // Minimum execution time: 33_264_000 picoseconds. - Weight::from_parts(33_633_000, 0) - .saturating_add(Weight::from_parts(0, 12324)) + // Estimated: `3685` + // Minimum execution time: 32_651_000 picoseconds. + Weight::from_parts(33_117_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -529,8 +545,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `537` // Estimated: `3685` - // Minimum execution time: 19_288_000 picoseconds. - Weight::from_parts(19_539_000, 0) + // Minimum execution time: 18_584_000 picoseconds. + Weight::from_parts(19_003_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -541,8 +557,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `497` // Estimated: `3685` - // Minimum execution time: 20_076_000 picoseconds. - Weight::from_parts(20_436_000, 0) + // Minimum execution time: 19_566_000 picoseconds. + Weight::from_parts(19_904_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -554,10 +570,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_claim_permission() -> Weight { // Proof Size summary in bytes: // Measured: `508` - // Estimated: `7688` - // Minimum execution time: 14_763_000 picoseconds. - Weight::from_parts(14_964_000, 0) - .saturating_add(Weight::from_parts(0, 7688)) + // Estimated: `4182` + // Minimum execution time: 14_518_000 picoseconds. + Weight::from_parts(14_885_000, 0) + .saturating_add(Weight::from_parts(0, 4182)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -572,10 +588,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn claim_commission() -> Weight { // Proof Size summary in bytes: // Measured: `934` - // Estimated: `12324` - // Minimum execution time: 46_959_000 picoseconds. - Weight::from_parts(48_242_000, 0) - .saturating_add(Weight::from_parts(0, 12324)) + // Estimated: `3685` + // Minimum execution time: 63_054_000 picoseconds. + Weight::from_parts(63_901_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/westend/src/weights/pallet_preimage.rs b/runtime/westend/src/weights/pallet_preimage.rs index fc4f789cdde4..ec78c12eb67b 100644 --- a/runtime/westend/src/weights/pallet_preimage.rs +++ b/runtime/westend/src/weights/pallet_preimage.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); @@ -54,11 +56,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `181` // Estimated: `3556` - // Minimum execution time: 25_709_000 picoseconds. - Weight::from_parts(25_961_000, 0) + // Minimum execution time: 29_415_000 picoseconds. + Weight::from_parts(29_677_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_965, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_963, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -71,11 +73,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 16_760_000 picoseconds. - Weight::from_parts(16_864_000, 0) + // Minimum execution time: 16_727_000 picoseconds. + Weight::from_parts(16_964_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_964, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_961, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,11 +90,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 15_781_000 picoseconds. - Weight::from_parts(16_028_000, 0) + // Minimum execution time: 16_099_000 picoseconds. + Weight::from_parts(16_245_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_963, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_959, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -104,8 +106,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `327` // Estimated: `3556` - // Minimum execution time: 33_179_000 picoseconds. - Weight::from_parts(34_017_000, 0) + // Minimum execution time: 36_565_000 picoseconds. + Weight::from_parts(37_724_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -118,8 +120,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3556` - // Minimum execution time: 21_656_000 picoseconds. - Weight::from_parts(23_099_000, 0) + // Minimum execution time: 21_884_000 picoseconds. + Weight::from_parts(23_161_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -130,8 +132,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `226` // Estimated: `3556` - // Minimum execution time: 19_328_000 picoseconds. - Weight::from_parts(20_463_000, 0) + // Minimum execution time: 20_264_000 picoseconds. + Weight::from_parts(20_823_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -142,8 +144,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3556` - // Minimum execution time: 12_354_000 picoseconds. - Weight::from_parts(13_294_000, 0) + // Minimum execution time: 12_245_000 picoseconds. + Weight::from_parts(13_095_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -154,8 +156,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `80` // Estimated: `3556` - // Minimum execution time: 13_608_000 picoseconds. - Weight::from_parts(14_055_000, 0) + // Minimum execution time: 14_170_000 picoseconds. + Weight::from_parts(14_758_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -166,8 +168,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 8_665_000 picoseconds. - Weight::from_parts(9_081_000, 0) + // Minimum execution time: 9_415_000 picoseconds. + Weight::from_parts(9_612_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -180,8 +182,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3556` - // Minimum execution time: 19_930_000 picoseconds. - Weight::from_parts(20_442_000, 0) + // Minimum execution time: 20_587_000 picoseconds. + Weight::from_parts(21_735_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -192,8 +194,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 8_668_000 picoseconds. - Weight::from_parts(8_889_000, 0) + // Minimum execution time: 8_660_000 picoseconds. + Weight::from_parts(8_940_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -204,8 +206,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 8_461_000 picoseconds. - Weight::from_parts(8_830_000, 0) + // Minimum execution time: 8_719_000 picoseconds. + Weight::from_parts(9_140_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/westend/src/weights/pallet_proxy.rs b/runtime/westend/src/weights/pallet_proxy.rs index 3bbe23624b0a..9afd6c82fb28 100644 --- a/runtime/westend/src/weights/pallet_proxy.rs +++ b/runtime/westend/src/weights/pallet_proxy.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); @@ -52,11 +54,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 15_306_000 picoseconds. - Weight::from_parts(15_970_517, 0) + // Minimum execution time: 16_322_000 picoseconds. + Weight::from_parts(16_647_215, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_200 - .saturating_add(Weight::from_parts(35_584, 0).saturating_mul(p.into())) + // Standard Error: 665 + .saturating_add(Weight::from_parts(35_384, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -70,14 +72,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `554 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `13997` - // Minimum execution time: 36_735_000 picoseconds. - Weight::from_parts(38_433_418, 0) - .saturating_add(Weight::from_parts(0, 13997)) - // Standard Error: 4_494 - .saturating_add(Weight::from_parts(112_943, 0).saturating_mul(a.into())) - // Standard Error: 4_643 - .saturating_add(Weight::from_parts(12_633, 0).saturating_mul(p.into())) + // Estimated: `5698` + // Minimum execution time: 40_900_000 picoseconds. + Weight::from_parts(41_543_773, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 4_079 + .saturating_add(Weight::from_parts(103_858, 0).saturating_mul(a.into())) + // Standard Error: 4_214 + .saturating_add(Weight::from_parts(21_027, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -90,12 +92,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + a * (68 ±0)` - // Estimated: `9291` - // Minimum execution time: 21_549_000 picoseconds. - Weight::from_parts(22_450_104, 0) - .saturating_add(Weight::from_parts(0, 9291)) - // Standard Error: 1_348 - .saturating_add(Weight::from_parts(140_391, 0).saturating_mul(a.into())) + // Estimated: `5698` + // Minimum execution time: 24_733_000 picoseconds. + Weight::from_parts(25_557_471, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 1_033 + .saturating_add(Weight::from_parts(133_245, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -108,12 +110,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `469 + a * (68 ±0)` - // Estimated: `9291` - // Minimum execution time: 21_050_000 picoseconds. - Weight::from_parts(22_414_628, 0) - .saturating_add(Weight::from_parts(0, 9291)) - // Standard Error: 1_435 - .saturating_add(Weight::from_parts(143_522, 0).saturating_mul(a.into())) + // Estimated: `5698` + // Minimum execution time: 24_410_000 picoseconds. + Weight::from_parts(25_514_144, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 1_109 + .saturating_add(Weight::from_parts(131_095, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -128,14 +130,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `486 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `13997` - // Minimum execution time: 29_626_000 picoseconds. - Weight::from_parts(33_655_611, 0) - .saturating_add(Weight::from_parts(0, 13997)) - // Standard Error: 4_445 - .saturating_add(Weight::from_parts(132_160, 0).saturating_mul(a.into())) - // Standard Error: 4_593 - .saturating_add(Weight::from_parts(25_266, 0).saturating_mul(p.into())) + // Estimated: `5698` + // Minimum execution time: 34_136_000 picoseconds. + Weight::from_parts(37_134_885, 0) + .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 4_280 + .saturating_add(Weight::from_parts(124_510, 0).saturating_mul(a.into())) + // Standard Error: 4_423 + .saturating_add(Weight::from_parts(18_117, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -146,11 +148,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_666_000 picoseconds. - Weight::from_parts(23_370_832, 0) + // Minimum execution time: 25_195_000 picoseconds. + Weight::from_parts(25_886_778, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 4_012 - .saturating_add(Weight::from_parts(60_931, 0).saturating_mul(p.into())) + // Standard Error: 840 + .saturating_add(Weight::from_parts(54_308, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,11 +163,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 21_903_000 picoseconds. - Weight::from_parts(23_684_579, 0) + // Minimum execution time: 25_191_000 picoseconds. + Weight::from_parts(26_135_295, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 3_512 - .saturating_add(Weight::from_parts(40_111, 0).saturating_mul(p.into())) + // Standard Error: 1_592 + .saturating_add(Weight::from_parts(56_159, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -176,11 +178,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 18_131_000 picoseconds. - Weight::from_parts(18_751_108, 0) + // Minimum execution time: 22_472_000 picoseconds. + Weight::from_parts(23_237_113, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_194 - .saturating_add(Weight::from_parts(22_234, 0).saturating_mul(p.into())) + // Standard Error: 956 + .saturating_add(Weight::from_parts(23_140, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -191,11 +193,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `239` // Estimated: `4706` - // Minimum execution time: 24_091_000 picoseconds. - Weight::from_parts(24_920_852, 0) + // Minimum execution time: 27_176_000 picoseconds. + Weight::from_parts(27_923_720, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_419 - .saturating_add(Weight::from_parts(10_596, 0).saturating_mul(p.into())) + // Standard Error: 2_706 + .saturating_add(Weight::from_parts(2_006, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,11 +208,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `264 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 18_969_000 picoseconds. - Weight::from_parts(19_639_040, 0) + // Minimum execution time: 23_409_000 picoseconds. + Weight::from_parts(23_984_022, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_197 - .saturating_add(Weight::from_parts(21_107, 0).saturating_mul(p.into())) + // Standard Error: 768 + .saturating_add(Weight::from_parts(29_138, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/pallet_scheduler.rs b/runtime/westend/src/weights/pallet_scheduler.rs index a278c5e49b55..0a58d43373d5 100644 --- a/runtime/westend/src/weights/pallet_scheduler.rs +++ b/runtime/westend/src/weights/pallet_scheduler.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69` // Estimated: `1489` - // Minimum execution time: 3_930_000 picoseconds. - Weight::from_parts(4_064_000, 0) + // Minimum execution time: 3_925_000 picoseconds. + Weight::from_parts(4_049_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,11 +66,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_683_000 picoseconds. - Weight::from_parts(6_979_951, 0) + // Minimum execution time: 3_616_000 picoseconds. + Weight::from_parts(6_545_930, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_002 - .saturating_add(Weight::from_parts(741_311, 0).saturating_mul(s.into())) + // Standard Error: 1_811 + .saturating_add(Weight::from_parts(759_674, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,8 +78,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_650_000 picoseconds. - Weight::from_parts(5_828_000, 0) + // Minimum execution time: 5_664_000 picoseconds. + Weight::from_parts(5_801_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -88,12 +90,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `217 + s * (1 ±0)` - // Estimated: `7238 + s * (1 ±0)` - // Minimum execution time: 19_615_000 picoseconds. - Weight::from_parts(19_866_000, 0) - .saturating_add(Weight::from_parts(0, 7238)) + // Estimated: `3682 + s * (1 ±0)` + // Minimum execution time: 19_668_000 picoseconds. + Weight::from_parts(19_939_000, 0) + .saturating_add(Weight::from_parts(0, 3682)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_170, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_165, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -104,8 +106,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_074_000 picoseconds. - Weight::from_parts(7_208_000, 0) + // Minimum execution time: 7_426_000 picoseconds. + Weight::from_parts(7_586_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,24 +115,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_610_000 picoseconds. - Weight::from_parts(5_747_000, 0) + // Minimum execution time: 5_731_000 picoseconds. + Weight::from_parts(5_830_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_678_000 picoseconds. - Weight::from_parts(2_731_000, 0) + // Minimum execution time: 2_804_000 picoseconds. + Weight::from_parts(2_916_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_607_000 picoseconds. - Weight::from_parts(2_729_000, 0) + // Minimum execution time: 2_875_000 picoseconds. + Weight::from_parts(2_965_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -140,11 +142,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 13_285_000 picoseconds. - Weight::from_parts(16_498_417, 0) + // Minimum execution time: 13_156_000 picoseconds. + Weight::from_parts(16_260_948, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_115 - .saturating_add(Weight::from_parts(748_025, 0).saturating_mul(s.into())) + // Standard Error: 1_731 + .saturating_add(Weight::from_parts(752_135, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -157,11 +159,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 17_406_000 picoseconds. - Weight::from_parts(17_326_158, 0) + // Minimum execution time: 17_676_000 picoseconds. + Weight::from_parts(17_054_855, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_389 - .saturating_add(Weight::from_parts(1_302_661, 0).saturating_mul(s.into())) + // Standard Error: 1_659 + .saturating_add(Weight::from_parts(1_347_768, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -173,12 +175,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `293 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 16_343_000 picoseconds. - Weight::from_parts(20_629_176, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 2_969 - .saturating_add(Weight::from_parts(777_170, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 16_396_000 picoseconds. + Weight::from_parts(20_444_459, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_779 + .saturating_add(Weight::from_parts(783_182, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -190,12 +192,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `319 + s * (185 ±0)` - // Estimated: `45941` - // Minimum execution time: 19_160_000 picoseconds. - Weight::from_parts(19_697_985, 0) - .saturating_add(Weight::from_parts(0, 45941)) - // Standard Error: 2_666 - .saturating_add(Weight::from_parts(1_319_035, 0).saturating_mul(s.into())) + // Estimated: `42428` + // Minimum execution time: 19_204_000 picoseconds. + Weight::from_parts(19_428_890, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_104 + .saturating_add(Weight::from_parts(1_359_801, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/westend/src/weights/pallet_session.rs b/runtime/westend/src/weights/pallet_session.rs index e911c61b8b37..fed4eba53e68 100644 --- a/runtime/westend/src/weights/pallet_session.rs +++ b/runtime/westend/src/weights/pallet_session.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); @@ -54,10 +56,10 @@ impl pallet_session::WeightInfo for WeightInfo { fn set_keys() -> Weight { // Proof Size summary in bytes: // Measured: `1921` - // Estimated: `27703` - // Minimum execution time: 51_536_000 picoseconds. - Weight::from_parts(51_997_000, 0) - .saturating_add(Weight::from_parts(0, 27703)) + // Estimated: `17761` + // Minimum execution time: 51_885_000 picoseconds. + Weight::from_parts(52_480_000, 0) + .saturating_add(Weight::from_parts(0, 17761)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -70,10 +72,10 @@ impl pallet_session::WeightInfo for WeightInfo { fn purge_keys() -> Weight { // Proof Size summary in bytes: // Measured: `1785` - // Estimated: `11591` - // Minimum execution time: 37_181_000 picoseconds. - Weight::from_parts(38_051_000, 0) - .saturating_add(Weight::from_parts(0, 11591)) + // Estimated: `5250` + // Minimum execution time: 37_081_000 picoseconds. + Weight::from_parts(37_804_000, 0) + .saturating_add(Weight::from_parts(0, 5250)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/westend/src/weights/pallet_staking.rs b/runtime/westend/src/weights/pallet_staking.rs index 549dad70d00b..4115d770df4d 100644 --- a/runtime/westend/src/weights/pallet_staking.rs +++ b/runtime/westend/src/weights/pallet_staking.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_staking`. pub struct WeightInfo(PhantomData); @@ -53,16 +55,18 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:1) /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) fn bond() -> Weight { // Proof Size summary in bytes: // Measured: `1014` - // Estimated: `14346` - // Minimum execution time: 41_121_000 picoseconds. - Weight::from_parts(41_849_000, 0) - .saturating_add(Weight::from_parts(0, 14346)) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `4764` + // Minimum execution time: 52_336_000 picoseconds. + Weight::from_parts(53_637_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Staking Bonded (r:1 w:0) @@ -71,6 +75,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) /// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) /// Storage: VoterList ListBags (r:2 w:2) @@ -78,11 +84,11 @@ impl pallet_staking::WeightInfo for WeightInfo { fn bond_extra() -> Weight { // Proof Size summary in bytes: // Measured: `1959` - // Estimated: `27838` - // Minimum execution time: 81_412_000 picoseconds. - Weight::from_parts(82_152_000, 0) - .saturating_add(Weight::from_parts(0, 27838)) - .saturating_add(T::DbWeight::get().reads(8)) + // Estimated: `8877` + // Minimum execution time: 92_722_000 picoseconds. + Weight::from_parts(93_621_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: Staking Ledger (r:1 w:1) @@ -95,6 +101,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) @@ -106,11 +114,11 @@ impl pallet_staking::WeightInfo for WeightInfo { fn unbond() -> Weight { // Proof Size summary in bytes: // Measured: `2166` - // Estimated: `38444` - // Minimum execution time: 88_844_000 picoseconds. - Weight::from_parts(89_714_000, 0) - .saturating_add(Weight::from_parts(0, 38444)) - .saturating_add(T::DbWeight::get().reads(12)) + // Estimated: `8877` + // Minimum execution time: 95_067_000 picoseconds. + Weight::from_parts(95_945_000, 0) + .saturating_add(Weight::from_parts(0, 8877)) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: Staking Ledger (r:1 w:1) @@ -119,19 +127,21 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `981` - // Estimated: `14402` - // Minimum execution time: 35_637_000 picoseconds. - Weight::from_parts(37_493_225, 0) - .saturating_add(Weight::from_parts(0, 14402)) - // Standard Error: 792 - .saturating_add(Weight::from_parts(11_820, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `4764` + // Minimum execution time: 45_003_000 picoseconds. + Weight::from_parts(46_250_797, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 467 + .saturating_add(Weight::from_parts(13_886, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Staking Ledger (r:1 w:1) @@ -158,6 +168,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:1) /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) /// Storage: Staking SpanSlash (r:0 w:100) @@ -166,13 +178,13 @@ impl pallet_staking::WeightInfo for WeightInfo { fn withdraw_unbonded_kill(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2221 + s * (4 ±0)` - // Estimated: `43926 + s * (4 ±0)` - // Minimum execution time: 77_766_000 picoseconds. - Weight::from_parts(82_537_686, 0) - .saturating_add(Weight::from_parts(0, 43926)) - // Standard Error: 1_742 - .saturating_add(Weight::from_parts(1_142_781, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(13)) + // Estimated: `6248 + s * (4 ±0)` + // Minimum execution time: 90_735_000 picoseconds. + Weight::from_parts(95_963_510, 0) + .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 1_930 + .saturating_add(Weight::from_parts(1_176_761, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into())) @@ -202,10 +214,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn validate() -> Weight { // Proof Size summary in bytes: // Measured: `1343` - // Estimated: `30249` - // Minimum execution time: 56_478_000 picoseconds. - Weight::from_parts(57_836_000, 0) - .saturating_add(Weight::from_parts(0, 30249)) + // Estimated: `4556` + // Minimum execution time: 57_951_000 picoseconds. + Weight::from_parts(58_472_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -217,12 +229,12 @@ impl pallet_staking::WeightInfo for WeightInfo { fn kick(k: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1223 + k * (569 ±0)` - // Estimated: `5546 + k * (3033 ±0)` - // Minimum execution time: 29_151_000 picoseconds. - Weight::from_parts(28_354_989, 0) - .saturating_add(Weight::from_parts(0, 5546)) - // Standard Error: 7_649 - .saturating_add(Weight::from_parts(7_790_372, 0).saturating_mul(k.into())) + // Estimated: `4556 + k * (3033 ±0)` + // Minimum execution time: 29_575_000 picoseconds. + Weight::from_parts(28_851_537, 0) + .saturating_add(Weight::from_parts(0, 4556)) + // Standard Error: 5_878 + .saturating_add(Weight::from_parts(7_942_901, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -254,12 +266,12 @@ impl pallet_staking::WeightInfo for WeightInfo { fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1819 + n * (105 ±0)` - // Estimated: `32878 + n * (2520 ±0)` - // Minimum execution time: 64_251_000 picoseconds. - Weight::from_parts(61_920_029, 0) - .saturating_add(Weight::from_parts(0, 32878)) - // Standard Error: 14_227 - .saturating_add(Weight::from_parts(3_262_288, 0).saturating_mul(n.into())) + // Estimated: `6248 + n * (2520 ±0)` + // Minimum execution time: 65_909_000 picoseconds. + Weight::from_parts(63_413_953, 0) + .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 15_253 + .saturating_add(Weight::from_parts(3_402_714, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -282,10 +294,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn chill() -> Weight { // Proof Size summary in bytes: // Measured: `1675` - // Estimated: `24862` - // Minimum execution time: 57_179_000 picoseconds. - Weight::from_parts(57_487_000, 0) - .saturating_add(Weight::from_parts(0, 24862)) + // Estimated: `6248` + // Minimum execution time: 58_353_000 picoseconds. + Weight::from_parts(58_980_000, 0) + .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -297,8 +309,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `771` // Estimated: `4556` - // Minimum execution time: 14_249_000 picoseconds. - Weight::from_parts(14_529_000, 0) + // Minimum execution time: 14_755_000 picoseconds. + Weight::from_parts(14_906_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -310,10 +322,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn set_controller() -> Weight { // Proof Size summary in bytes: // Measured: `870` - // Estimated: `11659` - // Minimum execution time: 22_705_000 picoseconds. - Weight::from_parts(22_908_000, 0) - .saturating_add(Weight::from_parts(0, 11659)) + // Estimated: `8122` + // Minimum execution time: 22_901_000 picoseconds. + Weight::from_parts(23_323_000, 0) + .saturating_add(Weight::from_parts(0, 8122)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -323,8 +335,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_204_000 picoseconds. - Weight::from_parts(3_390_000, 0) + // Minimum execution time: 3_421_000 picoseconds. + Weight::from_parts(3_525_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -334,8 +346,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_653_000 picoseconds. - Weight::from_parts(11_918_000, 0) + // Minimum execution time: 11_866_000 picoseconds. + Weight::from_parts(12_205_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -345,8 +357,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_610_000 picoseconds. - Weight::from_parts(11_795_000, 0) + // Minimum execution time: 11_854_000 picoseconds. + Weight::from_parts(12_032_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -356,8 +368,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_507_000 picoseconds. - Weight::from_parts(11_885_000, 0) + // Minimum execution time: 11_844_000 picoseconds. + Weight::from_parts(12_103_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -368,11 +380,11 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_482_000 picoseconds. - Weight::from_parts(3_702_653, 0) + // Minimum execution time: 3_655_000 picoseconds. + Weight::from_parts(3_878_546, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 29 - .saturating_add(Weight::from_parts(11_927, 0).saturating_mul(v.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(11_573, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Staking Bonded (r:1 w:1) @@ -395,6 +407,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Ledger (r:0 w:1) /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:1) @@ -405,13 +419,13 @@ impl pallet_staking::WeightInfo for WeightInfo { fn force_unstake(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1947 + s * (4 ±0)` - // Estimated: `37607 + s * (4 ±0)` - // Minimum execution time: 69_974_000 picoseconds. - Weight::from_parts(75_615_421, 0) - .saturating_add(Weight::from_parts(0, 37607)) - // Standard Error: 1_940 - .saturating_add(Weight::from_parts(1_131_655, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(11)) + // Estimated: `6248 + s * (4 ±0)` + // Minimum execution time: 83_069_000 picoseconds. + Weight::from_parts(88_496_226, 0) + .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 1_819 + .saturating_add(Weight::from_parts(1_176_540, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into())) @@ -423,11 +437,11 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `66606` // Estimated: `70071` - // Minimum execution time: 114_444_000 picoseconds. - Weight::from_parts(820_259_020, 0) + // Minimum execution time: 115_154_000 picoseconds. + Weight::from_parts(911_539_350, 0) .saturating_add(Weight::from_parts(0, 70071)) - // Standard Error: 51_225 - .saturating_add(Weight::from_parts(4_292_664, 0).saturating_mul(s.into())) + // Standard Error: 57_910 + .saturating_add(Weight::from_parts(4_892_702, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -453,17 +467,17 @@ impl pallet_staking::WeightInfo for WeightInfo { fn payout_stakers_dead_controller(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `5773 + n * (151 ±0)` - // Estimated: `40886 + n * (8030 ±1)` - // Minimum execution time: 70_311_000 picoseconds. - Weight::from_parts(90_196_758, 0) - .saturating_add(Weight::from_parts(0, 40886)) - // Standard Error: 23_128 - .saturating_add(Weight::from_parts(24_730_184, 0).saturating_mul(n.into())) + // Estimated: `8579 + n * (2603 ±0)` + // Minimum execution time: 74_016_000 picoseconds. + Weight::from_parts(93_561_648, 0) + .saturating_add(Weight::from_parts(0, 8579)) + // Standard Error: 24_084 + .saturating_add(Weight::from_parts(27_227_255, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 8030).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) } /// Storage: Staking CurrentEra (r:1 w:0) /// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -485,26 +499,30 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:65 w:65) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:65 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `n` is `[0, 64]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `9389 + n * (403 ±0)` - // Estimated: `51408 + n * (15910 ±0)` - // Minimum execution time: 86_241_000 picoseconds. - Weight::from_parts(113_571_222, 0) - .saturating_add(Weight::from_parts(0, 51408)) - // Standard Error: 31_864 - .saturating_add(Weight::from_parts(32_379_137, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) + // Estimated: `11458 + n * (3774 ±0)` + // Minimum execution time: 97_908_000 picoseconds. + Weight::from_parts(125_462_913, 0) + .saturating_add(Weight::from_parts(0, 11458)) + // Standard Error: 37_213 + .saturating_add(Weight::from_parts(42_531_734, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 15910).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3774).saturating_mul(n.into())) } /// Storage: Staking Ledger (r:1 w:1) /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: VoterList ListNodes (r:3 w:3) @@ -517,13 +535,13 @@ impl pallet_staking::WeightInfo for WeightInfo { fn rebond(l: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1960 + l * (5 ±0)` - // Estimated: `31431` - // Minimum execution time: 80_570_000 picoseconds. - Weight::from_parts(82_037_546, 0) - .saturating_add(Weight::from_parts(0, 31431)) - // Standard Error: 3_888 - .saturating_add(Weight::from_parts(44_507, 0).saturating_mul(l.into())) - .saturating_add(T::DbWeight::get().reads(9)) + // Estimated: `8877` + // Minimum execution time: 87_018_000 picoseconds. + Weight::from_parts(88_129_314, 0) + .saturating_add(Weight::from_parts(0, 8877)) + // Standard Error: 1_585 + .saturating_add(Weight::from_parts(31_208, 0).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: System Account (r:1 w:1) @@ -548,6 +566,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Staking Payee (r:0 w:1) /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) /// Storage: Staking SpanSlash (r:0 w:100) @@ -556,13 +576,13 @@ impl pallet_staking::WeightInfo for WeightInfo { fn reap_stash(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2221 + s * (4 ±0)` - // Estimated: `42442 + s * (4 ±0)` - // Minimum execution time: 82_153_000 picoseconds. - Weight::from_parts(84_335_737, 0) - .saturating_add(Weight::from_parts(0, 42442)) - // Standard Error: 2_900 - .saturating_add(Weight::from_parts(1_142_433, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(12)) + // Estimated: `6248 + s * (4 ±0)` + // Minimum execution time: 96_815_000 picoseconds. + Weight::from_parts(97_067_258, 0) + .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 1_831 + .saturating_add(Weight::from_parts(1_174_608, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into())) @@ -607,22 +627,22 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + v * (3594 ±0) + n * (716 ±0)` - // Estimated: `482816 + v * (16697 ±0) + n * (12755 ±0)` - // Minimum execution time: 487_856_000 picoseconds. - Weight::from_parts(489_075_000, 0) - .saturating_add(Weight::from_parts(0, 482816)) - // Standard Error: 1_844_556 - .saturating_add(Weight::from_parts(59_330_541, 0).saturating_mul(v.into())) - // Standard Error: 183_799 - .saturating_add(Weight::from_parts(16_158_393, 0).saturating_mul(n.into())) + // Measured: `0 + n * (716 ±0) + v * (3594 ±0)` + // Estimated: `456136 + n * (3566 ±0) + v * (3566 ±0)` + // Minimum execution time: 499_246_000 picoseconds. + Weight::from_parts(501_512_000, 0) + .saturating_add(Weight::from_parts(0, 456136)) + // Standard Error: 1_909_272 + .saturating_add(Weight::from_parts(60_802_444, 0).saturating_mul(v.into())) + // Standard Error: 190_248 + .saturating_add(Weight::from_parts(16_804_385, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(185)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 16697).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 12755).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into())) } /// Storage: VoterList CounterForListNodes (r:1 w:0) /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -646,21 +666,21 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[500, 1000]`. fn get_npos_voters(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3069 + v * (391 ±0) + n * (907 ±0)` - // Estimated: `464108 + v * (14295 ±0) + n * (11775 ±0)` - // Minimum execution time: 31_319_166_000 picoseconds. - Weight::from_parts(31_475_122_000, 0) - .saturating_add(Weight::from_parts(0, 464108)) - // Standard Error: 345_453 - .saturating_add(Weight::from_parts(4_673_087, 0).saturating_mul(v.into())) - // Standard Error: 345_453 - .saturating_add(Weight::from_parts(3_110_380, 0).saturating_mul(n.into())) + // Measured: `3069 + n * (907 ±0) + v * (391 ±0)` + // Estimated: `456136 + n * (3566 ±0) + v * (3566 ±0)` + // Minimum execution time: 31_319_081_000 picoseconds. + Weight::from_parts(31_369_888_000, 0) + .saturating_add(Weight::from_parts(0, 456136)) + // Standard Error: 346_779 + .saturating_add(Weight::from_parts(5_137_385, 0).saturating_mul(v.into())) + // Standard Error: 346_779 + .saturating_add(Weight::from_parts(3_196_748, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(180)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 14295).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 11775).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into())) } /// Storage: Staking CounterForValidators (r:1 w:0) /// Proof: Staking CounterForValidators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -672,12 +692,12 @@ impl pallet_staking::WeightInfo for WeightInfo { fn get_npos_targets(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `951 + v * (50 ±0)` - // Estimated: `6532 + v * (2520 ±0)` - // Minimum execution time: 2_195_670_000 picoseconds. - Weight::from_parts(60_901_976, 0) - .saturating_add(Weight::from_parts(0, 6532)) - // Standard Error: 6_790 - .saturating_add(Weight::from_parts(4_356_511, 0).saturating_mul(v.into())) + // Estimated: `3510 + v * (2520 ±0)` + // Minimum execution time: 2_253_849_000 picoseconds. + Weight::from_parts(35_313_425, 0) + .saturating_add(Weight::from_parts(0, 3510)) + // Standard Error: 6_443 + .saturating_add(Weight::from_parts(4_511_063, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -699,8 +719,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_935_000 picoseconds. - Weight::from_parts(7_208_000, 0) + // Minimum execution time: 6_983_000 picoseconds. + Weight::from_parts(7_203_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -720,8 +740,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_090_000 picoseconds. - Weight::from_parts(6_399_000, 0) + // Minimum execution time: 6_415_000 picoseconds. + Weight::from_parts(6_592_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -748,10 +768,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn chill_other() -> Weight { // Proof Size summary in bytes: // Measured: `1798` - // Estimated: `29338` - // Minimum execution time: 68_728_000 picoseconds. - Weight::from_parts(69_629_000, 0) - .saturating_add(Weight::from_parts(0, 29338)) + // Estimated: `6248` + // Minimum execution time: 70_754_000 picoseconds. + Weight::from_parts(71_629_000, 0) + .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -762,10 +782,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn force_apply_min_commission() -> Weight { // Proof Size summary in bytes: // Measured: `661` - // Estimated: `4999` - // Minimum execution time: 13_166_000 picoseconds. - Weight::from_parts(13_376_000, 0) - .saturating_add(Weight::from_parts(0, 4999)) + // Estimated: `3510` + // Minimum execution time: 13_802_000 picoseconds. + Weight::from_parts(13_935_000, 0) + .saturating_add(Weight::from_parts(0, 3510)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -775,8 +795,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_336_000 picoseconds. - Weight::from_parts(3_500_000, 0) + // Minimum execution time: 3_514_000 picoseconds. + Weight::from_parts(3_690_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/pallet_timestamp.rs b/runtime/westend/src/weights/pallet_timestamp.rs index b1cfc13fa38b..7b924b2cc2ce 100644 --- a/runtime/westend/src/weights/pallet_timestamp.rs +++ b/runtime/westend/src/weights/pallet_timestamp.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); @@ -52,10 +54,10 @@ impl pallet_timestamp::WeightInfo for WeightInfo { fn set() -> Weight { // Proof Size summary in bytes: // Measured: `311` - // Estimated: `2986` - // Minimum execution time: 9_501_000 picoseconds. - Weight::from_parts(9_786_000, 0) - .saturating_add(Weight::from_parts(0, 2986)) + // Estimated: `1493` + // Minimum execution time: 9_605_000 picoseconds. + Weight::from_parts(9_963_000, 0) + .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +65,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 3_680_000 picoseconds. - Weight::from_parts(3_804_000, 0) + // Minimum execution time: 3_666_000 picoseconds. + Weight::from_parts(3_747_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/westend/src/weights/pallet_utility.rs b/runtime/westend/src/weights/pallet_utility.rs index 8cd78db3270c..7868770e8a4d 100644 --- a/runtime/westend/src/weights/pallet_utility.rs +++ b/runtime/westend/src/weights/pallet_utility.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); @@ -50,18 +52,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_959_000 picoseconds. - Weight::from_parts(16_236_243, 0) + // Minimum execution time: 7_051_000 picoseconds. + Weight::from_parts(15_608_314, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_438 - .saturating_add(Weight::from_parts(4_490_092, 0).saturating_mul(c.into())) + // Standard Error: 2_069 + .saturating_add(Weight::from_parts(4_569_013, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_146_000 picoseconds. - Weight::from_parts(5_237_000, 0) + // Minimum execution time: 5_516_000 picoseconds. + Weight::from_parts(5_664_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -69,18 +71,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_100_000 picoseconds. - Weight::from_parts(14_356_170, 0) + // Minimum execution time: 7_204_000 picoseconds. + Weight::from_parts(12_179_998, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_089 - .saturating_add(Weight::from_parts(4_737_322, 0).saturating_mul(c.into())) + // Standard Error: 1_850 + .saturating_add(Weight::from_parts(4_859_148, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_396_000 picoseconds. - Weight::from_parts(9_598_000, 0) + // Minimum execution time: 9_471_000 picoseconds. + Weight::from_parts(9_605_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -88,10 +90,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_964_000 picoseconds. - Weight::from_parts(17_114_993, 0) + // Minimum execution time: 7_199_000 picoseconds. + Weight::from_parts(13_222_100, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_275 - .saturating_add(Weight::from_parts(4_471_678, 0).saturating_mul(c.into())) + // Standard Error: 1_812 + .saturating_add(Weight::from_parts(4_567_045, 0).saturating_mul(c.into())) } } diff --git a/runtime/westend/src/weights/pallet_vesting.rs b/runtime/westend/src/weights/pallet_vesting.rs index c4373c30b94a..0fb173c44025 100644 --- a/runtime/westend/src/weights/pallet_vesting.rs +++ b/runtime/westend/src/weights/pallet_vesting.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `pallet_vesting`. pub struct WeightInfo(PhantomData); @@ -49,46 +51,52 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `348 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9286` - // Minimum execution time: 30_368_000 picoseconds. - Weight::from_parts(29_145_666, 0) - .saturating_add(Weight::from_parts(0, 9286)) - // Standard Error: 789 - .saturating_add(Weight::from_parts(42_369, 0).saturating_mul(l.into())) - // Standard Error: 1_403 - .saturating_add(Weight::from_parts(70_130, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4764` + // Minimum execution time: 33_754_000 picoseconds. + Weight::from_parts(33_051_049, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 1_184 + .saturating_add(Weight::from_parts(36_730, 0).saturating_mul(l.into())) + // Standard Error: 2_108 + .saturating_add(Weight::from_parts(61_789, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `348 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9286` - // Minimum execution time: 29_229_000 picoseconds. - Weight::from_parts(29_138_693, 0) - .saturating_add(Weight::from_parts(0, 9286)) - // Standard Error: 807 - .saturating_add(Weight::from_parts(29_412, 0).saturating_mul(l.into())) - // Standard Error: 1_437 - .saturating_add(Weight::from_parts(39_790, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4764` + // Minimum execution time: 37_222_000 picoseconds. + Weight::from_parts(36_585_887, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 687 + .saturating_add(Weight::from_parts(30_675, 0).saturating_mul(l.into())) + // Standard Error: 1_222 + .saturating_add(Weight::from_parts(45_181, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -96,21 +104,23 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `451 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 32_573_000 picoseconds. - Weight::from_parts(31_521_704, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 825 - .saturating_add(Weight::from_parts(43_262, 0).saturating_mul(l.into())) - // Standard Error: 1_468 - .saturating_add(Weight::from_parts(71_428, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 35_565_000 picoseconds. + Weight::from_parts(34_263_984, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 411 + .saturating_add(Weight::from_parts(46_236, 0).saturating_mul(l.into())) + // Standard Error: 731 + .saturating_add(Weight::from_parts(71_857, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -118,15 +128,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `451 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 31_541_000 picoseconds. - Weight::from_parts(30_842_897, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 817 - .saturating_add(Weight::from_parts(40_383, 0).saturating_mul(l.into())) - // Standard Error: 1_455 - .saturating_add(Weight::from_parts(54_874, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 38_495_000 picoseconds. + Weight::from_parts(38_404_280, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 768 + .saturating_add(Weight::from_parts(34_656, 0).saturating_mul(l.into())) + // Standard Error: 1_368 + .saturating_add(Weight::from_parts(46_139, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) @@ -135,20 +145,22 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `522 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 49_661_000 picoseconds. - Weight::from_parts(50_641_511, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 2_384 - .saturating_add(Weight::from_parts(37_527, 0).saturating_mul(l.into())) - // Standard Error: 4_242 - .saturating_add(Weight::from_parts(38_395, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 68_356_000 picoseconds. + Weight::from_parts(70_912_415, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 3_231 + .saturating_add(Weight::from_parts(50_207, 0).saturating_mul(l.into())) + // Standard Error: 5_749 + .saturating_add(Weight::from_parts(88_509, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) @@ -157,26 +169,30 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `625 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `15482` - // Minimum execution time: 51_480_000 picoseconds. - Weight::from_parts(51_569_723, 0) - .saturating_add(Weight::from_parts(0, 15482)) - // Standard Error: 1_407 - .saturating_add(Weight::from_parts(43_371, 0).saturating_mul(l.into())) - // Standard Error: 2_503 - .saturating_add(Weight::from_parts(61_175, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `6196` + // Minimum execution time: 69_377_000 picoseconds. + Weight::from_parts(71_976_840, 0) + .saturating_add(Weight::from_parts(0, 6196)) + // Standard Error: 2_003 + .saturating_add(Weight::from_parts(48_638, 0).saturating_mul(l.into())) + // Standard Error: 3_563 + .saturating_add(Weight::from_parts(109_176, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -184,21 +200,23 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `449 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 33_171_000 picoseconds. - Weight::from_parts(32_468_081, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 700 - .saturating_add(Weight::from_parts(40_970, 0).saturating_mul(l.into())) - // Standard Error: 1_294 - .saturating_add(Weight::from_parts(62_430, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 36_228_000 picoseconds. + Weight::from_parts(35_225_726, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 433 + .saturating_add(Weight::from_parts(43_158, 0).saturating_mul(l.into())) + // Standard Error: 800 + .saturating_add(Weight::from_parts(69_464, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Vesting Vesting (r:1 w:1) /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) /// Storage: Balances Locks (r:1 w:1) /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Balances Freezes (r:1 w:0) + /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `l` is `[0, 49]`. @@ -206,15 +224,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `449 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12879` - // Minimum execution time: 32_956_000 picoseconds. - Weight::from_parts(32_197_623, 0) - .saturating_add(Weight::from_parts(0, 12879)) - // Standard Error: 826 - .saturating_add(Weight::from_parts(46_160, 0).saturating_mul(l.into())) - // Standard Error: 1_526 - .saturating_add(Weight::from_parts(69_938, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `4764` + // Minimum execution time: 40_414_000 picoseconds. + Weight::from_parts(39_477_039, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 438 + .saturating_add(Weight::from_parts(44_014, 0).saturating_mul(l.into())) + // Standard Error: 810 + .saturating_add(Weight::from_parts(62_561, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/westend/src/weights/pallet_xcm.rs b/runtime/westend/src/weights/pallet_xcm.rs index 38cd9aaa4aeb..6bcac6d5084f 100644 --- a/runtime/westend/src/weights/pallet_xcm.rs +++ b/runtime/westend/src/weights/pallet_xcm.rs @@ -17,30 +17,29 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=westend-dev // --steps=50 // --repeat=20 +// --pallet=pallet_xcm // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json -// --pallet=pallet_xcm -// --chain=westend-dev // --header=./file_header.txt // --output=./runtime/westend/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; @@ -48,6 +47,8 @@ use core::marker::PhantomData; /// Weight functions for `pallet_xcm`. pub struct WeightInfo(PhantomData); impl pallet_xcm::WeightInfo for WeightInfo { + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -62,26 +63,26 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `169` // Estimated: `3634` - // Minimum execution time: 30_115_000 picoseconds. - Weight::from_parts(30_754_000, 0) + // Minimum execution time: 32_444_000 picoseconds. + Weight::from_parts(33_056_000, 0) .saturating_add(Weight::from_parts(0, 3634)) - .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } fn teleport_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 21_511_000 picoseconds. - Weight::from_parts(21_766_000, 0) + // Minimum execution time: 22_468_000 picoseconds. + Weight::from_parts(22_809_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 20_678_000 picoseconds. - Weight::from_parts(21_141_000, 0) + // Minimum execution time: 22_343_000 picoseconds. + Weight::from_parts(22_676_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Benchmark Override (r:0 w:0) @@ -100,8 +101,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_345_000 picoseconds. - Weight::from_parts(10_700_000, 0) + // Minimum execution time: 10_297_000 picoseconds. + Weight::from_parts(10_537_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -111,8 +112,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_317_000 picoseconds. - Weight::from_parts(3_432_000, 0) + // Minimum execution time: 3_271_000 picoseconds. + Weight::from_parts(3_448_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -120,6 +121,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet QueryCounter (r:1 w:1) /// Proof Skipped: XcmPallet QueryCounter (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -136,14 +139,16 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `169` // Estimated: `3634` - // Minimum execution time: 34_794_000 picoseconds. - Weight::from_parts(35_424_000, 0) + // Minimum execution time: 37_373_000 picoseconds. + Weight::from_parts(37_792_000, 0) .saturating_add(Weight::from_parts(0, 3634)) - .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: XcmPallet VersionNotifiers (r:1 w:1) /// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -160,10 +165,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3791` - // Minimum execution time: 35_678_000 picoseconds. - Weight::from_parts(36_056_000, 0) + // Minimum execution time: 38_384_000 picoseconds. + Weight::from_parts(39_431_000, 0) .saturating_add(Weight::from_parts(0, 3791)) - .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: XcmPallet XcmExecutionSuspended (r:0 w:1) @@ -172,8 +177,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_271_000 picoseconds. - Weight::from_parts(3_404_000, 0) + // Minimum execution time: 3_451_000 picoseconds. + Weight::from_parts(3_596_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -183,8 +188,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `229` // Estimated: `11119` - // Minimum execution time: 16_601_000 picoseconds. - Weight::from_parts(16_888_000, 0) + // Minimum execution time: 15_875_000 picoseconds. + Weight::from_parts(16_460_000, 0) .saturating_add(Weight::from_parts(0, 11119)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -195,8 +200,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `233` // Estimated: `11123` - // Minimum execution time: 16_714_000 picoseconds. - Weight::from_parts(17_048_000, 0) + // Minimum execution time: 16_217_000 picoseconds. + Weight::from_parts(16_839_000, 0) .saturating_add(Weight::from_parts(0, 11123)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -207,13 +212,15 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `243` // Estimated: `13608` - // Minimum execution time: 17_552_000 picoseconds. - Weight::from_parts(17_860_000, 0) + // Minimum execution time: 17_009_000 picoseconds. + Weight::from_parts(17_536_000, 0) .saturating_add(Weight::from_parts(0, 13608)) .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: XcmPallet VersionNotifyTargets (r:2 w:1) /// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -228,10 +235,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `239` // Estimated: `6179` - // Minimum execution time: 31_655_000 picoseconds. - Weight::from_parts(32_201_000, 0) + // Minimum execution time: 33_908_000 picoseconds. + Weight::from_parts(34_515_000, 0) .saturating_add(Weight::from_parts(0, 6179)) - .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: XcmPallet VersionNotifyTargets (r:3 w:0) @@ -240,8 +247,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `272` // Estimated: `8687` - // Minimum execution time: 8_969_000 picoseconds. - Weight::from_parts(9_314_000, 0) + // Minimum execution time: 9_087_000 picoseconds. + Weight::from_parts(9_388_000, 0) .saturating_add(Weight::from_parts(0, 8687)) .saturating_add(T::DbWeight::get().reads(3)) } @@ -251,14 +258,16 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `240` // Estimated: `11130` - // Minimum execution time: 17_142_000 picoseconds. - Weight::from_parts(17_694_000, 0) + // Minimum execution time: 16_881_000 picoseconds. + Weight::from_parts(17_500_000, 0) .saturating_add(Weight::from_parts(0, 11130)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: XcmPallet VersionNotifyTargets (r:4 w:2) /// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:0) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet SupportedVersion (r:1 w:0) /// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1) @@ -273,10 +282,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `243` // Estimated: `11133` - // Minimum execution time: 38_257_000 picoseconds. - Weight::from_parts(39_042_000, 0) + // Minimum execution time: 40_886_000 picoseconds. + Weight::from_parts(41_424_000, 0) .saturating_add(Weight::from_parts(0, 11133)) - .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) } } diff --git a/runtime/westend/src/weights/runtime_common_auctions.rs b/runtime/westend/src/weights/runtime_common_auctions.rs index 9a7094297841..9a6275d391cd 100644 --- a/runtime/westend/src/weights/runtime_common_auctions.rs +++ b/runtime/westend/src/weights/runtime_common_auctions.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::auctions`. pub struct WeightInfo(PhantomData); @@ -52,10 +54,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn new_auction() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `2982` - // Minimum execution time: 12_293_000 picoseconds. - Weight::from_parts(12_518_000, 0) - .saturating_add(Weight::from_parts(0, 2982)) + // Estimated: `1493` + // Minimum execution time: 12_571_000 picoseconds. + Weight::from_parts(12_851_000, 0) + .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,10 +78,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn bid() -> Weight { // Proof Size summary in bytes: // Measured: `571` - // Estimated: `26092` - // Minimum execution time: 67_794_000 picoseconds. - Weight::from_parts(70_851_000, 0) - .saturating_add(Weight::from_parts(0, 26092)) + // Estimated: `6060` + // Minimum execution time: 76_246_000 picoseconds. + Weight::from_parts(79_697_000, 0) + .saturating_add(Weight::from_parts(0, 6060)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -110,10 +112,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `6947646` - // Estimated: `50786890` - // Minimum execution time: 6_233_411_000 picoseconds. - Weight::from_parts(6_331_552_000, 0) - .saturating_add(Weight::from_parts(0, 50786890)) + // Estimated: `15822990` + // Minimum execution time: 6_362_630_000 picoseconds. + Weight::from_parts(6_434_405_000, 0) + .saturating_add(Weight::from_parts(0, 15822990)) .saturating_add(T::DbWeight::get().reads(3688)) .saturating_add(T::DbWeight::get().writes(3683)) } @@ -128,10 +130,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn cancel_auction() -> Weight { // Proof Size summary in bytes: // Measured: `177732` - // Estimated: `16012473` - // Minimum execution time: 4_778_301_000 picoseconds. - Weight::from_parts(4_852_188_000, 0) - .saturating_add(Weight::from_parts(0, 16012473)) + // Estimated: `15822990` + // Minimum execution time: 4_940_017_000 picoseconds. + Weight::from_parts(5_006_084_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/runtime/westend/src/weights/runtime_common_crowdloan.rs b/runtime/westend/src/weights/runtime_common_crowdloan.rs index 813527e336e0..bf9027b989cc 100644 --- a/runtime/westend/src/weights/runtime_common_crowdloan.rs +++ b/runtime/westend/src/weights/runtime_common_crowdloan.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::crowdloan`. pub struct WeightInfo(PhantomData); @@ -53,15 +55,17 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured) /// Storage: Crowdloan NextFundIndex (r:1 w:1) /// Proof Skipped: Crowdloan NextFundIndex (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `386` - // Estimated: `13424` - // Minimum execution time: 40_035_000 picoseconds. - Weight::from_parts(40_864_000, 0) - .saturating_add(Weight::from_parts(0, 13424)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `438` + // Estimated: `3903` + // Minimum execution time: 49_186_000 picoseconds. + Weight::from_parts(50_953_000, 0) + .saturating_add(Weight::from_parts(0, 3903)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) @@ -81,11 +85,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn contribute() -> Weight { // Proof Size summary in bytes: - // Measured: `336` - // Estimated: `21632` - // Minimum execution time: 109_869_000 picoseconds. - Weight::from_parts(112_585_000, 0) - .saturating_add(Weight::from_parts(0, 21632)) + // Measured: `424` + // Estimated: `3889` + // Minimum execution time: 126_783_000 picoseconds. + Weight::from_parts(128_474_000, 0) + .saturating_add(Weight::from_parts(0, 3889)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -100,10 +104,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `690` - // Estimated: `16007` - // Minimum execution time: 56_448_000 picoseconds. - Weight::from_parts(57_679_000, 0) - .saturating_add(Weight::from_parts(0, 16007)) + // Estimated: `6196` + // Minimum execution time: 71_770_000 picoseconds. + Weight::from_parts(72_830_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -112,13 +116,13 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `k` is `[0, 500]`. fn refund(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `173 + k * (188 ±0)` - // Estimated: `194 + k * (189 ±0)` - // Minimum execution time: 40_060_000 picoseconds. - Weight::from_parts(54_541_000, 0) - .saturating_add(Weight::from_parts(0, 194)) - // Standard Error: 10_543 - .saturating_add(Weight::from_parts(21_926_735, 0).saturating_mul(k.into())) + // Measured: `176 + k * (188 ±0)` + // Estimated: `201 + k * (189 ±0)` + // Minimum execution time: 44_129_000 picoseconds. + Weight::from_parts(56_760_000, 0) + .saturating_add(Weight::from_parts(0, 201)) + // Standard Error: 14_618 + .saturating_add(Weight::from_parts(37_925_781, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -127,17 +131,17 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) + /// Storage: System Account (r:2 w:2) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn dissolve() -> Weight { // Proof Size summary in bytes: - // Measured: `375` - // Estimated: `7433` - // Minimum execution time: 29_891_000 picoseconds. - Weight::from_parts(30_447_000, 0) - .saturating_add(Weight::from_parts(0, 7433)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `515` + // Estimated: `6196` + // Minimum execution time: 41_038_000 picoseconds. + Weight::from_parts(42_119_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) @@ -145,8 +149,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 18_393_000 picoseconds. - Weight::from_parts(19_004_000, 0) + // Minimum execution time: 17_868_000 picoseconds. + Weight::from_parts(18_548_000, 0) .saturating_add(Weight::from_parts(0, 3700)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,10 +162,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn add_memo() -> Weight { // Proof Size summary in bytes: // Measured: `412` - // Estimated: `7754` - // Minimum execution time: 25_423_000 picoseconds. - Weight::from_parts(25_924_000, 0) - .saturating_add(Weight::from_parts(0, 7754)) + // Estimated: `3877` + // Minimum execution time: 25_281_000 picoseconds. + Weight::from_parts(25_785_000, 0) + .saturating_add(Weight::from_parts(0, 3877)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -172,10 +176,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn poke() -> Weight { // Proof Size summary in bytes: // Measured: `239` - // Estimated: `5428` - // Minimum execution time: 17_399_000 picoseconds. - Weight::from_parts(18_040_000, 0) - .saturating_add(Weight::from_parts(0, 5428)) + // Estimated: `3704` + // Minimum execution time: 17_979_000 picoseconds. + Weight::from_parts(18_255_000, 0) + .saturating_add(Weight::from_parts(0, 3704)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,16 +207,16 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn on_initialize(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `91 + n * (356 ±0)` - // Estimated: `16722 + n * (14348 ±0)` - // Minimum execution time: 109_715_000 picoseconds. - Weight::from_parts(110_192_000, 0) - .saturating_add(Weight::from_parts(0, 16722)) - // Standard Error: 47_032 - .saturating_add(Weight::from_parts(48_388_752, 0).saturating_mul(n.into())) + // Estimated: `5385 + n * (2832 ±0)` + // Minimum execution time: 127_851_000 picoseconds. + Weight::from_parts(128_776_000, 0) + .saturating_add(Weight::from_parts(0, 5385)) + // Standard Error: 58_175 + .saturating_add(Weight::from_parts(60_241_182, 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)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 14348).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2832).saturating_mul(n.into())) } } diff --git a/runtime/westend/src/weights/runtime_common_paras_registrar.rs b/runtime/westend/src/weights/runtime_common_paras_registrar.rs index 401fd499df0f..37d591af83b4 100644 --- a/runtime/westend/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/westend/src/weights/runtime_common_paras_registrar.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::paras_registrar`. pub struct WeightInfo(PhantomData); @@ -54,10 +56,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn reserve() -> Weight { // Proof Size summary in bytes: // Measured: `97` - // Estimated: `8706` - // Minimum execution time: 26_530_000 picoseconds. - Weight::from_parts(26_950_000, 0) - .saturating_add(Weight::from_parts(0, 8706)) + // Estimated: `3562` + // Minimum execution time: 31_299_000 picoseconds. + Weight::from_parts(32_061_000, 0) + .saturating_add(Weight::from_parts(0, 3562)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -82,10 +84,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn register() -> Weight { // Proof Size summary in bytes: // Measured: `270` - // Estimated: `24705` - // Minimum execution time: 6_262_720_000 picoseconds. - Weight::from_parts(6_331_923_000, 0) - .saturating_add(Weight::from_parts(0, 24705)) + // Estimated: `3735` + // Minimum execution time: 6_328_990_000 picoseconds. + Weight::from_parts(6_439_955_000, 0) + .saturating_add(Weight::from_parts(0, 3735)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -110,10 +112,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn force_register() -> Weight { // Proof Size summary in bytes: // Measured: `187` - // Estimated: `23958` - // Minimum execution time: 6_268_211_000 picoseconds. - Weight::from_parts(6_331_892_000, 0) - .saturating_add(Weight::from_parts(0, 23958)) + // Estimated: `3652` + // Minimum execution time: 6_297_865_000 picoseconds. + Weight::from_parts(6_392_835_000, 0) + .saturating_add(Weight::from_parts(0, 3652)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -132,10 +134,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn deregister() -> Weight { // Proof Size summary in bytes: // Measured: `435` - // Estimated: `17955` - // Minimum execution time: 40_534_000 picoseconds. - Weight::from_parts(41_596_000, 0) - .saturating_add(Weight::from_parts(0, 17955)) + // Estimated: `3900` + // Minimum execution time: 45_425_000 picoseconds. + Weight::from_parts(47_001_000, 0) + .saturating_add(Weight::from_parts(0, 3900)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -156,10 +158,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn swap() -> Weight { // Proof Size summary in bytes: // Measured: `637` - // Estimated: `34159` - // Minimum execution time: 46_421_000 picoseconds. - Weight::from_parts(47_968_000, 0) - .saturating_add(Weight::from_parts(0, 34159)) + // Estimated: `6577` + // Minimum execution time: 47_062_000 picoseconds. + Weight::from_parts(49_667_000, 0) + .saturating_add(Weight::from_parts(0, 6577)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -187,12 +189,12 @@ impl runtime_common::paras_registrar::WeightInfo for We fn schedule_code_upgrade(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `25525` - // Minimum execution time: 40_176_000 picoseconds. - Weight::from_parts(40_282_000, 0) - .saturating_add(Weight::from_parts(0, 25525)) + // Estimated: `3493` + // Minimum execution time: 39_645_000 picoseconds. + Weight::from_parts(39_768_000, 0) + .saturating_add(Weight::from_parts(0, 3493)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_964, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_956, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -203,11 +205,11 @@ impl runtime_common::paras_registrar::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_876_000 picoseconds. - Weight::from_parts(9_068_000, 0) + // Minimum execution time: 9_568_000 picoseconds. + Weight::from_parts(9_661_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(864, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(859, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/westend/src/weights/runtime_common_slots.rs b/runtime/westend/src/weights/runtime_common_slots.rs index ebb1aa119617..947cff369733 100644 --- a/runtime/westend/src/weights/runtime_common_slots.rs +++ b/runtime/westend/src/weights/runtime_common_slots.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_common::slots`. pub struct WeightInfo(PhantomData); @@ -52,10 +54,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `181` - // Estimated: `7239` - // Minimum execution time: 25_272_000 picoseconds. - Weight::from_parts(25_634_000, 0) - .saturating_add(Weight::from_parts(0, 7239)) + // Estimated: `3646` + // Minimum execution time: 29_126_000 picoseconds. + Weight::from_parts(29_497_000, 0) + .saturating_add(Weight::from_parts(0, 3646)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,22 +78,22 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `0 + c * (47 ±0) + t * (308 ±0)` - // Estimated: `7228 + c * (2781 ±0) + t * (9308 ±0)` - // Minimum execution time: 631_951_000 picoseconds. - Weight::from_parts(645_205_000, 0) - .saturating_add(Weight::from_parts(0, 7228)) - // Standard Error: 83_112 - .saturating_add(Weight::from_parts(2_677_718, 0).saturating_mul(c.into())) - // Standard Error: 83_112 - .saturating_add(Weight::from_parts(11_541_814, 0).saturating_mul(t.into())) + // Estimated: `2657 + c * (2526 ±0) + t * (2789 ±0)` + // Minimum execution time: 637_316_000 picoseconds. + Weight::from_parts(645_590_000, 0) + .saturating_add(Weight::from_parts(0, 2657)) + // Standard Error: 80_601 + .saturating_add(Weight::from_parts(2_659_004, 0).saturating_mul(c.into())) + // Standard Error: 80_601 + .saturating_add(Weight::from_parts(11_359_760, 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((3_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2781).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 9308).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2526).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2789).saturating_mul(t.into())) } /// Storage: Slots Leases (r:1 w:1) /// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured) @@ -100,10 +102,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `2653` - // Estimated: `27932` - // Minimum execution time: 97_503_000 picoseconds. - Weight::from_parts(99_104_000, 0) - .saturating_add(Weight::from_parts(0, 27932)) + // Estimated: `21814` + // Minimum execution time: 126_776_000 picoseconds. + Weight::from_parts(129_358_000, 0) + .saturating_add(Weight::from_parts(0, 21814)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -120,10 +122,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `564` - // Estimated: `18165` - // Minimum execution time: 27_263_000 picoseconds. - Weight::from_parts(28_512_000, 0) - .saturating_add(Weight::from_parts(0, 18165)) + // Estimated: `4029` + // Minimum execution time: 27_452_000 picoseconds. + Weight::from_parts(28_127_000, 0) + .saturating_add(Weight::from_parts(0, 4029)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/westend/src/weights/runtime_parachains_configuration.rs b/runtime/westend/src/weights/runtime_parachains_configuration.rs index 8192c978dea9..aaa7536bdd3d 100644 --- a/runtime/westend/src/weights/runtime_parachains_configuration.rs +++ b/runtime/westend/src/weights/runtime_parachains_configuration.rs @@ -13,36 +13,36 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=westend-dev // --steps=50 // --repeat=20 +// --pallet=runtime_parachains::configuration // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json -// --pallet=runtime_parachains::configuration -// --chain=westend-dev // --header=./file_header.txt -// --output=./runtime/westend/src/weights/ +// --output=./runtime/westend/src/weights/runtime_parachains_configuration.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::configuration`. pub struct WeightInfo(PhantomData); @@ -56,10 +56,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `4725` - // Minimum execution time: 9_585_000 picoseconds. - Weight::from_parts(9_914_000, 0) - .saturating_add(Weight::from_parts(0, 4725)) + // Estimated: `1575` + // Minimum execution time: 10_053_000 picoseconds. + Weight::from_parts(10_343_000, 0) + .saturating_add(Weight::from_parts(0, 1575)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -72,10 +72,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `4725` - // Minimum execution time: 9_620_000 picoseconds. - Weight::from_parts(9_963_000, 0) - .saturating_add(Weight::from_parts(0, 4725)) + // Estimated: `1575` + // Minimum execution time: 9_978_000 picoseconds. + Weight::from_parts(10_327_000, 0) + .saturating_add(Weight::from_parts(0, 1575)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,10 +88,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_option_u32() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `4725` - // Minimum execution time: 9_687_000 picoseconds. - Weight::from_parts(9_932_000, 0) - .saturating_add(Weight::from_parts(0, 4725)) + // Estimated: `1575` + // Minimum execution time: 10_055_000 picoseconds. + Weight::from_parts(10_298_000, 0) + .saturating_add(Weight::from_parts(0, 1575)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -104,10 +104,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `4725` - // Minimum execution time: 9_635_000 picoseconds. - Weight::from_parts(9_878_000, 0) - .saturating_add(Weight::from_parts(0, 4725)) + // Estimated: `1575` + // Minimum execution time: 10_293_000 picoseconds. + Weight::from_parts(10_619_000, 0) + .saturating_add(Weight::from_parts(0, 1575)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -130,10 +130,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_balance() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `4725` - // Minimum execution time: 9_626_000 picoseconds. - Weight::from_parts(9_987_000, 0) - .saturating_add(Weight::from_parts(0, 4725)) + // Estimated: `1575` + // Minimum execution time: 10_012_000 picoseconds. + Weight::from_parts(10_360_000, 0) + .saturating_add(Weight::from_parts(0, 1575)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -146,10 +146,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_executor_params() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `4725` - // Minimum execution time: 10_483_000 picoseconds. - Weight::from_parts(10_695_000, 0) - .saturating_add(Weight::from_parts(0, 4725)) + // Estimated: `1575` + // Minimum execution time: 11_070_000 picoseconds. + Weight::from_parts(11_346_000, 0) + .saturating_add(Weight::from_parts(0, 1575)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/runtime_parachains_disputes.rs b/runtime/westend/src/weights/runtime_parachains_disputes.rs index fa08d75a959e..51017184ff10 100644 --- a/runtime/westend/src/weights/runtime_parachains_disputes.rs +++ b/runtime/westend/src/weights/runtime_parachains_disputes.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::disputes`. pub struct WeightInfo(PhantomData); @@ -51,8 +53,8 @@ impl runtime_parachains::disputes::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_950_000 picoseconds. - Weight::from_parts(3_089_000, 0) + // Minimum execution time: 3_073_000 picoseconds. + Weight::from_parts(3_223_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs b/runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs index b9bd8c98ea73..f7aacbb1105b 100644 --- a/runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs +++ b/runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::disputes::slashing` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::disputes::slashing`. pub struct WeightInfo(PhantomData); @@ -53,8 +55,6 @@ impl runtime_parachains::disputes::slashing::WeightInfo /// Proof Skipped: ParaSessionInfo Sessions (max_values: None, max_size: None, mode: Measured) /// Storage: ParasSlashing UnappliedSlashes (r:1 w:1) /// Proof Skipped: ParasSlashing UnappliedSlashes (max_values: None, max_size: None, mode: Measured) - /// Storage: Offences ReportsByKindIndex (r:1 w:1) - /// Proof Skipped: Offences ReportsByKindIndex (max_values: None, max_size: None, mode: Measured) /// Storage: Offences ConcurrentReportsIndex (r:1 w:1) /// Proof Skipped: Offences ConcurrentReportsIndex (max_values: None, max_size: None, mode: Measured) /// Storage: Offences Reports (r:1 w:1) @@ -86,15 +86,15 @@ impl runtime_parachains::disputes::slashing::WeightInfo /// The range of component `n` is `[4, 300]`. fn report_dispute_lost(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4893 + n * (289 ±0)` - // Estimated: `109178 + n * (3784 ±0)` - // Minimum execution time: 83_746_000 picoseconds. - Weight::from_parts(127_246_143, 0) - .saturating_add(Weight::from_parts(0, 109178)) - // Standard Error: 4_051 - .saturating_add(Weight::from_parts(390_162, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(18)) - .saturating_add(T::DbWeight::get().writes(10)) - .saturating_add(Weight::from_parts(0, 3784).saturating_mul(n.into())) + // Measured: `4816 + n * (289 ±0)` + // Estimated: `8127 + n * (292 ±0)` + // Minimum execution time: 81_381_000 picoseconds. + Weight::from_parts(124_327_643, 0) + .saturating_add(Weight::from_parts(0, 8127)) + // Standard Error: 4_028 + .saturating_add(Weight::from_parts(385_497, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(17)) + .saturating_add(T::DbWeight::get().writes(9)) + .saturating_add(Weight::from_parts(0, 292).saturating_mul(n.into())) } } diff --git a/runtime/westend/src/weights/runtime_parachains_hrmp.rs b/runtime/westend/src/weights/runtime_parachains_hrmp.rs index 56553c91b828..775cd3703aa9 100644 --- a/runtime/westend/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/westend/src/weights/runtime_parachains_hrmp.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::hrmp`. pub struct WeightInfo(PhantomData); @@ -64,10 +66,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_init_open_channel() -> Weight { // Proof Size summary in bytes: // Measured: `307` - // Estimated: `30671` - // Minimum execution time: 35_433_000 picoseconds. - Weight::from_parts(35_919_000, 0) - .saturating_add(Weight::from_parts(0, 30671)) + // Estimated: `6247` + // Minimum execution time: 35_676_000 picoseconds. + Weight::from_parts(36_006_000, 0) + .saturating_add(Weight::from_parts(0, 6247)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -86,10 +88,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_accept_open_channel() -> Weight { // Proof Size summary in bytes: // Measured: `421` - // Estimated: `23316` - // Minimum execution time: 32_866_000 picoseconds. - Weight::from_parts(33_161_000, 0) - .saturating_add(Weight::from_parts(0, 23316)) + // Estimated: `3886` + // Minimum execution time: 33_198_000 picoseconds. + Weight::from_parts(33_588_000, 0) + .saturating_add(Weight::from_parts(0, 3886)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -106,10 +108,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_close_channel() -> Weight { // Proof Size summary in bytes: // Measured: `238` - // Estimated: `16535` - // Minimum execution time: 28_318_000 picoseconds. - Weight::from_parts(28_693_000, 0) - .saturating_add(Weight::from_parts(0, 16535)) + // Estimated: `3703` + // Minimum execution time: 28_228_000 picoseconds. + Weight::from_parts(28_564_000, 0) + .saturating_add(Weight::from_parts(0, 3703)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -129,23 +131,23 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `158 + i * (100 ±0) + e * (100 ±0)` - // Estimated: `8850 + i * (5550 ±0) + e * (5550 ±0)` - // Minimum execution time: 1_092_332_000 picoseconds. - Weight::from_parts(1_097_373_000, 0) - .saturating_add(Weight::from_parts(0, 8850)) - // Standard Error: 97_518 - .saturating_add(Weight::from_parts(3_170_650, 0).saturating_mul(i.into())) - // Standard Error: 97_518 - .saturating_add(Weight::from_parts(3_304_346, 0).saturating_mul(e.into())) + // Measured: `158 + e * (100 ±0) + i * (100 ±0)` + // Estimated: `3620 + e * (2575 ±0) + i * (2575 ±0)` + // Minimum execution time: 1_068_293_000 picoseconds. + Weight::from_parts(2_873_264, 0) + .saturating_add(Weight::from_parts(0, 3620)) + // Standard Error: 13_425 + .saturating_add(Weight::from_parts(8_559_882, 0).saturating_mul(i.into())) + // Standard Error: 13_425 + .saturating_add(Weight::from_parts(8_694_931, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5550).saturating_mul(i.into())) - .saturating_add(Weight::from_parts(0, 5550).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2575).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2575).saturating_mul(i.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -167,17 +169,17 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_open(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `386 + c * (136 ±0)` - // Estimated: `10441 + c * (18413 ±0)` - // Minimum execution time: 6_543_000 picoseconds. - Weight::from_parts(4_530_781, 0) - .saturating_add(Weight::from_parts(0, 10441)) - // Standard Error: 15_086 - .saturating_add(Weight::from_parts(19_196_371, 0).saturating_mul(c.into())) + // Estimated: `1841 + c * (5086 ±0)` + // Minimum execution time: 6_423_000 picoseconds. + Weight::from_parts(2_076_802, 0) + .saturating_add(Weight::from_parts(0, 1841)) + // Standard Error: 14_748 + .saturating_add(Weight::from_parts(18_408_814, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 18413).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5086).saturating_mul(c.into())) } /// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -195,17 +197,17 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_close(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `229 + c * (124 ±0)` - // Estimated: `5739 + c * (8175 ±0)` - // Minimum execution time: 5_011_000 picoseconds. - Weight::from_parts(3_071_714, 0) - .saturating_add(Weight::from_parts(0, 5739)) - // Standard Error: 11_400 - .saturating_add(Weight::from_parts(11_626_470, 0).saturating_mul(c.into())) + // Estimated: `1689 + c * (2600 ±0)` + // Minimum execution time: 5_202_000 picoseconds. + Weight::from_parts(2_150_391, 0) + .saturating_add(Weight::from_parts(0, 1689)) + // Standard Error: 10_345 + .saturating_add(Weight::from_parts(11_317_859, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 8175).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2600).saturating_mul(c.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -217,15 +219,15 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_cancel_open_request(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `920 + c * (13 ±0)` - // Estimated: `10587 + c * (45 ±0)` - // Minimum execution time: 21_329_000 picoseconds. - Weight::from_parts(26_928_511, 0) - .saturating_add(Weight::from_parts(0, 10587)) - // Standard Error: 1_543 - .saturating_add(Weight::from_parts(76_029, 0).saturating_mul(c.into())) + // Estimated: `4189 + c * (15 ±0)` + // Minimum execution time: 20_886_000 picoseconds. + Weight::from_parts(27_091_693, 0) + .saturating_add(Weight::from_parts(0, 4189)) + // Standard Error: 1_558 + .saturating_add(Weight::from_parts(64_035, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 45).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 15).saturating_mul(c.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -235,17 +237,17 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn clean_open_channel_requests(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `137 + c * (63 ±0)` - // Estimated: `2743 + c * (2602 ±0)` - // Minimum execution time: 3_993_000 picoseconds. - Weight::from_parts(5_777_300, 0) - .saturating_add(Weight::from_parts(0, 2743)) - // Standard Error: 2_430 - .saturating_add(Weight::from_parts(3_128_607, 0).saturating_mul(c.into())) + // Estimated: `1616 + c * (2538 ±0)` + // Minimum execution time: 3_797_000 picoseconds. + Weight::from_parts(4_558_669, 0) + .saturating_add(Weight::from_parts(0, 1616)) + // Standard Error: 2_558 + .saturating_add(Weight::from_parts(3_051_570, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2602).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2538).saturating_mul(c.into())) } /// Storage: Paras ParaLifecycles (r:2 w:0) /// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured) @@ -270,10 +272,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_open_hrmp_channel() -> Weight { // Proof Size summary in bytes: // Measured: `307` - // Estimated: `43165` - // Minimum execution time: 49_553_000 picoseconds. - Weight::from_parts(50_044_000, 0) - .saturating_add(Weight::from_parts(0, 43165)) + // Estimated: `6247` + // Minimum execution time: 49_847_000 picoseconds. + Weight::from_parts(50_287_000, 0) + .saturating_add(Weight::from_parts(0, 6247)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(8)) } diff --git a/runtime/westend/src/weights/runtime_parachains_initializer.rs b/runtime/westend/src/weights/runtime_parachains_initializer.rs index 505f499ea313..dc5e698b0c03 100644 --- a/runtime/westend/src/weights/runtime_parachains_initializer.rs +++ b/runtime/westend/src/weights/runtime_parachains_initializer.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::initializer`. pub struct WeightInfo(PhantomData); @@ -52,11 +54,11 @@ impl runtime_parachains::initializer::WeightInfo for We // Proof Size summary in bytes: // Measured: `0 + d * (11 ±0)` // Estimated: `1480 + d * (11 ±0)` - // Minimum execution time: 3_941_000 picoseconds. - Weight::from_parts(5_787_276, 0) + // Minimum execution time: 3_934_000 picoseconds. + Weight::from_parts(6_571_129, 0) .saturating_add(Weight::from_parts(0, 1480)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(1_348, 0).saturating_mul(d.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_278, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 11).saturating_mul(d.into())) diff --git a/runtime/westend/src/weights/runtime_parachains_paras.rs b/runtime/westend/src/weights/runtime_parachains_paras.rs index 2a0ee4f15273..012412a1d660 100644 --- a/runtime/westend/src/weights/runtime_parachains_paras.rs +++ b/runtime/westend/src/weights/runtime_parachains_paras.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::paras`. pub struct WeightInfo(PhantomData); @@ -61,12 +63,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `8309` - // Estimated: `61734` - // Minimum execution time: 33_122_000 picoseconds. - Weight::from_parts(33_355_000, 0) - .saturating_add(Weight::from_parts(0, 61734)) + // Estimated: `11774` + // Minimum execution time: 32_720_000 picoseconds. + Weight::from_parts(33_199_000, 0) + .saturating_add(Weight::from_parts(0, 11774)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_946, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_947, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -77,11 +79,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_359_000 picoseconds. - Weight::from_parts(8_431_000, 0) + // Minimum execution time: 9_146_000 picoseconds. + Weight::from_parts(9_372_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(863, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(857, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Paras FutureCodeHash (r:1 w:1) @@ -108,12 +110,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_schedule_code_upgrade(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `16462` - // Estimated: `186400` - // Minimum execution time: 56_932_000 picoseconds. - Weight::from_parts(57_430_000, 0) - .saturating_add(Weight::from_parts(0, 186400)) + // Estimated: `19927` + // Minimum execution time: 57_014_000 picoseconds. + Weight::from_parts(57_397_000, 0) + .saturating_add(Weight::from_parts(0, 19927)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_970, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_967, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -127,12 +129,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `95` - // Estimated: `3750` - // Minimum execution time: 13_727_000 picoseconds. - Weight::from_parts(13_878_000, 0) - .saturating_add(Weight::from_parts(0, 3750)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(866, 0).saturating_mul(s.into())) + // Estimated: `3560` + // Minimum execution time: 14_407_000 picoseconds. + Weight::from_parts(14_619_000, 0) + .saturating_add(Weight::from_parts(0, 3560)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(859, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -143,10 +145,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_queue_action() -> Weight { // Proof Size summary in bytes: // Measured: `4251` - // Estimated: `13452` - // Minimum execution time: 19_034_000 picoseconds. - Weight::from_parts(20_025_000, 0) - .saturating_add(Weight::from_parts(0, 13452)) + // Estimated: `7716` + // Minimum execution time: 20_892_000 picoseconds. + Weight::from_parts(21_330_000, 0) + .saturating_add(Weight::from_parts(0, 7716)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -158,12 +160,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn add_trusted_validation_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `6986` - // Minimum execution time: 7_959_000 picoseconds. - Weight::from_parts(8_157_000, 0) - .saturating_add(Weight::from_parts(0, 6986)) + // Estimated: `3493` + // Minimum execution time: 8_643_000 picoseconds. + Weight::from_parts(8_743_000, 0) + .saturating_add(Weight::from_parts(0, 3493)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_956, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_949, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,10 +176,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn poke_unused_validation_code() -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `3521` - // Minimum execution time: 5_960_000 picoseconds. - Weight::from_parts(6_182_000, 0) - .saturating_add(Weight::from_parts(0, 3521)) + // Estimated: `3493` + // Minimum execution time: 6_322_000 picoseconds. + Weight::from_parts(6_500_000, 0) + .saturating_add(Weight::from_parts(0, 3493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,10 +192,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn include_pvf_check_statement() -> Weight { // Proof Size summary in bytes: // Measured: `26645` - // Estimated: `86370` - // Minimum execution time: 87_957_000 picoseconds. - Weight::from_parts(89_200_000, 0) - .saturating_add(Weight::from_parts(0, 86370)) + // Estimated: `30110` + // Minimum execution time: 88_015_000 picoseconds. + Weight::from_parts(89_436_000, 0) + .saturating_add(Weight::from_parts(0, 30110)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -214,10 +216,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { // Proof Size summary in bytes: // Measured: `27199` - // Estimated: `201283` - // Minimum execution time: 784_285_000 picoseconds. - Weight::from_parts(790_260_000, 0) - .saturating_add(Weight::from_parts(0, 201283)) + // Estimated: `30664` + // Minimum execution time: 799_995_000 picoseconds. + Weight::from_parts(806_270_000, 0) + .saturating_add(Weight::from_parts(0, 30664)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(104)) } @@ -230,10 +232,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { // Proof Size summary in bytes: // Measured: `27177` - // Estimated: `87966` - // Minimum execution time: 86_970_000 picoseconds. - Weight::from_parts(87_886_000, 0) - .saturating_add(Weight::from_parts(0, 87966)) + // Estimated: `30642` + // Minimum execution time: 87_373_000 picoseconds. + Weight::from_parts(88_419_000, 0) + .saturating_add(Weight::from_parts(0, 30642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -250,10 +252,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { // Proof Size summary in bytes: // Measured: `26667` - // Estimated: `144720` - // Minimum execution time: 621_464_000 picoseconds. - Weight::from_parts(627_840_000, 0) - .saturating_add(Weight::from_parts(0, 144720)) + // Estimated: `30132` + // Minimum execution time: 632_844_000 picoseconds. + Weight::from_parts(641_036_000, 0) + .saturating_add(Weight::from_parts(0, 30132)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -266,10 +268,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { // Proof Size summary in bytes: // Measured: `26645` - // Estimated: `86370` - // Minimum execution time: 86_876_000 picoseconds. - Weight::from_parts(87_789_000, 0) - .saturating_add(Weight::from_parts(0, 86370)) + // Estimated: `30110` + // Minimum execution time: 86_854_000 picoseconds. + Weight::from_parts(88_145_000, 0) + .saturating_add(Weight::from_parts(0, 30110)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs b/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs index 1113d4bc06a1..42eb1650d929 100644 --- a/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::paras_inherent`. pub struct WeightInfo(PhantomData); @@ -83,6 +85,8 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured) /// Storage: Dmp DownwardMessageQueues (r:1 w:1) /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:1) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: Hrmp HrmpChannelDigests (r:1 w:1) /// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured) /// Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -111,14 +115,14 @@ impl runtime_parachains::paras_inherent::WeightInfo for fn enter_variable_disputes(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `50561` - // Estimated: `1478228 + v * (23 ±0)` - // Minimum execution time: 768_115_000 picoseconds. - Weight::from_parts(294_738_363, 0) - .saturating_add(Weight::from_parts(0, 1478228)) - // Standard Error: 18_829 - .saturating_add(Weight::from_parts(48_431_584, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(28)) - .saturating_add(T::DbWeight::get().writes(16)) + // Estimated: `56501 + v * (23 ±0)` + // Minimum execution time: 767_903_000 picoseconds. + Weight::from_parts(302_720_945, 0) + .saturating_add(Weight::from_parts(0, 56501)) + // Standard Error: 24_056 + .saturating_add(Weight::from_parts(48_074_394, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(29)) + .saturating_add(T::DbWeight::get().writes(17)) .saturating_add(Weight::from_parts(0, 23).saturating_mul(v.into())) } /// Storage: ParaInherent Included (r:1 w:1) @@ -151,6 +155,8 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured) /// Storage: Dmp DownwardMessageQueues (r:1 w:1) /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:1) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: Hrmp HrmpChannelDigests (r:1 w:1) /// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured) /// Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -184,12 +190,12 @@ impl runtime_parachains::paras_inherent::WeightInfo for fn enter_bitfields() -> Weight { // Proof Size summary in bytes: // Measured: `42395` - // Estimated: `1200183` - // Minimum execution time: 322_846_000 picoseconds. - Weight::from_parts(333_533_000, 0) - .saturating_add(Weight::from_parts(0, 1200183)) - .saturating_add(T::DbWeight::get().reads(26)) - .saturating_add(T::DbWeight::get().writes(17)) + // Estimated: `48335` + // Minimum execution time: 327_582_000 picoseconds. + Weight::from_parts(333_866_000, 0) + .saturating_add(Weight::from_parts(0, 48335)) + .saturating_add(T::DbWeight::get().reads(27)) + .saturating_add(T::DbWeight::get().writes(18)) } /// Storage: ParaInherent Included (r:1 w:1) /// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured) @@ -221,6 +227,8 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured) /// Storage: Dmp DownwardMessageQueues (r:1 w:1) /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:1) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: Hrmp HrmpChannelDigests (r:1 w:1) /// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured) /// Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -257,14 +265,14 @@ impl runtime_parachains::paras_inherent::WeightInfo for fn enter_backed_candidates_variable(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `42426` - // Estimated: `1252851` - // Minimum execution time: 5_562_919_000 picoseconds. - Weight::from_parts(788_126_549, 0) - .saturating_add(Weight::from_parts(0, 1252851)) - // Standard Error: 40_209 - .saturating_add(Weight::from_parts(47_710_957, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(29)) - .saturating_add(T::DbWeight::get().writes(16)) + // Estimated: `48366` + // Minimum execution time: 5_553_408_000 picoseconds. + Weight::from_parts(793_193_886, 0) + .saturating_add(Weight::from_parts(0, 48366)) + // Standard Error: 35_242 + .saturating_add(Weight::from_parts(47_466_619, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(30)) + .saturating_add(T::DbWeight::get().writes(17)) } /// Storage: ParaInherent Included (r:1 w:1) /// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured) @@ -296,6 +304,8 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured) /// Storage: Dmp DownwardMessageQueues (r:1 w:1) /// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured) + /// Storage: Dmp DeliveryFeeFactor (r:1 w:1) + /// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured) /// Storage: Hrmp HrmpChannelDigests (r:1 w:1) /// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured) /// Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -335,11 +345,11 @@ impl runtime_parachains::paras_inherent::WeightInfo for fn enter_backed_candidate_code_upgrade() -> Weight { // Proof Size summary in bytes: // Measured: `42453` - // Estimated: `1345443` - // Minimum execution time: 32_601_053_000 picoseconds. - Weight::from_parts(32_810_866_000, 0) - .saturating_add(Weight::from_parts(0, 1345443)) - .saturating_add(T::DbWeight::get().reads(31)) - .saturating_add(T::DbWeight::get().writes(16)) + // Estimated: `48393` + // Minimum execution time: 32_607_954_000 picoseconds. + Weight::from_parts(33_000_333_000, 0) + .saturating_add(Weight::from_parts(0, 48393)) + .saturating_add(T::DbWeight::get().reads(32)) + .saturating_add(T::DbWeight::get().writes(17)) } } diff --git a/runtime/westend/src/weights/runtime_parachains_ump.rs b/runtime/westend/src/weights/runtime_parachains_ump.rs index 2b0de70b83d1..13b291e867d3 100644 --- a/runtime/westend/src/weights/runtime_parachains_ump.rs +++ b/runtime/westend/src/weights/runtime_parachains_ump.rs @@ -13,10 +13,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . + //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -38,9 +39,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions for `runtime_parachains::ump`. pub struct WeightInfo(PhantomData); @@ -50,11 +52,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_964_000 picoseconds. - Weight::from_parts(6_084_000, 0) + // Minimum execution time: 6_172_000 picoseconds. + Weight::from_parts(6_259_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 8 - .saturating_add(Weight::from_parts(1_395, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_359, 0).saturating_mul(s.into())) } /// Storage: Ump NeedsDispatch (r:1 w:1) /// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured) @@ -67,10 +69,10 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn clean_ump_after_outgoing() -> Weight { // Proof Size summary in bytes: // Measured: `206` - // Estimated: `3794` - // Minimum execution time: 9_744_000 picoseconds. - Weight::from_parts(10_070_000, 0) - .saturating_add(Weight::from_parts(0, 3794)) + // Estimated: `1691` + // Minimum execution time: 9_533_000 picoseconds. + Weight::from_parts(9_765_000, 0) + .saturating_add(Weight::from_parts(0, 1691)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -81,10 +83,10 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn service_overweight() -> Weight { // Proof Size summary in bytes: // Measured: `223` - // Estimated: `5177` - // Minimum execution time: 24_463_000 picoseconds. - Weight::from_parts(24_903_000, 0) - .saturating_add(Weight::from_parts(0, 5177)) + // Estimated: `3688` + // Minimum execution time: 23_648_000 picoseconds. + Weight::from_parts(23_848_000, 0) + .saturating_add(Weight::from_parts(0, 3688)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) }