mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 19:51:02 +00:00
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:
@@ -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))
|
||||
}
|
||||
|
||||
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user