update weights (sync with 0.9.42) (#7149)

* polkadot: update weights

* westend: update weights

* kusama: update weights

* rococo: update weights
This commit is contained in:
Mara Robin B
2023-05-02 15:12:47 +02:00
committed by GitHub
parent 0ae0393042
commit d50ff483f8
163 changed files with 7550 additions and 6818 deletions
@@ -13,9 +13,10 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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)]
@@ -13,9 +13,10 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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)]
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -50,8 +52,8 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,13 +54,13 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -50,22 +52,22 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// 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()))
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -56,10 +58,10 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -56,13 +58,13 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -60,13 +62,13 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// The range of component `d` is `[0, 16384]`.
fn add_child_bounty(d: u32, ) -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
fn propose_curator() -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn accept_curator() -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn unassign_curator() -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
fn award_child_bounty() -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn claim_child_bounty() -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_child_bounty_added() -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_child_bounty_active() -> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -53,16 +55,18 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -63,11 +65,11 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -69,6 +71,8 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// 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<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// 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<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// 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<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// 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<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// 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<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
// 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,11 +54,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -60,17 +62,17 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -51,8 +53,8 @@ impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
// 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))
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -50,11 +52,11 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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))
}
+111 -99
View File
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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,97 +39,148 @@
#![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<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
/// 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: 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: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, 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: 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: `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 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: `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: 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 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 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))
// 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)
@@ -139,64 +191,24 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
/// 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 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: `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))
// 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(5))
}
/// 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: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)
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))
.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)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, 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 {
// 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))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
/// 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<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -69,6 +71,8 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -54,11 +56,11 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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))
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,11 +54,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -56,10 +58,10 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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())))
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -55,11 +57,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -53,11 +55,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -51,8 +53,8 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -54,10 +56,10 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -53,16 +55,18 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -51,20 +53,20 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
/// 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -54,10 +56,10 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
/// 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -50,18 +52,18 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -49,46 +51,52 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -51,11 +53,11 @@ impl<T: frame_system::Config> pallet_whitelist::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_whitelist::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_whitelist::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_whitelist::WeightInfo for WeightInfo<T> {
/// 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))
}
@@ -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<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,10 +54,10 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -59,14 +61,16 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -53,15 +55,17 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -54,10 +56,10 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,10 +54,10 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn force_lease() -> 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<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn manage_lease_period_start(c: u32, t: u32, ) -> 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<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn clear_all_leases() -> 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<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn trigger_onboard() -> 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))
}
@@ -13,36 +13,36 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -56,10 +56,10 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -51,8 +53,8 @@ impl<T: frame_system::Config> 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))
}
@@ -13,36 +13,36 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -55,8 +55,6 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -64,10 +66,10 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,11 +54,11 @@ impl<T: frame_system::Config> 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()))
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -61,11 +63,11 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -83,6 +85,8 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -50,11 +52,11 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,9 +13,10 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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)]
@@ -13,9 +13,10 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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)]
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -50,8 +52,8 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,13 +54,13 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -50,22 +52,22 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// 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()))
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -56,10 +58,10 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -51,8 +53,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -56,13 +58,13 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -60,13 +62,13 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// The range of component `d` is `[0, 16384]`.
fn add_child_bounty(d: u32, ) -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
fn propose_curator() -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn accept_curator() -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn unassign_curator() -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
fn award_child_bounty() -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
fn claim_child_bounty() -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_child_bounty_added() -> 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<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_child_bounty_active() -> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -62,20 +64,20 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -62,20 +64,20 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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()))
}
}
@@ -13,21 +13,22 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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: `<UNKNOWN>`
//! 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<T>(PhantomData<T>);
@@ -53,16 +55,18 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -56,10 +58,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -64,10 +66,10 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -55,19 +57,21 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -69,6 +71,8 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// 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<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
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<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// 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<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
/// 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<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
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<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
// 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,11 +54,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -60,17 +62,17 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -51,8 +53,8 @@ impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
// 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))
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -57,15 +59,15 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
/// 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -50,11 +52,11 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -69,6 +71,8 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -54,11 +56,11 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// 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))
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,11 +54,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// 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))
}
@@ -13,21 +13,22 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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: `<UNKNOWN>`
//! 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<T>(PhantomData<T>);
@@ -53,11 +55,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -51,8 +53,8 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -54,10 +56,10 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -53,16 +55,18 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,10 +54,10 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
// 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -53,12 +55,12 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -54,10 +56,10 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
/// 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -50,18 +52,18 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -49,46 +51,52 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
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))
}
}
@@ -13,21 +13,22 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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: `<UNKNOWN>`
//! 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<T>(PhantomData<T>);
@@ -52,10 +54,10 @@ impl<T: frame_system::Config> pallet_whitelist::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_whitelist::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_whitelist::WeightInfo for WeightInfo<T> {
/// 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))
}
@@ -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<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,10 +54,10 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -59,14 +61,16 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -53,15 +55,17 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -54,10 +56,10 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,10 +54,10 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn force_lease() -> 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<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn manage_lease_period_start(c: u32, t: u32, ) -> 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<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn clear_all_leases() -> 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<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn trigger_onboard() -> 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))
}
@@ -13,36 +13,36 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -58,10 +58,10 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -51,8 +53,8 @@ impl<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -65,11 +67,11 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -52,11 +54,11 @@ impl<T: frame_system::Config> 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()))
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -61,12 +63,12 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -85,6 +87,8 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -50,11 +52,11 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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))
}
@@ -13,9 +13,10 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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)]
@@ -13,9 +13,10 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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)]
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -50,8 +52,8 @@ impl<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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<T: frame_system::Config> 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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -50,8 +52,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// 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()))
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
/// 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<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
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()))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -57,12 +59,12 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
// 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))
}
}
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! 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<T>(PhantomData<T>);
@@ -62,20 +64,20 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// 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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
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()))
}
}

Some files were not shown because too many files have changed in this diff Show More