mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
update weights (sync with 0.9.33) (#6362)
* update weights (0.9.33) (#6299) * kusama: update weights * polkadot: update weights * rococo: update weights * westend: update weights * fix deps * Resolve merge Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Reset Kusama whitelist weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Generated
+10
@@ -3313,7 +3313,9 @@ dependencies = [
|
||||
"polkadot-primitives",
|
||||
"polkadot-runtime-common",
|
||||
"smallvec",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"sp-weights",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -6958,7 +6960,9 @@ dependencies = [
|
||||
"polkadot-primitives",
|
||||
"polkadot-runtime-common",
|
||||
"smallvec",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"sp-weights",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -8143,7 +8147,9 @@ dependencies = [
|
||||
"polkadot-primitives",
|
||||
"polkadot-runtime-common",
|
||||
"smallvec",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"sp-weights",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -11053,7 +11059,9 @@ dependencies = [
|
||||
"polkadot-primitives",
|
||||
"polkadot-runtime-common",
|
||||
"smallvec",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"sp-weights",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -12294,7 +12302,9 @@ dependencies = [
|
||||
"polkadot-primitives",
|
||||
"polkadot-runtime-common",
|
||||
"smallvec",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"sp-weights",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
@@ -10,10 +10,14 @@ smallvec = "1.8.0"
|
||||
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
primitives = { package = "polkadot-primitives", path = "../../../primitives", default-features = false }
|
||||
runtime-common = { package = "polkadot-runtime-common", path = "../../common", default-features = false }
|
||||
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
||||
sp-weights = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
||||
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"sp-runtime/std"
|
||||
"sp-core/std",
|
||||
"sp-runtime/std",
|
||||
"sp-weights/std"
|
||||
]
|
||||
|
||||
@@ -1,28 +1,26 @@
|
||||
// This file is part of Substrate.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Copyright (C) 2022 Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Polkadot is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// 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: 2022-08-19 (Y/M/D)
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16 (Y/M/D)
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
//! WEIGHT-PATH: `runtime/kusama/constants/src/weights/`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot
|
||||
@@ -34,32 +32,31 @@
|
||||
// --weight-path=runtime/kusama/constants/src/weights/
|
||||
// --warmup=10
|
||||
// --repeat=100
|
||||
// --header=./file_header.txt
|
||||
|
||||
use frame_support::{
|
||||
parameter_types,
|
||||
weights::{constants::WEIGHT_PER_NANOS, Weight},
|
||||
};
|
||||
use sp_core::parameter_types;
|
||||
use sp_weights::{constants::WEIGHT_PER_NANOS, Weight};
|
||||
|
||||
parameter_types! {
|
||||
/// Time to execute an empty block.
|
||||
/// Calculated by multiplying the *Average* with `1` and adding `0`.
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 6_094_385, 6_351_993
|
||||
/// Average: 6_192_341
|
||||
/// Median: 6_193_838
|
||||
/// Std-Dev: 63893.84
|
||||
/// Min, Max: 6_665_440, 6_986_371
|
||||
/// Average: 6_731_894
|
||||
/// Median: 6_723_700
|
||||
/// Std-Dev: 49280.83
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 6_332_047
|
||||
/// 95th: 6_308_225
|
||||
/// 75th: 6_236_204
|
||||
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(6_192_341);
|
||||
/// 99th: 6_876_251
|
||||
/// 95th: 6_811_463
|
||||
/// 75th: 6_751_221
|
||||
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(6_731_894);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test_weights {
|
||||
use frame_support::weights::constants;
|
||||
use sp_weights::constants;
|
||||
|
||||
/// Checks that the weight exists and is sane.
|
||||
// NOTE: If this test fails but you are sure that the generated values are fine,
|
||||
|
||||
@@ -1,27 +1,26 @@
|
||||
// This file is part of Substrate.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Copyright (C) 2022 Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Polkadot is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// 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: 2022-04-20 (Y/M/D)
|
||||
//! DATE: 2022-11-16 (Y/M/D)
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
//! WEIGHT-PATH: `runtime/kusama/constants/src/weights/`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot
|
||||
@@ -33,32 +32,31 @@
|
||||
// --weight-path=runtime/kusama/constants/src/weights/
|
||||
// --warmup=10
|
||||
// --repeat=100
|
||||
// --header=./file_header.txt
|
||||
|
||||
use frame_support::{
|
||||
parameter_types,
|
||||
weights::{constants::WEIGHT_PER_NANOS, Weight},
|
||||
};
|
||||
use sp_core::parameter_types;
|
||||
use sp_weights::{constants::WEIGHT_PER_NANOS, Weight};
|
||||
|
||||
parameter_types! {
|
||||
/// Time to execute a NO-OP extrinsic, for example `System::remark`.
|
||||
/// Calculated by multiplying the *Average* with `1` and adding `0`.
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats [NS]:
|
||||
/// Min, Max: 85_946, 88_408
|
||||
/// Average: 86_309
|
||||
/// Median: 86_213
|
||||
/// Std-Dev: 345.03
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 94_359, 96_436
|
||||
/// Average: 94_889
|
||||
/// Median: 94_839
|
||||
/// Std-Dev: 369.49
|
||||
///
|
||||
/// Percentiles [NS]:
|
||||
/// 99th: 87_527
|
||||
/// 95th: 86_901
|
||||
/// 75th: 86_308
|
||||
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(86_309);
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 96_279
|
||||
/// 95th: 95_584
|
||||
/// 75th: 95_005
|
||||
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(94_889);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test_weights {
|
||||
use frame_support::weights::constants;
|
||||
use sp_weights::constants;
|
||||
|
||||
/// Checks that the weight exists and is sane.
|
||||
// NOTE: If this test fails but you are sure that the generated values are fine,
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `frame_benchmarking::baseline`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_benchmarking::baseline`.
|
||||
@@ -46,46 +46,54 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn addition(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(114_000 as u64)
|
||||
// Minimum execution time: 102 nanoseconds.
|
||||
Weight::from_ref_time(153_256 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn subtraction(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(125_000 as u64)
|
||||
// Minimum execution time: 104 nanoseconds.
|
||||
Weight::from_ref_time(159_150 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn multiplication(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(116_000 as u64)
|
||||
// Minimum execution time: 106 nanoseconds.
|
||||
Weight::from_ref_time(155_325 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn division(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(115_000 as u64)
|
||||
// Minimum execution time: 102 nanoseconds.
|
||||
Weight::from_ref_time(148_483 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn hashing(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_441_790_000 as u64)
|
||||
// Standard Error: 126_000
|
||||
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 19_966_061 nanoseconds.
|
||||
Weight::from_ref_time(20_167_025_347 as u64)
|
||||
// Standard Error: 298_405
|
||||
.saturating_add(Weight::from_ref_time(1_324_681 as u64).saturating_mul(i as u64))
|
||||
}
|
||||
/// The range of component `i` is `[1, 100]`.
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn sr25519_verification(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 35_000
|
||||
.saturating_add(Weight::from_ref_time(47_909_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 136 nanoseconds.
|
||||
Weight::from_ref_time(174_000 as u64)
|
||||
// Standard Error: 17_607
|
||||
.saturating_add(Weight::from_ref_time(47_209_113 as u64).saturating_mul(i as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_read(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(1_998_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 145 nanoseconds.
|
||||
Weight::from_ref_time(154_000 as u64)
|
||||
// Standard Error: 4_008
|
||||
.saturating_add(Weight::from_ref_time(1_977_799 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_write(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(338_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 109 nanoseconds.
|
||||
Weight::from_ref_time(128_000 as u64)
|
||||
// Standard Error: 804
|
||||
.saturating_add(Weight::from_ref_time(325_284 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `frame_election_provider_support`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_election_provider_support`.
|
||||
@@ -48,20 +48,22 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `d` is `[5, 16]`.
|
||||
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 56_000
|
||||
.saturating_add(Weight::from_ref_time(13_944_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 4_876_000
|
||||
.saturating_add(Weight::from_ref_time(2_223_649_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 5_474_633 nanoseconds.
|
||||
Weight::from_ref_time(5_525_752_000 as u64)
|
||||
// Standard Error: 135_558
|
||||
.saturating_add(Weight::from_ref_time(5_545_241 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 13_859_031
|
||||
.saturating_add(Weight::from_ref_time(1_538_596_617 as u64).saturating_mul(d as u64))
|
||||
}
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `d` is `[5, 16]`.
|
||||
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 79_000
|
||||
.saturating_add(Weight::from_ref_time(14_480_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 6_844_000
|
||||
.saturating_add(Weight::from_ref_time(2_525_332_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 4_309_239 nanoseconds.
|
||||
Weight::from_ref_time(4_353_424_000 as u64)
|
||||
// Standard Error: 145_409
|
||||
.saturating_add(Weight::from_ref_time(5_482_164 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 14_866_111
|
||||
.saturating_add(Weight::from_ref_time(1_765_233_611 as u64).saturating_mul(d as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `frame_system`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_system`.
|
||||
@@ -46,45 +46,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(882_000 as u64)
|
||||
// Minimum execution time: 3_661 nanoseconds.
|
||||
Weight::from_ref_time(3_719_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(411 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Minimum execution time: 12_500 nanoseconds.
|
||||
Weight::from_ref_time(12_792_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_770 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||
fn set_heap_pages() -> Weight {
|
||||
Weight::from_ref_time(7_344_000 as u64)
|
||||
// Minimum execution time: 8_514 nanoseconds.
|
||||
Weight::from_ref_time(8_736_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(610_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 3_377 nanoseconds.
|
||||
Weight::from_ref_time(3_436_000 as u64)
|
||||
// Standard Error: 1_938
|
||||
.saturating_add(Weight::from_ref_time(603_404 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(454_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 3_660 nanoseconds.
|
||||
Weight::from_ref_time(3_741_000 as u64)
|
||||
// Standard Error: 927
|
||||
.saturating_add(Weight::from_ref_time(434_412 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `p` is `[1, 1000]`.
|
||||
/// The range of component `p` is `[0, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(978_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 4_929 nanoseconds.
|
||||
Weight::from_ref_time(5_084_000 as u64)
|
||||
// Standard Error: 1_255
|
||||
.saturating_add(Weight::from_ref_time(978_082 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_bags_list`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_bags_list`.
|
||||
@@ -49,7 +49,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
fn rebag_non_terminal() -> Weight {
|
||||
Weight::from_ref_time(61_057_000 as u64)
|
||||
// Minimum execution time: 62_727 nanoseconds.
|
||||
Weight::from_ref_time(64_215_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -58,7 +59,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn rebag_terminal() -> Weight {
|
||||
Weight::from_ref_time(59_674_000 as u64)
|
||||
// Minimum execution time: 61_907 nanoseconds.
|
||||
Weight::from_ref_time(64_148_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -68,7 +70,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
fn put_in_front_of() -> Weight {
|
||||
Weight::from_ref_time(60_844_000 as u64)
|
||||
// Minimum execution time: 61_775 nanoseconds.
|
||||
Weight::from_ref_time(62_422_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_balances`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_balances`.
|
||||
@@ -46,43 +46,50 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(39_458_000 as u64)
|
||||
// Minimum execution time: 40_902 nanoseconds.
|
||||
Weight::from_ref_time(41_638_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
Weight::from_ref_time(28_773_000 as u64)
|
||||
// Minimum execution time: 30_093 nanoseconds.
|
||||
Weight::from_ref_time(30_732_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_creating() -> Weight {
|
||||
Weight::from_ref_time(22_414_000 as u64)
|
||||
// Minimum execution time: 23_901 nanoseconds.
|
||||
Weight::from_ref_time(24_238_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_killing() -> Weight {
|
||||
Weight::from_ref_time(25_136_000 as u64)
|
||||
// Minimum execution time: 26_402 nanoseconds.
|
||||
Weight::from_ref_time(27_026_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(39_681_000 as u64)
|
||||
// Minimum execution time: 40_328 nanoseconds.
|
||||
Weight::from_ref_time(41_242_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_all() -> Weight {
|
||||
Weight::from_ref_time(33_651_000 as u64)
|
||||
// Minimum execution time: 35_401 nanoseconds.
|
||||
Weight::from_ref_time(36_122_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_unreserve() -> Weight {
|
||||
Weight::from_ref_time(19_448_000 as u64)
|
||||
// Minimum execution time: 20_178 nanoseconds.
|
||||
Weight::from_ref_time(20_435_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_bounties`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_bounties`.
|
||||
@@ -50,43 +50,49 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Bounties Bounties (r:0 w:1)
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn propose_bounty(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_877_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 29_047 nanoseconds.
|
||||
Weight::from_ref_time(30_003_353 as u64)
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(809 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
fn approve_bounty() -> Weight {
|
||||
Weight::from_ref_time(11_971_000 as u64)
|
||||
// Minimum execution time: 11_505 nanoseconds.
|
||||
Weight::from_ref_time(11_831_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(11_213_000 as u64)
|
||||
// Minimum execution time: 11_422 nanoseconds.
|
||||
Weight::from_ref_time(11_716_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(39_351_000 as u64)
|
||||
// Minimum execution time: 40_028 nanoseconds.
|
||||
Weight::from_ref_time(40_648_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(27_149_000 as u64)
|
||||
// Minimum execution time: 27_639 nanoseconds.
|
||||
Weight::from_ref_time(28_480_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
fn award_bounty() -> Weight {
|
||||
Weight::from_ref_time(23_870_000 as u64)
|
||||
// Minimum execution time: 24_826 nanoseconds.
|
||||
Weight::from_ref_time(25_281_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -95,7 +101,8 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn claim_bounty() -> Weight {
|
||||
Weight::from_ref_time(67_658_000 as u64)
|
||||
// Minimum execution time: 67_233 nanoseconds.
|
||||
Weight::from_ref_time(68_242_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -104,7 +111,8 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_proposed() -> Weight {
|
||||
Weight::from_ref_time(41_915_000 as u64)
|
||||
// Minimum execution time: 43_779 nanoseconds.
|
||||
Weight::from_ref_time(44_285_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -113,24 +121,27 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(51_843_000 as u64)
|
||||
// Minimum execution time: 52_893 nanoseconds.
|
||||
Weight::from_ref_time(53_583_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn extend_bounty_expiry() -> Weight {
|
||||
Weight::from_ref_time(19_980_000 as u64)
|
||||
// Minimum execution time: 21_030 nanoseconds.
|
||||
Weight::from_ref_time(21_691_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `b` is `[1, 100]`.
|
||||
// Storage: Bounties Bounties (r:2 w:2)
|
||||
// Storage: System Account (r:4 w:4)
|
||||
/// The range of component `b` is `[0, 100]`.
|
||||
fn spend_funds(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_229_000 as u64)
|
||||
// Standard Error: 23_000
|
||||
.saturating_add(Weight::from_ref_time(25_764_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 7_438 nanoseconds.
|
||||
Weight::from_ref_time(18_396_001 as u64)
|
||||
// Standard Error: 26_725
|
||||
.saturating_add(Weight::from_ref_time(24_975_270 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_child_bounties`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_child_bounties`.
|
||||
@@ -52,9 +52,10 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ChildBounties (r:0 w:1)
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn add_child_bounty(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(51_114_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 51_699 nanoseconds.
|
||||
Weight::from_ref_time(53_278_250 as u64)
|
||||
// Standard Error: 11
|
||||
.saturating_add(Weight::from_ref_time(814 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -62,7 +63,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(18_300_000 as u64)
|
||||
// Minimum execution time: 19_296 nanoseconds.
|
||||
Weight::from_ref_time(19_776_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -70,7 +72,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(32_067_000 as u64)
|
||||
// Minimum execution time: 34_816 nanoseconds.
|
||||
Weight::from_ref_time(35_312_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -78,14 +81,16 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(43_720_000 as u64)
|
||||
// Minimum execution time: 46_811 nanoseconds.
|
||||
Weight::from_ref_time(47_562_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
fn award_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(27_081_000 as u64)
|
||||
// Minimum execution time: 29_189 nanoseconds.
|
||||
Weight::from_ref_time(29_476_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -94,7 +99,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn claim_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(65_901_000 as u64)
|
||||
// Minimum execution time: 69_129 nanoseconds.
|
||||
Weight::from_ref_time(70_082_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -105,7 +111,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_added() -> Weight {
|
||||
Weight::from_ref_time(50_101_000 as u64)
|
||||
// Minimum execution time: 52_958 nanoseconds.
|
||||
Weight::from_ref_time(54_430_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -116,7 +123,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(61_510_000 as u64)
|
||||
// Minimum execution time: 62_510 nanoseconds.
|
||||
Weight::from_ref_time(64_138_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_collective`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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:
|
||||
@@ -27,6 +27,7 @@
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_collective
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -37,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collective`.
|
||||
@@ -45,20 +46,21 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Council Members (r:1 w:1)
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Voting (r:100 w:100)
|
||||
// Storage: Council Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
// Storage: Council Voting (r:100 w:100)
|
||||
/// The range of component `m` is `[0, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
/// The range of component `m` is `[0, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(9_709_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(11_829_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 16_447 nanoseconds.
|
||||
Weight::from_ref_time(16_856_000 as u64)
|
||||
// Standard Error: 46_757
|
||||
.saturating_add(Weight::from_ref_time(5_281_186 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 46_757
|
||||
.saturating_add(Weight::from_ref_time(7_500_991 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -70,11 +72,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_472_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 19_949 nanoseconds.
|
||||
Weight::from_ref_time(19_368_834 as u64)
|
||||
// Standard Error: 22
|
||||
.saturating_add(Weight::from_ref_time(1_917 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 229
|
||||
.saturating_add(Weight::from_ref_time(13_967 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
@@ -84,11 +87,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_282_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 22_295 nanoseconds.
|
||||
Weight::from_ref_time(21_517_404 as u64)
|
||||
// Standard Error: 26
|
||||
.saturating_add(Weight::from_ref_time(1_856 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 271
|
||||
.saturating_add(Weight::from_ref_time(22_820 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
@@ -103,13 +107,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_141_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(22_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(102_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 27_745 nanoseconds.
|
||||
Weight::from_ref_time(28_146_412 as u64)
|
||||
// Standard Error: 71
|
||||
.saturating_add(Weight::from_ref_time(3_378 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 749
|
||||
.saturating_add(Weight::from_ref_time(22_179 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 739
|
||||
.saturating_add(Weight::from_ref_time(108_349 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -118,9 +123,10 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_680_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 27_772 nanoseconds.
|
||||
Weight::from_ref_time(28_486_180 as u64)
|
||||
// Standard Error: 376
|
||||
.saturating_add(Weight::from_ref_time(38_162 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -133,11 +139,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_379_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 30_430 nanoseconds.
|
||||
Weight::from_ref_time(32_906_376 as u64)
|
||||
// Standard Error: 538
|
||||
.saturating_add(Weight::from_ref_time(20_866 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 525
|
||||
.saturating_add(Weight::from_ref_time(84_112 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -152,13 +159,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_122_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 41_328 nanoseconds.
|
||||
Weight::from_ref_time(41_331_557 as u64)
|
||||
// Standard Error: 60
|
||||
.saturating_add(Weight::from_ref_time(1_828 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 645
|
||||
.saturating_add(Weight::from_ref_time(26_460 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 628
|
||||
.saturating_add(Weight::from_ref_time(96_432 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -172,11 +180,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_590_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_541 nanoseconds.
|
||||
Weight::from_ref_time(34_963_525 as u64)
|
||||
// Standard Error: 517
|
||||
.saturating_add(Weight::from_ref_time(26_814 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 505
|
||||
.saturating_add(Weight::from_ref_time(84_716 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -192,13 +201,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_120_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(91_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 42_833 nanoseconds.
|
||||
Weight::from_ref_time(44_229_039 as u64)
|
||||
// Standard Error: 67
|
||||
.saturating_add(Weight::from_ref_time(1_742 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 713
|
||||
.saturating_add(Weight::from_ref_time(22_234 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 695
|
||||
.saturating_add(Weight::from_ref_time(96_563 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -208,9 +218,10 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_325_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 19_172 nanoseconds.
|
||||
Weight::from_ref_time(22_273_247 as u64)
|
||||
// Standard Error: 664
|
||||
.saturating_add(Weight::from_ref_time(95_163 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_collective`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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:
|
||||
@@ -27,6 +27,7 @@
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_collective
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -37,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collective`.
|
||||
@@ -45,20 +46,21 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Voting (r:100 w:100)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
// Storage: TechnicalCommittee Voting (r:100 w:100)
|
||||
/// The range of component `m` is `[0, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
/// The range of component `m` is `[0, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(9_293_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(11_556_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 16_808 nanoseconds.
|
||||
Weight::from_ref_time(17_190_000 as u64)
|
||||
// Standard Error: 46_506
|
||||
.saturating_add(Weight::from_ref_time(5_338_165 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 46_506
|
||||
.saturating_add(Weight::from_ref_time(7_515_702 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -70,11 +72,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_967_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 20_545 nanoseconds.
|
||||
Weight::from_ref_time(19_860_961 as u64)
|
||||
// Standard Error: 18
|
||||
.saturating_add(Weight::from_ref_time(1_865 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 190
|
||||
.saturating_add(Weight::from_ref_time(13_602 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: TechnicalCommittee Members (r:1 w:0)
|
||||
@@ -84,11 +87,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_872_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 23_052 nanoseconds.
|
||||
Weight::from_ref_time(22_008_528 as u64)
|
||||
// Standard Error: 21
|
||||
.saturating_add(Weight::from_ref_time(1_839 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 225
|
||||
.saturating_add(Weight::from_ref_time(21_080 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: TechnicalCommittee Members (r:1 w:0)
|
||||
@@ -103,13 +107,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_426_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(104_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 28_562 nanoseconds.
|
||||
Weight::from_ref_time(29_261_959 as u64)
|
||||
// Standard Error: 70
|
||||
.saturating_add(Weight::from_ref_time(3_503 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 733
|
||||
.saturating_add(Weight::from_ref_time(21_047 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 724
|
||||
.saturating_add(Weight::from_ref_time(113_937 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -118,9 +123,10 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_138_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(38_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 29_024 nanoseconds.
|
||||
Weight::from_ref_time(30_114_505 as u64)
|
||||
// Standard Error: 450
|
||||
.saturating_add(Weight::from_ref_time(39_180 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -133,11 +139,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_287_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 32_178 nanoseconds.
|
||||
Weight::from_ref_time(33_614_789 as u64)
|
||||
// Standard Error: 472
|
||||
.saturating_add(Weight::from_ref_time(22_479 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 461
|
||||
.saturating_add(Weight::from_ref_time(83_882 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -152,13 +159,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_722_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 41_635 nanoseconds.
|
||||
Weight::from_ref_time(42_323_834 as u64)
|
||||
// Standard Error: 55
|
||||
.saturating_add(Weight::from_ref_time(1_697 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 591
|
||||
.saturating_add(Weight::from_ref_time(24_790 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 576
|
||||
.saturating_add(Weight::from_ref_time(96_009 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -172,11 +180,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_303_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(30_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 34_682 nanoseconds.
|
||||
Weight::from_ref_time(35_559_148 as u64)
|
||||
// Standard Error: 495
|
||||
.saturating_add(Weight::from_ref_time(27_860 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 483
|
||||
.saturating_add(Weight::from_ref_time(83_712 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -192,13 +201,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_826_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(93_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 43_702 nanoseconds.
|
||||
Weight::from_ref_time(44_643_929 as u64)
|
||||
// Standard Error: 62
|
||||
.saturating_add(Weight::from_ref_time(1_639 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 660
|
||||
.saturating_add(Weight::from_ref_time(23_244 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 643
|
||||
.saturating_add(Weight::from_ref_time(98_321 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -208,9 +218,10 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_772_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 20_059 nanoseconds.
|
||||
Weight::from_ref_time(22_842_572 as u64)
|
||||
// Standard Error: 625
|
||||
.saturating_add(Weight::from_ref_time(97_244 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
@@ -16,22 +16,21 @@
|
||||
//! Autogenerated weights for `pallet_conviction_voting`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_conviction_voting
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_conviction_voting
|
||||
// --chain=kusama-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
@@ -39,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_conviction_voting`.
|
||||
@@ -49,11 +48,12 @@ impl<T: frame_system::Config> pallet_conviction_voting::WeightInfo for WeightInf
|
||||
// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn vote_new() -> Weight {
|
||||
Weight::from_ref_time(5_652_326_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
// Minimum execution time: 129_807 nanoseconds.
|
||||
Weight::from_ref_time(133_007_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
@@ -61,7 +61,8 @@ impl<T: frame_system::Config> pallet_conviction_voting::WeightInfo for WeightInf
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn vote_existing() -> Weight {
|
||||
Weight::from_ref_time(509_859_000 as u64)
|
||||
// Minimum execution time: 154_191 nanoseconds.
|
||||
Weight::from_ref_time(156_774_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -69,14 +70,16 @@ impl<T: frame_system::Config> pallet_conviction_voting::WeightInfo for WeightInf
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn remove_vote() -> Weight {
|
||||
Weight::from_ref_time(486_638_000 as u64)
|
||||
// Minimum execution time: 128_599 nanoseconds.
|
||||
Weight::from_ref_time(131_816_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:0)
|
||||
fn remove_other_vote() -> Weight {
|
||||
Weight::from_ref_time(74_517_000 as u64)
|
||||
// Minimum execution time: 71_872 nanoseconds.
|
||||
Weight::from_ref_time(73_800_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -87,12 +90,13 @@ impl<T: frame_system::Config> pallet_conviction_voting::WeightInfo for WeightInf
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 512]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(78_376_000 as u64)
|
||||
// Standard Error: 2_253_708
|
||||
.saturating_add(Weight::from_ref_time(221_428_037 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
// Minimum execution time: 77_152 nanoseconds.
|
||||
Weight::from_ref_time(706_169_111 as u64)
|
||||
// Standard Error: 59_459
|
||||
.saturating_add(Weight::from_ref_time(26_675_761 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
|
||||
}
|
||||
// Storage: ConvictionVoting VotingFor (r:2 w:2)
|
||||
@@ -100,19 +104,21 @@ impl<T: frame_system::Config> pallet_conviction_voting::WeightInfo for WeightInf
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 512]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(55_946_000 as u64)
|
||||
// Standard Error: 2_268_396
|
||||
.saturating_add(Weight::from_ref_time(221_648_859 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
// Minimum execution time: 57_429 nanoseconds.
|
||||
Weight::from_ref_time(678_011_885 as u64)
|
||||
// Standard Error: 59_201
|
||||
.saturating_add(Weight::from_ref_time(26_729_943 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
|
||||
}
|
||||
// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn unlock() -> Weight {
|
||||
Weight::from_ref_time(93_068_000 as u64)
|
||||
// Minimum execution time: 91_278 nanoseconds.
|
||||
Weight::from_ref_time(93_505_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_democracy`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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:
|
||||
@@ -32,7 +32,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -49,13 +49,15 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
// Storage: Democracy DepositOf (r:0 w:1)
|
||||
fn propose() -> Weight {
|
||||
Weight::from_ref_time(42_340_000 as u64)
|
||||
// Minimum execution time: 43_480 nanoseconds.
|
||||
Weight::from_ref_time(44_439_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
fn second() -> Weight {
|
||||
Weight::from_ref_time(38_557_000 as u64)
|
||||
// Minimum execution time: 40_276 nanoseconds.
|
||||
Weight::from_ref_time(41_788_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -63,7 +65,8 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_new() -> Weight {
|
||||
Weight::from_ref_time(48_480_000 as u64)
|
||||
// Minimum execution time: 50_609 nanoseconds.
|
||||
Weight::from_ref_time(51_581_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -71,14 +74,16 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_existing() -> Weight {
|
||||
Weight::from_ref_time(48_553_000 as u64)
|
||||
// Minimum execution time: 50_941 nanoseconds.
|
||||
Weight::from_ref_time(51_356_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Cancellations (r:1 w:1)
|
||||
fn emergency_cancel() -> Weight {
|
||||
Weight::from_ref_time(20_602_000 as u64)
|
||||
// Minimum execution time: 21_573 nanoseconds.
|
||||
Weight::from_ref_time(22_094_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -89,39 +94,45 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:0 w:1)
|
||||
fn blacklist() -> Weight {
|
||||
Weight::from_ref_time(75_265_000 as u64)
|
||||
// Minimum execution time: 78_016 nanoseconds.
|
||||
Weight::from_ref_time(79_651_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
fn external_propose() -> Weight {
|
||||
Weight::from_ref_time(15_498_000 as u64)
|
||||
// Minimum execution time: 17_106 nanoseconds.
|
||||
Weight::from_ref_time(17_287_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_majority() -> Weight {
|
||||
Weight::from_ref_time(4_503_000 as u64)
|
||||
// Minimum execution time: 4_801 nanoseconds.
|
||||
Weight::from_ref_time(4_954_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
Weight::from_ref_time(4_486_000 as u64)
|
||||
// Minimum execution time: 4_671 nanoseconds.
|
||||
Weight::from_ref_time(4_906_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:1)
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn fast_track() -> Weight {
|
||||
Weight::from_ref_time(19_676_000 as u64)
|
||||
// Minimum execution time: 20_734 nanoseconds.
|
||||
Weight::from_ref_time(21_068_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:1)
|
||||
fn veto_external() -> Weight {
|
||||
Weight::from_ref_time(25_443_000 as u64)
|
||||
// Minimum execution time: 26_640 nanoseconds.
|
||||
Weight::from_ref_time(27_058_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -129,13 +140,15 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn cancel_proposal() -> Weight {
|
||||
Weight::from_ref_time(63_468_000 as u64)
|
||||
// Minimum execution time: 66_091 nanoseconds.
|
||||
Weight::from_ref_time(67_119_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn cancel_referendum() -> Weight {
|
||||
Weight::from_ref_time(13_030_000 as u64)
|
||||
// Minimum execution time: 13_879 nanoseconds.
|
||||
Weight::from_ref_time(14_107_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
@@ -143,9 +156,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(5_941_000 as u64)
|
||||
// Standard Error: 2_263
|
||||
.saturating_add(Weight::from_ref_time(2_136_731 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 6_375 nanoseconds.
|
||||
Weight::from_ref_time(9_732_668 as u64)
|
||||
// Standard Error: 4_002
|
||||
.saturating_add(Weight::from_ref_time(2_103_987 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -158,9 +172,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(8_085_000 as u64)
|
||||
// Standard Error: 2_202
|
||||
.saturating_add(Weight::from_ref_time(2_143_624 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 8_604 nanoseconds.
|
||||
Weight::from_ref_time(12_108_221 as u64)
|
||||
// Standard Error: 3_740
|
||||
.saturating_add(Weight::from_ref_time(2_106_843 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -170,9 +185,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_416_000 as u64)
|
||||
// Standard Error: 4_125
|
||||
.saturating_add(Weight::from_ref_time(3_038_258 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 43_169 nanoseconds.
|
||||
Weight::from_ref_time(49_050_100 as u64)
|
||||
// Standard Error: 6_519
|
||||
.saturating_add(Weight::from_ref_time(3_017_381 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -182,9 +198,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_459_000 as u64)
|
||||
// Standard Error: 2_860
|
||||
.saturating_add(Weight::from_ref_time(2_984_453 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 26_214 nanoseconds.
|
||||
Weight::from_ref_time(31_373_892 as u64)
|
||||
// Standard Error: 13_107
|
||||
.saturating_add(Weight::from_ref_time(2_995_678 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -192,7 +209,8 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:0 w:1)
|
||||
fn clear_public_proposals() -> Weight {
|
||||
Weight::from_ref_time(5_200_000 as u64)
|
||||
// Minimum execution time: 5_062 nanoseconds.
|
||||
Weight::from_ref_time(5_265_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
@@ -200,9 +218,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_289_000 as u64)
|
||||
// Standard Error: 2_579
|
||||
.saturating_add(Weight::from_ref_time(125_300 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 25_583 nanoseconds.
|
||||
Weight::from_ref_time(32_527_820 as u64)
|
||||
// Standard Error: 1_608
|
||||
.saturating_add(Weight::from_ref_time(32_882 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -211,9 +230,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_331_000 as u64)
|
||||
// Standard Error: 755
|
||||
.saturating_add(Weight::from_ref_time(90_997 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 30_561 nanoseconds.
|
||||
Weight::from_ref_time(32_558_405 as u64)
|
||||
// Standard Error: 635
|
||||
.saturating_add(Weight::from_ref_time(63_267 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -221,9 +241,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_350_000 as u64)
|
||||
// Standard Error: 1_015
|
||||
.saturating_add(Weight::from_ref_time(104_402 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 16_041 nanoseconds.
|
||||
Weight::from_ref_time(18_765_906 as u64)
|
||||
// Standard Error: 833
|
||||
.saturating_add(Weight::from_ref_time(66_549 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -231,9 +252,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_433_000 as u64)
|
||||
// Standard Error: 980
|
||||
.saturating_add(Weight::from_ref_time(104_660 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 15_811 nanoseconds.
|
||||
Weight::from_ref_time(18_594_645 as u64)
|
||||
// Standard Error: 940
|
||||
.saturating_add(Weight::from_ref_time(72_328 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_election_provider_multi_phase`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_election_provider_multi_phase`.
|
||||
@@ -53,33 +53,38 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
// Storage: Staking ForceEra (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
fn on_initialize_nothing() -> Weight {
|
||||
Weight::from_ref_time(15_619_000 as u64)
|
||||
// Minimum execution time: 15_765 nanoseconds.
|
||||
Weight::from_ref_time(16_178_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
fn on_initialize_open_signed() -> Weight {
|
||||
Weight::from_ref_time(14_464_000 as u64)
|
||||
// Minimum execution time: 15_294 nanoseconds.
|
||||
Weight::from_ref_time(15_649_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
fn on_initialize_open_unsigned() -> Weight {
|
||||
Weight::from_ref_time(14_167_000 as u64)
|
||||
// Minimum execution time: 14_776 nanoseconds.
|
||||
Weight::from_ref_time(15_204_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
|
||||
fn finalize_signed_phase_accept_solution() -> Weight {
|
||||
Weight::from_ref_time(28_601_000 as u64)
|
||||
// Minimum execution time: 29_172 nanoseconds.
|
||||
Weight::from_ref_time(29_735_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn finalize_signed_phase_reject_solution() -> Weight {
|
||||
Weight::from_ref_time(22_410_000 as u64)
|
||||
// Minimum execution time: 23_324 nanoseconds.
|
||||
Weight::from_ref_time(23_675_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -89,11 +94,12 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
/// 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 {
|
||||
Weight::from_ref_time(14_136_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(554_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 615_137 nanoseconds.
|
||||
Weight::from_ref_time(17_886_193 as u64)
|
||||
// Standard Error: 2_263
|
||||
.saturating_add(Weight::from_ref_time(558_009 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 4_524
|
||||
.saturating_add(Weight::from_ref_time(75_903 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
@@ -108,12 +114,11 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn elect_queued(a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 11_000
|
||||
.saturating_add(Weight::from_ref_time(1_167_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 17_000
|
||||
.saturating_add(Weight::from_ref_time(180_000 as u64).saturating_mul(d as u64))
|
||||
fn elect_queued(a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 376_033 nanoseconds.
|
||||
Weight::from_ref_time(379_882_000 as u64)
|
||||
// Standard Error: 8_877
|
||||
.saturating_add(Weight::from_ref_time(562_200 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as u64))
|
||||
}
|
||||
@@ -124,7 +129,8 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
|
||||
fn submit() -> Weight {
|
||||
Weight::from_ref_time(49_945_000 as u64)
|
||||
// Minimum execution time: 50_778 nanoseconds.
|
||||
Weight::from_ref_time(51_219_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -139,16 +145,11 @@ 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 {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(874_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(39_000 as u64).saturating_mul(t as u64))
|
||||
// Standard Error: 23_000
|
||||
.saturating_add(Weight::from_ref_time(10_873_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 35_000
|
||||
.saturating_add(Weight::from_ref_time(2_257_000 as u64).saturating_mul(d as u64))
|
||||
fn submit_unsigned(_v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 6_866_951 nanoseconds.
|
||||
Weight::from_ref_time(6_994_679_000 as u64)
|
||||
// Standard Error: 59_999
|
||||
.saturating_add(Weight::from_ref_time(7_093_483 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -160,16 +161,13 @@ 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 feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 12_000
|
||||
.saturating_add(Weight::from_ref_time(895_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 25_000
|
||||
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(t as u64))
|
||||
// Standard Error: 42_000
|
||||
.saturating_add(Weight::from_ref_time(8_673_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 63_000
|
||||
.saturating_add(Weight::from_ref_time(1_598_000 as u64).saturating_mul(d as u64))
|
||||
fn feasibility_check(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 5_710_244 nanoseconds.
|
||||
Weight::from_ref_time(5_739_503_000 as u64)
|
||||
// Standard Error: 16_787
|
||||
.saturating_add(Weight::from_ref_time(131_224 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 49_748
|
||||
.saturating_add(Weight::from_ref_time(5_312_456 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_elections_phragmen`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_elections_phragmen`.
|
||||
@@ -51,9 +51,10 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[1, 16]`.
|
||||
fn vote_equal(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_711_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(201_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 31_673 nanoseconds.
|
||||
Weight::from_ref_time(34_361_005 as u64)
|
||||
// Standard Error: 9_644
|
||||
.saturating_add(Weight::from_ref_time(93_408 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -64,9 +65,10 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_more(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_536_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(173_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 41_200 nanoseconds.
|
||||
Weight::from_ref_time(42_889_832 as u64)
|
||||
// Standard Error: 4_165
|
||||
.saturating_add(Weight::from_ref_time(223_881 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -77,16 +79,18 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_less(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_543_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 42_012 nanoseconds.
|
||||
Weight::from_ref_time(43_635_852 as u64)
|
||||
// Standard Error: 4_519
|
||||
.saturating_add(Weight::from_ref_time(119_706 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Voting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn remove_voter() -> Weight {
|
||||
Weight::from_ref_time(39_001_000 as u64)
|
||||
// Minimum execution time: 40_370 nanoseconds.
|
||||
Weight::from_ref_time(41_142_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -95,18 +99,20 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:0)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn submit_candidacy(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_806_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(94_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 37_086 nanoseconds.
|
||||
Weight::from_ref_time(28_441_305 as u64)
|
||||
// Standard Error: 1_050
|
||||
.saturating_add(Weight::from_ref_time(91_457 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_558_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 32_127 nanoseconds.
|
||||
Weight::from_ref_time(23_789_781 as u64)
|
||||
// Standard Error: 995
|
||||
.saturating_add(Weight::from_ref_time(71_601 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -116,18 +122,21 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn renounce_candidacy_members() -> Weight {
|
||||
Weight::from_ref_time(44_960_000 as u64)
|
||||
// Minimum execution time: 44_751 nanoseconds.
|
||||
Weight::from_ref_time(46_264_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
fn renounce_candidacy_runners_up() -> Weight {
|
||||
Weight::from_ref_time(34_666_000 as u64)
|
||||
// Minimum execution time: 34_904 nanoseconds.
|
||||
Weight::from_ref_time(36_139_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn remove_member_without_replacement() -> Weight {
|
||||
// Minimum execution time: 2_000_000_000 nanoseconds.
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
@@ -137,7 +146,8 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn remove_member_with_replacement() -> Weight {
|
||||
Weight::from_ref_time(59_021_000 as u64)
|
||||
// Minimum execution time: 59_246 nanoseconds.
|
||||
Weight::from_ref_time(60_848_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -148,13 +158,12 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:5000 w:5000)
|
||||
// Storage: System Account (r:5000 w:5000)
|
||||
/// The range of component `v` is `[5000, 10000]`.
|
||||
/// The range of component `d` is `[1, 5000]`.
|
||||
fn clean_defunct_voters(v: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 88_000
|
||||
.saturating_add(Weight::from_ref_time(60_894_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 88_000
|
||||
.saturating_add(Weight::from_ref_time(379_000 as u64).saturating_mul(d as u64))
|
||||
/// The range of component `d` is `[0, 5000]`.
|
||||
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 279_914_581 nanoseconds.
|
||||
Weight::from_ref_time(280_093_180_000 as u64)
|
||||
// Standard Error: 242_383
|
||||
.saturating_add(Weight::from_ref_time(34_902_791 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
|
||||
@@ -172,14 +181,16 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
/// The range of component `v` is `[1, 10000]`.
|
||||
/// The range of component `e` is `[10000, 160000]`.
|
||||
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 691_000
|
||||
.saturating_add(Weight::from_ref_time(57_805_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 46_000
|
||||
.saturating_add(Weight::from_ref_time(3_139_000 as u64).saturating_mul(e as u64))
|
||||
// Minimum execution time: 29_009_063 nanoseconds.
|
||||
Weight::from_ref_time(29_156_039_000 as u64)
|
||||
// Standard Error: 553_255
|
||||
.saturating_add(Weight::from_ref_time(46_221_121 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 35_504
|
||||
.saturating_add(Weight::from_ref_time(2_367_682 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(265 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,22 +16,21 @@
|
||||
//! Autogenerated weights for `pallet_fast_unstake`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_fast_unstake
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_fast_unstake
|
||||
// --chain=kusama-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
@@ -50,65 +49,73 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: FastUnstake Head (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:0 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
// Storage: Staking SlashingSpans (r:64 w:0)
|
||||
// Storage: Staking Bonded (r:64 w:64)
|
||||
// Storage: Staking Validators (r:64 w:0)
|
||||
// Storage: Staking Nominators (r:64 w:0)
|
||||
// Storage: System Account (r:64 w:64)
|
||||
// Storage: Balances Locks (r:64 w:64)
|
||||
// Storage: Staking Ledger (r:0 w:64)
|
||||
// Storage: Staking Payee (r:0 w:64)
|
||||
fn on_idle_unstake() -> Weight {
|
||||
Weight::from_ref_time(64_798_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
// Minimum execution time: 2_141_174 nanoseconds.
|
||||
Weight::from_ref_time(2_204_649_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(389 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(321 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: FastUnstake Head (r:1 w:1)
|
||||
// Storage: FastUnstake Queue (r:2 w:1)
|
||||
// Storage: FastUnstake Queue (r:65 w:64)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking ErasStakers (r:56 w:0)
|
||||
/// The range of component `x` is `[28, 3584]`.
|
||||
fn on_idle_check(x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(412_389_000 as u64)
|
||||
// Standard Error: 10_902
|
||||
.saturating_add(Weight::from_ref_time(10_950_753 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(64 as u64))
|
||||
// Minimum execution time: 21_964_474 nanoseconds.
|
||||
Weight::from_ref_time(22_227_783_000 as u64)
|
||||
// Standard Error: 498_921
|
||||
.saturating_add(Weight::from_ref_time(624_289_713 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(85 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(66 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: FastUnstake Queue (r:1 w:1)
|
||||
// Storage: FastUnstake Head (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:2 w:2)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
fn register_fast_unstake() -> Weight {
|
||||
Weight::from_ref_time(84_738_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as u64))
|
||||
// Minimum execution time: 124_637 nanoseconds.
|
||||
Weight::from_ref_time(126_193_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(15 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(10 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: FastUnstake Queue (r:1 w:1)
|
||||
// Storage: FastUnstake Head (r:1 w:0)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
fn deregister() -> Weight {
|
||||
Weight::from_ref_time(23_369_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
// Minimum execution time: 50_711 nanoseconds.
|
||||
Weight::from_ref_time(51_537_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1)
|
||||
fn control() -> Weight {
|
||||
Weight::from_ref_time(3_991_000 as u64)
|
||||
// Minimum execution time: 4_008 nanoseconds.
|
||||
Weight::from_ref_time(4_153_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_identity`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_identity`.
|
||||
@@ -47,32 +47,35 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn add_registrar(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_780_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(193_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 16_710 nanoseconds.
|
||||
Weight::from_ref_time(18_118_559 as u64)
|
||||
// Standard Error: 3_051
|
||||
.saturating_add(Weight::from_ref_time(148_040 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn set_identity(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_514_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(323_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 35_847 nanoseconds.
|
||||
Weight::from_ref_time(35_393_868 as u64)
|
||||
// Standard Error: 3_524
|
||||
.saturating_add(Weight::from_ref_time(75_148 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 687
|
||||
.saturating_add(Weight::from_ref_time(306_971 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
// Storage: Identity SuperOf (r:2 w:2)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn set_subs_new(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_130_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(2_089_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 10_340 nanoseconds.
|
||||
Weight::from_ref_time(28_847_479 as u64)
|
||||
// Standard Error: 5_014
|
||||
.saturating_add(Weight::from_ref_time(2_161_226 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -80,12 +83,13 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
// Storage: Identity SuperOf (r:0 w:2)
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_subs_old(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_597_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(891_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 10_122 nanoseconds.
|
||||
Weight::from_ref_time(28_546_493 as u64)
|
||||
// Standard Error: 4_337
|
||||
.saturating_add(Weight::from_ref_time(929_288 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
@@ -94,16 +98,17 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:100)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_657_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(889_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(160_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 51_131 nanoseconds.
|
||||
Weight::from_ref_time(36_991_277 as u64)
|
||||
// Standard Error: 11_013
|
||||
.saturating_add(Weight::from_ref_time(75_731 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 2_150
|
||||
.saturating_add(Weight::from_ref_time(900_334 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 2_150
|
||||
.saturating_add(Weight::from_ref_time(161_480 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -111,65 +116,71 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn request_judgement(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_656_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(332_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 38_002 nanoseconds.
|
||||
Weight::from_ref_time(36_848_336 as u64)
|
||||
// Standard Error: 4_513
|
||||
.saturating_add(Weight::from_ref_time(100_666 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 880
|
||||
.saturating_add(Weight::from_ref_time(327_085 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn cancel_request(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_048_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(334_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 34_116 nanoseconds.
|
||||
Weight::from_ref_time(34_235_732 as u64)
|
||||
// Standard Error: 3_409
|
||||
.saturating_add(Weight::from_ref_time(49_426 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 665
|
||||
.saturating_add(Weight::from_ref_time(323_592 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_fee(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(8_975_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(140_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 8_678 nanoseconds.
|
||||
Weight::from_ref_time(9_613_287 as u64)
|
||||
// Standard Error: 2_285
|
||||
.saturating_add(Weight::from_ref_time(117_905 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_account_id(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_212_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(138_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 8_892 nanoseconds.
|
||||
Weight::from_ref_time(9_735_071 as u64)
|
||||
// Standard Error: 2_239
|
||||
.saturating_add(Weight::from_ref_time(115_282 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_fields(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_088_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 8_783 nanoseconds.
|
||||
Weight::from_ref_time(9_686_212 as u64)
|
||||
// Standard Error: 2_092
|
||||
.saturating_add(Weight::from_ref_time(107_045 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn provide_judgement(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_324_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(334_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 28_056 nanoseconds.
|
||||
Weight::from_ref_time(28_240_411 as u64)
|
||||
// Standard Error: 7_231
|
||||
.saturating_add(Weight::from_ref_time(61_164 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_337
|
||||
.saturating_add(Weight::from_ref_time(546_999 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -178,16 +189,17 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:100)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(46_896_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(892_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 62_459 nanoseconds.
|
||||
Weight::from_ref_time(47_788_369 as u64)
|
||||
// Standard Error: 5_893
|
||||
.saturating_add(Weight::from_ref_time(100_560 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_150
|
||||
.saturating_add(Weight::from_ref_time(907_788 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_150
|
||||
.saturating_add(Weight::from_ref_time(161_942 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -195,11 +207,12 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 99]`.
|
||||
/// The range of component `s` is `[0, 99]`.
|
||||
fn add_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_814_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 32_735 nanoseconds.
|
||||
Weight::from_ref_time(37_928_065 as u64)
|
||||
// Standard Error: 1_523
|
||||
.saturating_add(Weight::from_ref_time(75_465 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -207,9 +220,10 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn rename_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_348_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 14_370 nanoseconds.
|
||||
Weight::from_ref_time(16_434_826 as u64)
|
||||
// Standard Error: 665
|
||||
.saturating_add(Weight::from_ref_time(25_894 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -218,19 +232,21 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn remove_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_193_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 35_617 nanoseconds.
|
||||
Weight::from_ref_time(39_518_606 as u64)
|
||||
// Standard Error: 1_088
|
||||
.saturating_add(Weight::from_ref_time(67_069 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 99]`.
|
||||
/// The range of component `s` is `[0, 99]`.
|
||||
fn quit_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_633_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 26_143 nanoseconds.
|
||||
Weight::from_ref_time(29_067_018 as u64)
|
||||
// Standard Error: 1_342
|
||||
.saturating_add(Weight::from_ref_time(68_986 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_im_online`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_im_online`.
|
||||
@@ -52,11 +52,12 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `k` is `[1, 1000]`.
|
||||
/// The range of component `e` is `[1, 100]`.
|
||||
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(76_533_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(22_000 as u64).saturating_mul(k as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(314_000 as u64).saturating_mul(e as u64))
|
||||
// Minimum execution time: 97_143 nanoseconds.
|
||||
Weight::from_ref_time(78_523_977 as u64)
|
||||
// Standard Error: 267
|
||||
.saturating_add(Weight::from_ref_time(21_647 as u64).saturating_mul(k as u64))
|
||||
// Standard Error: 2_698
|
||||
.saturating_add(Weight::from_ref_time(307_112 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_indices`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_indices`.
|
||||
@@ -46,33 +46,38 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
Weight::from_ref_time(25_146_000 as u64)
|
||||
// Minimum execution time: 26_443 nanoseconds.
|
||||
Weight::from_ref_time(26_877_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(31_999_000 as u64)
|
||||
// Minimum execution time: 33_704 nanoseconds.
|
||||
Weight::from_ref_time(34_123_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn free() -> Weight {
|
||||
Weight::from_ref_time(26_357_000 as u64)
|
||||
// Minimum execution time: 27_656 nanoseconds.
|
||||
Weight::from_ref_time(28_641_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(26_922_000 as u64)
|
||||
// Minimum execution time: 27_860 nanoseconds.
|
||||
Weight::from_ref_time(28_165_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn freeze() -> Weight {
|
||||
Weight::from_ref_time(31_859_000 as u64)
|
||||
// Minimum execution time: 33_354 nanoseconds.
|
||||
Weight::from_ref_time(33_982_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_membership`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_membership`.
|
||||
@@ -50,9 +50,10 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 99]`.
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_903_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(39_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 20_534 nanoseconds.
|
||||
Weight::from_ref_time(21_396_898 as u64)
|
||||
// Standard Error: 468
|
||||
.saturating_add(Weight::from_ref_time(38_585 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -63,9 +64,10 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_263_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(34_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 23_322 nanoseconds.
|
||||
Weight::from_ref_time(24_145_795 as u64)
|
||||
// Standard Error: 405
|
||||
.saturating_add(Weight::from_ref_time(34_076 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -76,9 +78,10 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_495_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 23_397 nanoseconds.
|
||||
Weight::from_ref_time(24_269_522 as u64)
|
||||
// Standard Error: 510
|
||||
.saturating_add(Weight::from_ref_time(45_360 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -89,9 +92,10 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_897_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(162_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 22_278 nanoseconds.
|
||||
Weight::from_ref_time(24_319_110 as u64)
|
||||
// Standard Error: 794
|
||||
.saturating_add(Weight::from_ref_time(148_683 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -102,9 +106,10 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_747_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 23_217 nanoseconds.
|
||||
Weight::from_ref_time(24_958_755 as u64)
|
||||
// Standard Error: 614
|
||||
.saturating_add(Weight::from_ref_time(43_480 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -113,17 +118,21 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn set_prime(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(8_106_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(9_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 8_205 nanoseconds.
|
||||
Weight::from_ref_time(8_676_301 as u64)
|
||||
// Standard Error: 188
|
||||
.saturating_add(Weight::from_ref_time(9_933 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn clear_prime(_m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(4_643_000 as u64)
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
// Minimum execution time: 4_596 nanoseconds.
|
||||
Weight::from_ref_time(4_956_168 as u64)
|
||||
// Standard Error: 134
|
||||
.saturating_add(Weight::from_ref_time(240 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_multisig`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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:
|
||||
@@ -28,11 +28,11 @@
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_multisig
|
||||
// --extrinsic=
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --header=./file_header.txt
|
||||
// --output=runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -46,22 +46,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||
// Minimum execution time: 14_233 nanoseconds.
|
||||
Weight::from_ref_time(14_763_390 as u64)
|
||||
// Minimum execution time: 14_550 nanoseconds.
|
||||
Weight::from_ref_time(14_819_772 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(479 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(Weight::from_ref_time(530 as u64).saturating_mul(z as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 42_837 nanoseconds.
|
||||
Weight::from_ref_time(34_846_149 as u64)
|
||||
// Standard Error: 646
|
||||
.saturating_add(Weight::from_ref_time(89_482 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_465 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 44_383 nanoseconds.
|
||||
Weight::from_ref_time(36_132_121 as u64)
|
||||
// Standard Error: 1_070
|
||||
.saturating_add(Weight::from_ref_time(93_918 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_ref_time(1_528 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -69,12 +69,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[3, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 32_269 nanoseconds.
|
||||
Weight::from_ref_time(25_447_784 as u64)
|
||||
// Standard Error: 499
|
||||
.saturating_add(Weight::from_ref_time(74_525 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(1_457 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 34_110 nanoseconds.
|
||||
Weight::from_ref_time(26_664_378 as u64)
|
||||
// Standard Error: 629
|
||||
.saturating_add(Weight::from_ref_time(83_644 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_504 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -83,12 +83,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 46_096 nanoseconds.
|
||||
Weight::from_ref_time(37_139_587 as u64)
|
||||
// Standard Error: 602
|
||||
.saturating_add(Weight::from_ref_time(104_199 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_478 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 48_372 nanoseconds.
|
||||
Weight::from_ref_time(38_695_552 as u64)
|
||||
// Standard Error: 1_125
|
||||
.saturating_add(Weight::from_ref_time(106_455 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 11
|
||||
.saturating_add(Weight::from_ref_time(1_594 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -96,30 +96,30 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 31_572 nanoseconds.
|
||||
Weight::from_ref_time(33_475_485 as u64)
|
||||
// Standard Error: 972
|
||||
.saturating_add(Weight::from_ref_time(91_041 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 32_237 nanoseconds.
|
||||
Weight::from_ref_time(34_981_368 as u64)
|
||||
// Standard Error: 1_047
|
||||
.saturating_add(Weight::from_ref_time(89_105 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 21_861 nanoseconds.
|
||||
Weight::from_ref_time(23_986_670 as u64)
|
||||
// Standard Error: 660
|
||||
.saturating_add(Weight::from_ref_time(79_765 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 23_708 nanoseconds.
|
||||
Weight::from_ref_time(25_069_818 as u64)
|
||||
// Standard Error: 671
|
||||
.saturating_add(Weight::from_ref_time(81_787 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 31_375 nanoseconds.
|
||||
Weight::from_ref_time(33_657_765 as u64)
|
||||
// Standard Error: 931
|
||||
.saturating_add(Weight::from_ref_time(84_177 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 33_396 nanoseconds.
|
||||
Weight::from_ref_time(35_234_152 as u64)
|
||||
// Standard Error: 918
|
||||
.saturating_add(Weight::from_ref_time(88_496 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_nomination_pools`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_nomination_pools`.
|
||||
@@ -47,18 +47,19 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools MinJoinBond (r:1 w:0)
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:1)
|
||||
// Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
|
||||
// Storage: NominationPools MaxPoolMembers (r:1 w:0)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn join() -> Weight {
|
||||
Weight::from_ref_time(141_186_000 as u64)
|
||||
// Minimum execution time: 140_322 nanoseconds.
|
||||
Weight::from_ref_time(142_148_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(17 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
@@ -66,13 +67,14 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:2)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra_transfer() -> Weight {
|
||||
Weight::from_ref_time(136_315_000 as u64)
|
||||
// Minimum execution time: 137_788 nanoseconds.
|
||||
Weight::from_ref_time(138_966_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(14 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
@@ -80,13 +82,14 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:2 w:2)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra_reward() -> Weight {
|
||||
Weight::from_ref_time(140_720_000 as u64)
|
||||
// Minimum execution time: 141_513 nanoseconds.
|
||||
Weight::from_ref_time(143_360_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
@@ -95,13 +98,15 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn claim_payout() -> Weight {
|
||||
Weight::from_ref_time(54_588_000 as u64)
|
||||
// Minimum execution time: 54_447 nanoseconds.
|
||||
Weight::from_ref_time(54_781_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
@@ -109,49 +114,53 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
|
||||
fn unbond() -> Weight {
|
||||
Weight::from_ref_time(139_268_000 as u64)
|
||||
// Minimum execution time: 141_940 nanoseconds.
|
||||
Weight::from_ref_time(142_725_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(18 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(13 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(51_661_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(17_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
// Minimum execution time: 57_477 nanoseconds.
|
||||
Weight::from_ref_time(59_023_071 as u64)
|
||||
// Standard Error: 998
|
||||
.saturating_add(Weight::from_ref_time(14_190 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(92_492_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(28_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
// Minimum execution time: 96_669 nanoseconds.
|
||||
Weight::from_ref_time(98_786_656 as u64)
|
||||
// Standard Error: 1_856
|
||||
.saturating_add(Weight::from_ref_time(19_127 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
@@ -168,25 +177,25 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(146_714_000 as u64)
|
||||
// Minimum execution time: 144_438 nanoseconds.
|
||||
Weight::from_ref_time(148_030_307 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(20 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(17 as u64))
|
||||
}
|
||||
// Storage: NominationPools LastPoolId (r:1 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: NominationPools MinCreateBond (r:1 w:0)
|
||||
// Storage: NominationPools MinJoinBond (r:1 w:0)
|
||||
// Storage: NominationPools MaxPools (r:1 w:0)
|
||||
// Storage: NominationPools CounterForBondedPools (r:1 w:1)
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools LastPoolId (r:1 w:1)
|
||||
// Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
|
||||
// Storage: NominationPools MaxPoolMembers (r:1 w:0)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: NominationPools CounterForRewardPools (r:1 w:1)
|
||||
@@ -195,36 +204,40 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(130_529_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(22 as u64))
|
||||
// Minimum execution time: 127_047 nanoseconds.
|
||||
Weight::from_ref_time(128_199_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(21 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(15 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: Staking MaxNominatorsCount (r:1 w:0)
|
||||
// Storage: Staking Validators (r:2 w:0)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: VoterList ListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 24]`.
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(60_380_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(1_053_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 62_596 nanoseconds.
|
||||
Weight::from_ref_time(63_891_149 as u64)
|
||||
// Standard Error: 4_980
|
||||
.saturating_add(Weight::from_ref_time(930_710 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
fn set_state() -> Weight {
|
||||
Weight::from_ref_time(34_144_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
// Minimum execution time: 38_503 nanoseconds.
|
||||
Weight::from_ref_time(38_998_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
@@ -232,9 +245,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools CounterForMetadata (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn set_metadata(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_813_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 15_627 nanoseconds.
|
||||
Weight::from_ref_time(16_164_158 as u64)
|
||||
// Standard Error: 116
|
||||
.saturating_add(Weight::from_ref_time(660 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -244,16 +258,19 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools MinCreateBond (r:0 w:1)
|
||||
// Storage: NominationPools MaxPools (r:0 w:1)
|
||||
fn set_configs() -> Weight {
|
||||
Weight::from_ref_time(7_602_000 as u64)
|
||||
// Minimum execution time: 6_206 nanoseconds.
|
||||
Weight::from_ref_time(6_409_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
fn update_roles() -> Weight {
|
||||
Weight::from_ref_time(25_674_000 as u64)
|
||||
// Minimum execution time: 25_897 nanoseconds.
|
||||
Weight::from_ref_time(26_204_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
@@ -262,8 +279,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill() -> Weight {
|
||||
Weight::from_ref_time(59_990_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
// Minimum execution time: 65_020 nanoseconds.
|
||||
Weight::from_ref_time(65_744_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_preimage`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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:
|
||||
@@ -32,7 +32,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -48,9 +48,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_993_000 as u64)
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(2_208 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 29_596 nanoseconds.
|
||||
Weight::from_ref_time(29_955_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_332 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -58,9 +59,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_requested_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_503_000 as u64)
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(2_264 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 20_842 nanoseconds.
|
||||
Weight::from_ref_time(21_120_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_333 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -68,66 +70,76 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_no_deposit_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_878_000 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(2_130 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 19_634 nanoseconds.
|
||||
Weight::from_ref_time(20_007_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_334 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_preimage() -> Weight {
|
||||
Weight::from_ref_time(40_091_000 as u64)
|
||||
// Minimum execution time: 42_136 nanoseconds.
|
||||
Weight::from_ref_time(43_022_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_no_deposit_preimage() -> Weight {
|
||||
Weight::from_ref_time(27_459_000 as u64)
|
||||
// Minimum execution time: 29_924 nanoseconds.
|
||||
Weight::from_ref_time(30_867_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_preimage() -> Weight {
|
||||
Weight::from_ref_time(27_176_000 as u64)
|
||||
// Minimum execution time: 28_022 nanoseconds.
|
||||
Weight::from_ref_time(29_699_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_no_deposit_preimage() -> Weight {
|
||||
Weight::from_ref_time(14_096_000 as u64)
|
||||
// Minimum execution time: 14_463 nanoseconds.
|
||||
Weight::from_ref_time(15_790_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_unnoted_preimage() -> Weight {
|
||||
Weight::from_ref_time(17_365_000 as u64)
|
||||
// Minimum execution time: 17_932 nanoseconds.
|
||||
Weight::from_ref_time(18_435_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_requested_preimage() -> Weight {
|
||||
Weight::from_ref_time(8_013_000 as u64)
|
||||
// Minimum execution time: 8_460 nanoseconds.
|
||||
Weight::from_ref_time(8_648_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unrequest_preimage() -> Weight {
|
||||
Weight::from_ref_time(27_185_000 as u64)
|
||||
// Minimum execution time: 28_702 nanoseconds.
|
||||
Weight::from_ref_time(29_678_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn unrequest_unnoted_preimage() -> Weight {
|
||||
Weight::from_ref_time(7_955_000 as u64)
|
||||
// Minimum execution time: 8_322 nanoseconds.
|
||||
Weight::from_ref_time(8_687_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn unrequest_multi_referenced_preimage() -> Weight {
|
||||
Weight::from_ref_time(7_819_000 as u64)
|
||||
// Minimum execution time: 8_678 nanoseconds.
|
||||
Weight::from_ref_time(8_930_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_proxy`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_proxy`.
|
||||
@@ -47,9 +47,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_646_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(57_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 20_558 nanoseconds.
|
||||
Weight::from_ref_time(21_610_234 as u64)
|
||||
// Standard Error: 1_401
|
||||
.saturating_add(Weight::from_ref_time(54_214 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
@@ -58,11 +59,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_132_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(57_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 38_487 nanoseconds.
|
||||
Weight::from_ref_time(39_434_103 as u64)
|
||||
// Standard Error: 2_822
|
||||
.saturating_add(Weight::from_ref_time(117_580 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_915
|
||||
.saturating_add(Weight::from_ref_time(26_206 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -71,11 +73,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_277_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(125_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(20_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 26_384 nanoseconds.
|
||||
Weight::from_ref_time(27_680_801 as u64)
|
||||
// Standard Error: 1_625
|
||||
.saturating_add(Weight::from_ref_time(116_271 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_679
|
||||
.saturating_add(Weight::from_ref_time(158 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -83,12 +86,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_199_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(128_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(p as u64))
|
||||
fn reject_announcement(a: u32, _p: u32, ) -> Weight {
|
||||
// Minimum execution time: 26_643 nanoseconds.
|
||||
Weight::from_ref_time(28_099_236 as u64)
|
||||
// Standard Error: 2_152
|
||||
.saturating_add(Weight::from_ref_time(122_534 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -98,38 +100,42 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn announce(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_707_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 34_367 nanoseconds.
|
||||
Weight::from_ref_time(35_689_576 as u64)
|
||||
// Standard Error: 1_886
|
||||
.saturating_add(Weight::from_ref_time(108_160 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_949
|
||||
.saturating_add(Weight::from_ref_time(30_216 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn add_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_733_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 28_377 nanoseconds.
|
||||
Weight::from_ref_time(29_837_875 as u64)
|
||||
// Standard Error: 1_632
|
||||
.saturating_add(Weight::from_ref_time(56_009 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_518_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(83_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 28_842 nanoseconds.
|
||||
Weight::from_ref_time(29_978_693 as u64)
|
||||
// Standard Error: 1_866
|
||||
.saturating_add(Weight::from_ref_time(77_845 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxies(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_528_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(58_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 25_443 nanoseconds.
|
||||
Weight::from_ref_time(26_221_391 as u64)
|
||||
// Standard Error: 1_420
|
||||
.saturating_add(Weight::from_ref_time(41_799 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -137,18 +143,20 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn create_pure(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_637_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 32_184 nanoseconds.
|
||||
Weight::from_ref_time(33_287_258 as u64)
|
||||
// Standard Error: 1_669
|
||||
.saturating_add(Weight::from_ref_time(16_625 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 30]`.
|
||||
fn kill_pure(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_228_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 26_186 nanoseconds.
|
||||
Weight::from_ref_time(27_561_767 as u64)
|
||||
// Standard Error: 1_567
|
||||
.saturating_add(Weight::from_ref_time(35_395 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,22 +16,21 @@
|
||||
//! Autogenerated weights for `pallet_ranked_collective`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_ranked_collective
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_ranked_collective
|
||||
// --chain=kusama-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
@@ -39,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_ranked_collective`.
|
||||
@@ -50,7 +49,8 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
// Storage: FellowshipCollective IndexToId (r:0 w:1)
|
||||
// Storage: FellowshipCollective IdToIndex (r:0 w:1)
|
||||
fn add_member() -> Weight {
|
||||
Weight::from_ref_time(20_797_000 as u64)
|
||||
// Minimum execution time: 20_091 nanoseconds.
|
||||
Weight::from_ref_time(20_793_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -60,9 +60,10 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
// Storage: FellowshipCollective IndexToId (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn remove_member(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_196_000 as u64)
|
||||
// Standard Error: 10_539
|
||||
.saturating_add(Weight::from_ref_time(9_633_382 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 31_411 nanoseconds.
|
||||
Weight::from_ref_time(33_650_900 as u64)
|
||||
// Standard Error: 20_315
|
||||
.saturating_add(Weight::from_ref_time(9_742_136 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -74,9 +75,10 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
// Storage: FellowshipCollective IdToIndex (r:0 w:1)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn promote_member(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_958_000 as u64)
|
||||
// Standard Error: 3_398
|
||||
.saturating_add(Weight::from_ref_time(527_087 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 22_519 nanoseconds.
|
||||
Weight::from_ref_time(24_202_495 as u64)
|
||||
// Standard Error: 9_707
|
||||
.saturating_add(Weight::from_ref_time(404_053 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -86,9 +88,10 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
// Storage: FellowshipCollective IndexToId (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn demote_member(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_934_000 as u64)
|
||||
// Standard Error: 11_453
|
||||
.saturating_add(Weight::from_ref_time(884_044 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 30_958 nanoseconds.
|
||||
Weight::from_ref_time(34_019_871 as u64)
|
||||
// Standard Error: 15_923
|
||||
.saturating_add(Weight::from_ref_time(594_745 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -97,20 +100,21 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
// Storage: FellowshipCollective Voting (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn vote() -> Weight {
|
||||
Weight::from_ref_time(45_989_000 as u64)
|
||||
// Minimum execution time: 46_000 nanoseconds.
|
||||
Weight::from_ref_time(46_496_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
|
||||
// Storage: FellowshipCollective VotingCleanup (r:1 w:0)
|
||||
// Storage: FellowshipCollective Voting (r:0 w:1)
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
// Storage: FellowshipCollective Voting (r:0 w:2)
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn cleanup_poll(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_842_000 as u64)
|
||||
// Standard Error: 733
|
||||
.saturating_add(Weight::from_ref_time(892_322 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 14_684 nanoseconds.
|
||||
Weight::from_ref_time(18_793_742 as u64)
|
||||
// Standard Error: 1_475
|
||||
.saturating_add(Weight::from_ref_time(908_456 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,22 +16,21 @@
|
||||
//! Autogenerated weights for `pallet_referenda`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-30, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_referenda
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_referenda
|
||||
// --chain=kusama-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
@@ -50,14 +49,16 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:0 w:1)
|
||||
fn submit() -> Weight {
|
||||
Weight::from_ref_time(32_438_000 as u64)
|
||||
// Minimum execution time: 32_206 nanoseconds.
|
||||
Weight::from_ref_time(32_784_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn place_decision_deposit_preparing() -> Weight {
|
||||
Weight::from_ref_time(48_476_000 as u64)
|
||||
// Minimum execution time: 48_362 nanoseconds.
|
||||
Weight::from_ref_time(48_952_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -65,7 +66,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
fn place_decision_deposit_queued() -> Weight {
|
||||
Weight::from_ref_time(94_751_000 as u64)
|
||||
// Minimum execution time: 85_674 nanoseconds.
|
||||
Weight::from_ref_time(88_734_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -73,7 +75,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
fn place_decision_deposit_not_queued() -> Weight {
|
||||
Weight::from_ref_time(94_975_000 as u64)
|
||||
// Minimum execution time: 85_794 nanoseconds.
|
||||
Weight::from_ref_time(88_404_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -82,7 +85,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn place_decision_deposit_passing() -> Weight {
|
||||
Weight::from_ref_time(194_931_000 as u64)
|
||||
// Minimum execution time: 175_254 nanoseconds.
|
||||
Weight::from_ref_time(198_703_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -90,13 +94,15 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
fn place_decision_deposit_failing() -> Weight {
|
||||
Weight::from_ref_time(42_888_000 as u64)
|
||||
// Minimum execution time: 43_797 nanoseconds.
|
||||
Weight::from_ref_time(44_532_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
fn refund_decision_deposit() -> Weight {
|
||||
Weight::from_ref_time(30_949_000 as u64)
|
||||
// Minimum execution time: 31_289 nanoseconds.
|
||||
Weight::from_ref_time(32_447_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -110,21 +116,24 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn cancel() -> Weight {
|
||||
Weight::from_ref_time(38_960_000 as u64)
|
||||
// Minimum execution time: 38_398 nanoseconds.
|
||||
Weight::from_ref_time(38_965_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn kill() -> Weight {
|
||||
Weight::from_ref_time(67_836_000 as u64)
|
||||
// Minimum execution time: 68_236 nanoseconds.
|
||||
Weight::from_ref_time(69_049_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:0)
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
||||
fn one_fewer_deciding_queue_empty() -> Weight {
|
||||
Weight::from_ref_time(11_204_000 as u64)
|
||||
// Minimum execution time: 11_448 nanoseconds.
|
||||
Weight::from_ref_time(11_631_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -133,7 +142,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn one_fewer_deciding_failing() -> Weight {
|
||||
Weight::from_ref_time(224_465_000 as u64)
|
||||
// Minimum execution time: 118_312 nanoseconds.
|
||||
Weight::from_ref_time(122_145_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -142,61 +152,69 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn one_fewer_deciding_passing() -> Weight {
|
||||
Weight::from_ref_time(224_764_000 as u64)
|
||||
// Minimum execution time: 120_150 nanoseconds.
|
||||
Weight::from_ref_time(122_398_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
fn nudge_referendum_requeued_insertion() -> Weight {
|
||||
Weight::from_ref_time(91_727_000 as u64)
|
||||
// Minimum execution time: 84_906 nanoseconds.
|
||||
Weight::from_ref_time(89_371_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
fn nudge_referendum_requeued_slide() -> Weight {
|
||||
Weight::from_ref_time(91_868_000 as u64)
|
||||
// Minimum execution time: 85_598 nanoseconds.
|
||||
Weight::from_ref_time(88_356_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
fn nudge_referendum_queued() -> Weight {
|
||||
Weight::from_ref_time(94_520_000 as u64)
|
||||
// Minimum execution time: 89_197 nanoseconds.
|
||||
Weight::from_ref_time(92_027_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
fn nudge_referendum_not_queued() -> Weight {
|
||||
Weight::from_ref_time(93_483_000 as u64)
|
||||
// Minimum execution time: 87_844 nanoseconds.
|
||||
Weight::from_ref_time(90_542_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_no_deposit() -> Weight {
|
||||
Weight::from_ref_time(29_294_000 as u64)
|
||||
// Minimum execution time: 29_265 nanoseconds.
|
||||
Weight::from_ref_time(29_798_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_preparing() -> Weight {
|
||||
Weight::from_ref_time(30_363_000 as u64)
|
||||
// Minimum execution time: 30_675 nanoseconds.
|
||||
Weight::from_ref_time(31_170_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
fn nudge_referendum_timed_out() -> Weight {
|
||||
Weight::from_ref_time(22_703_000 as u64)
|
||||
// Minimum execution time: 22_609 nanoseconds.
|
||||
Weight::from_ref_time(23_111_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -205,7 +223,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_begin_deciding_failing() -> Weight {
|
||||
Weight::from_ref_time(40_760_000 as u64)
|
||||
// Minimum execution time: 41_801 nanoseconds.
|
||||
Weight::from_ref_time(42_472_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -214,7 +233,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_begin_deciding_passing() -> Weight {
|
||||
Weight::from_ref_time(91_300_000 as u64)
|
||||
// Minimum execution time: 87_514 nanoseconds.
|
||||
Weight::from_ref_time(90_499_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -222,7 +242,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_begin_confirming() -> Weight {
|
||||
Weight::from_ref_time(165_577_000 as u64)
|
||||
// Minimum execution time: 162_441 nanoseconds.
|
||||
Weight::from_ref_time(168_308_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -230,7 +251,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_end_confirming() -> Weight {
|
||||
Weight::from_ref_time(166_188_000 as u64)
|
||||
// Minimum execution time: 160_873 nanoseconds.
|
||||
Weight::from_ref_time(169_712_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -238,7 +260,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_continue_not_confirming() -> Weight {
|
||||
Weight::from_ref_time(159_324_000 as u64)
|
||||
// Minimum execution time: 153_124 nanoseconds.
|
||||
Weight::from_ref_time(165_777_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -246,7 +269,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_continue_confirming() -> Weight {
|
||||
Weight::from_ref_time(82_615_000 as u64)
|
||||
// Minimum execution time: 80_850 nanoseconds.
|
||||
Weight::from_ref_time(84_958_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -254,17 +278,18 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn nudge_referendum_approved() -> Weight {
|
||||
Weight::from_ref_time(185_354_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
// Minimum execution time: 173_234 nanoseconds.
|
||||
Weight::from_ref_time(182_819_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_rejected() -> Weight {
|
||||
Weight::from_ref_time(165_963_000 as u64)
|
||||
// Minimum execution time: 164_370 nanoseconds.
|
||||
Weight::from_ref_time(169_732_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -16,22 +16,21 @@
|
||||
//! Autogenerated weights for `pallet_referenda`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-30, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_referenda
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_referenda
|
||||
// --chain=kusama-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
@@ -49,14 +48,16 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:0 w:1)
|
||||
fn submit() -> Weight {
|
||||
Weight::from_ref_time(37_366_000 as u64)
|
||||
// Minimum execution time: 36_890 nanoseconds.
|
||||
Weight::from_ref_time(37_840_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn place_decision_deposit_preparing() -> Weight {
|
||||
Weight::from_ref_time(47_931_000 as u64)
|
||||
// Minimum execution time: 47_353 nanoseconds.
|
||||
Weight::from_ref_time(48_691_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -64,7 +65,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
fn place_decision_deposit_queued() -> Weight {
|
||||
Weight::from_ref_time(48_799_000 as u64)
|
||||
// Minimum execution time: 49_607 nanoseconds.
|
||||
Weight::from_ref_time(50_436_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -72,7 +74,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
fn place_decision_deposit_not_queued() -> Weight {
|
||||
Weight::from_ref_time(48_899_000 as u64)
|
||||
// Minimum execution time: 49_359 nanoseconds.
|
||||
Weight::from_ref_time(50_238_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -80,20 +83,23 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn place_decision_deposit_passing() -> Weight {
|
||||
Weight::from_ref_time(61_981_000 as u64)
|
||||
// Minimum execution time: 61_393 nanoseconds.
|
||||
Weight::from_ref_time(62_632_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
fn place_decision_deposit_failing() -> Weight {
|
||||
Weight::from_ref_time(42_318_000 as u64)
|
||||
// Minimum execution time: 43_290 nanoseconds.
|
||||
Weight::from_ref_time(43_959_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
fn refund_decision_deposit() -> Weight {
|
||||
Weight::from_ref_time(30_391_000 as u64)
|
||||
// Minimum execution time: 30_398 nanoseconds.
|
||||
Weight::from_ref_time(31_447_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -107,21 +113,24 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn cancel() -> Weight {
|
||||
Weight::from_ref_time(38_601_000 as u64)
|
||||
// Minimum execution time: 37_690 nanoseconds.
|
||||
Weight::from_ref_time(38_864_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn kill() -> Weight {
|
||||
Weight::from_ref_time(78_111_000 as u64)
|
||||
// Minimum execution time: 77_496 nanoseconds.
|
||||
Weight::from_ref_time(79_978_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda TrackQueue (r:1 w:0)
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
fn one_fewer_deciding_queue_empty() -> Weight {
|
||||
Weight::from_ref_time(11_132_000 as u64)
|
||||
// Minimum execution time: 11_238 nanoseconds.
|
||||
Weight::from_ref_time(11_723_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -129,7 +138,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn one_fewer_deciding_failing() -> Weight {
|
||||
Weight::from_ref_time(161_624_000 as u64)
|
||||
// Minimum execution time: 75_823 nanoseconds.
|
||||
Weight::from_ref_time(77_497_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -137,61 +147,69 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn one_fewer_deciding_passing() -> Weight {
|
||||
Weight::from_ref_time(167_193_000 as u64)
|
||||
// Minimum execution time: 78_698 nanoseconds.
|
||||
Weight::from_ref_time(79_660_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
fn nudge_referendum_requeued_insertion() -> Weight {
|
||||
Weight::from_ref_time(44_257_000 as u64)
|
||||
// Minimum execution time: 53_145 nanoseconds.
|
||||
Weight::from_ref_time(54_297_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
fn nudge_referendum_requeued_slide() -> Weight {
|
||||
Weight::from_ref_time(43_981_000 as u64)
|
||||
// Minimum execution time: 52_893 nanoseconds.
|
||||
Weight::from_ref_time(53_670_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
fn nudge_referendum_queued() -> Weight {
|
||||
Weight::from_ref_time(45_931_000 as u64)
|
||||
// Minimum execution time: 55_017 nanoseconds.
|
||||
Weight::from_ref_time(55_775_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
fn nudge_referendum_not_queued() -> Weight {
|
||||
Weight::from_ref_time(45_854_000 as u64)
|
||||
// Minimum execution time: 55_068 nanoseconds.
|
||||
Weight::from_ref_time(55_545_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_no_deposit() -> Weight {
|
||||
Weight::from_ref_time(28_641_000 as u64)
|
||||
// Minimum execution time: 28_613 nanoseconds.
|
||||
Weight::from_ref_time(29_017_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_preparing() -> Weight {
|
||||
Weight::from_ref_time(29_629_000 as u64)
|
||||
// Minimum execution time: 30_008 nanoseconds.
|
||||
Weight::from_ref_time(30_928_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
fn nudge_referendum_timed_out() -> Weight {
|
||||
Weight::from_ref_time(21_852_000 as u64)
|
||||
// Minimum execution time: 21_985 nanoseconds.
|
||||
Weight::from_ref_time(22_654_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -199,7 +217,8 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_begin_deciding_failing() -> Weight {
|
||||
Weight::from_ref_time(41_478_000 as u64)
|
||||
// Minimum execution time: 41_155 nanoseconds.
|
||||
Weight::from_ref_time(42_540_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -207,51 +226,57 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_begin_deciding_passing() -> Weight {
|
||||
Weight::from_ref_time(44_198_000 as u64)
|
||||
// Minimum execution time: 43_525 nanoseconds.
|
||||
Weight::from_ref_time(44_193_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_begin_confirming() -> Weight {
|
||||
Weight::from_ref_time(38_978_000 as u64)
|
||||
// Minimum execution time: 39_208 nanoseconds.
|
||||
Weight::from_ref_time(40_097_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_end_confirming() -> Weight {
|
||||
Weight::from_ref_time(40_123_000 as u64)
|
||||
// Minimum execution time: 40_627 nanoseconds.
|
||||
Weight::from_ref_time(42_055_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_continue_not_confirming() -> Weight {
|
||||
Weight::from_ref_time(36_868_000 as u64)
|
||||
// Minimum execution time: 37_450 nanoseconds.
|
||||
Weight::from_ref_time(38_157_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_continue_confirming() -> Weight {
|
||||
Weight::from_ref_time(36_835_000 as u64)
|
||||
// Minimum execution time: 37_800 nanoseconds.
|
||||
Weight::from_ref_time(38_601_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn nudge_referendum_approved() -> Weight {
|
||||
Weight::from_ref_time(56_130_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
// Minimum execution time: 49_125 nanoseconds.
|
||||
Weight::from_ref_time(50_262_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_rejected() -> Weight {
|
||||
Weight::from_ref_time(38_997_000 as u64)
|
||||
// Minimum execution time: 39_656 nanoseconds.
|
||||
Weight::from_ref_time(40_908_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_scheduler`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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:
|
||||
@@ -32,7 +32,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -46,52 +46,61 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler IncompleteSince (r:1 w:1)
|
||||
fn service_agendas_base() -> Weight {
|
||||
Weight::from_ref_time(4_558_000 as u64)
|
||||
// Minimum execution time: 5_067 nanoseconds.
|
||||
Weight::from_ref_time(5_193_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 50]`.
|
||||
fn service_agenda_base(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_715_000 as u64)
|
||||
// Standard Error: 2_737
|
||||
.saturating_add(Weight::from_ref_time(624_353 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 4_288 nanoseconds.
|
||||
Weight::from_ref_time(7_652_085 as u64)
|
||||
// Standard Error: 1_878
|
||||
.saturating_add(Weight::from_ref_time(548_847 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn service_task_base() -> Weight {
|
||||
Weight::from_ref_time(9_345_000 as u64)
|
||||
// Minimum execution time: 9_861 nanoseconds.
|
||||
Weight::from_ref_time(10_063_000 as u64)
|
||||
}
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `s` is `[128, 4194304]`.
|
||||
fn service_task_fetched(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_078_000 as u64)
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_153 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 21_134 nanoseconds.
|
||||
Weight::from_ref_time(21_368_000 as u64)
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_280 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
fn service_task_named() -> Weight {
|
||||
Weight::from_ref_time(10_744_000 as u64)
|
||||
// Minimum execution time: 11_292 nanoseconds.
|
||||
Weight::from_ref_time(11_567_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn service_task_periodic() -> Weight {
|
||||
Weight::from_ref_time(9_556_000 as u64)
|
||||
// Minimum execution time: 9_974 nanoseconds.
|
||||
Weight::from_ref_time(10_162_000 as u64)
|
||||
}
|
||||
fn execute_dispatch_signed() -> Weight {
|
||||
Weight::from_ref_time(4_130_000 as u64)
|
||||
// Minimum execution time: 4_164 nanoseconds.
|
||||
Weight::from_ref_time(4_266_000 as u64)
|
||||
}
|
||||
fn execute_dispatch_unsigned() -> Weight {
|
||||
Weight::from_ref_time(4_058_000 as u64)
|
||||
// Minimum execution time: 4_020 nanoseconds.
|
||||
Weight::from_ref_time(4_116_000 as u64)
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 49]`.
|
||||
fn schedule(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_721_000 as u64)
|
||||
// Standard Error: 3_319
|
||||
.saturating_add(Weight::from_ref_time(657_802 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 18_088 nanoseconds.
|
||||
Weight::from_ref_time(21_737_123 as u64)
|
||||
// Standard Error: 2_364
|
||||
.saturating_add(Weight::from_ref_time(580_581 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -99,9 +108,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn cancel(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_496_000 as u64)
|
||||
// Standard Error: 1_368
|
||||
.saturating_add(Weight::from_ref_time(572_226 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 20_197 nanoseconds.
|
||||
Weight::from_ref_time(21_901_362 as u64)
|
||||
// Standard Error: 1_994
|
||||
.saturating_add(Weight::from_ref_time(571_379 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -109,9 +119,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 49]`.
|
||||
fn schedule_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_831_000 as u64)
|
||||
// Standard Error: 3_559
|
||||
.saturating_add(Weight::from_ref_time(689_493 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 20_694 nanoseconds.
|
||||
Weight::from_ref_time(25_027_021 as u64)
|
||||
// Standard Error: 2_967
|
||||
.saturating_add(Weight::from_ref_time(599_640 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -119,9 +130,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn cancel_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_788_000 as u64)
|
||||
// Standard Error: 1_758
|
||||
.saturating_add(Weight::from_ref_time(605_808 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 21_231 nanoseconds.
|
||||
Weight::from_ref_time(23_895_092 as u64)
|
||||
// Standard Error: 2_733
|
||||
.saturating_add(Weight::from_ref_time(581_286 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_session`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_session`.
|
||||
@@ -48,7 +48,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:6 w:6)
|
||||
fn set_keys() -> Weight {
|
||||
Weight::from_ref_time(51_955_000 as u64)
|
||||
// Minimum execution time: 51_779 nanoseconds.
|
||||
Weight::from_ref_time(53_571_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -56,7 +57,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:0 w:6)
|
||||
fn purge_keys() -> Weight {
|
||||
Weight::from_ref_time(38_814_000 as u64)
|
||||
// Minimum execution time: 39_411 nanoseconds.
|
||||
Weight::from_ref_time(40_698_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_staking`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_staking`.
|
||||
@@ -47,12 +47,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn bond() -> Weight {
|
||||
Weight::from_ref_time(46_005_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
// Minimum execution time: 46_644 nanoseconds.
|
||||
Weight::from_ref_time(47_601_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
@@ -61,7 +61,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra() -> Weight {
|
||||
Weight::from_ref_time(79_816_000 as u64)
|
||||
// Minimum execution time: 83_700 nanoseconds.
|
||||
Weight::from_ref_time(84_180_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -75,7 +76,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn unbond() -> Weight {
|
||||
Weight::from_ref_time(84_908_000 as u64)
|
||||
// Minimum execution time: 88_626 nanoseconds.
|
||||
Weight::from_ref_time(89_533_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
@@ -85,9 +87,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(39_533_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 39_857 nanoseconds.
|
||||
Weight::from_ref_time(41_762_625 as u64)
|
||||
// Standard Error: 793
|
||||
.saturating_add(Weight::from_ref_time(19_027 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -105,8 +108,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(74_544_000 as u64)
|
||||
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 77_333 nanoseconds.
|
||||
Weight::from_ref_time(78_922_702 as u64)
|
||||
// Standard Error: 1_167
|
||||
.saturating_add(Weight::from_ref_time(2_228 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(11 as u64))
|
||||
}
|
||||
@@ -122,7 +128,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CounterForValidators (r:1 w:1)
|
||||
fn validate() -> Weight {
|
||||
Weight::from_ref_time(57_525_000 as u64)
|
||||
// Minimum execution time: 60_771 nanoseconds.
|
||||
Weight::from_ref_time(62_120_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -130,9 +137,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
/// The range of component `k` is `[1, 128]`.
|
||||
fn kick(k: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_911_000 as u64)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(6_821_000 as u64).saturating_mul(k as u64))
|
||||
// Minimum execution time: 35_488 nanoseconds.
|
||||
Weight::from_ref_time(31_260_124 as u64)
|
||||
// Standard Error: 10_282
|
||||
.saturating_add(Weight::from_ref_time(6_618_104 as u64).saturating_mul(k as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(k as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64)))
|
||||
@@ -150,9 +158,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 24]`.
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(59_437_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(2_490_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 63_100 nanoseconds.
|
||||
Weight::from_ref_time(61_836_772 as u64)
|
||||
// Standard Error: 7_808
|
||||
.saturating_add(Weight::from_ref_time(2_532_660 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
@@ -165,50 +174,58 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill() -> Weight {
|
||||
Weight::from_ref_time(56_100_000 as u64)
|
||||
// Minimum execution time: 58_416 nanoseconds.
|
||||
Weight::from_ref_time(59_201_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn set_payee() -> Weight {
|
||||
Weight::from_ref_time(15_258_000 as u64)
|
||||
// Minimum execution time: 15_931 nanoseconds.
|
||||
Weight::from_ref_time(16_155_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:2 w:2)
|
||||
fn set_controller() -> Weight {
|
||||
Weight::from_ref_time(21_938_000 as u64)
|
||||
// Minimum execution time: 22_947 nanoseconds.
|
||||
Weight::from_ref_time(23_520_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Staking ValidatorCount (r:0 w:1)
|
||||
fn set_validator_count() -> Weight {
|
||||
Weight::from_ref_time(4_071_000 as u64)
|
||||
// Minimum execution time: 4_206 nanoseconds.
|
||||
Weight::from_ref_time(4_371_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_no_eras() -> Weight {
|
||||
Weight::from_ref_time(4_152_000 as u64)
|
||||
// Minimum execution time: 4_225 nanoseconds.
|
||||
Weight::from_ref_time(4_324_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era() -> Weight {
|
||||
Weight::from_ref_time(4_318_000 as u64)
|
||||
// Minimum execution time: 4_361 nanoseconds.
|
||||
Weight::from_ref_time(4_489_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era_always() -> Weight {
|
||||
Weight::from_ref_time(4_106_000 as u64)
|
||||
// Minimum execution time: 4_369 nanoseconds.
|
||||
Weight::from_ref_time(4_611_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Invulnerables (r:0 w:1)
|
||||
/// The range of component `v` is `[0, 1000]`.
|
||||
fn set_invulnerables(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(4_502_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 4_450 nanoseconds.
|
||||
Weight::from_ref_time(4_810_067 as u64)
|
||||
// Standard Error: 25
|
||||
.saturating_add(Weight::from_ref_time(10_502 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
@@ -226,9 +243,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking SpanSlash (r:0 w:2)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn force_unstake(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(71_669_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(883_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 71_970 nanoseconds.
|
||||
Weight::from_ref_time(77_083_021 as u64)
|
||||
// Standard Error: 2_001
|
||||
.saturating_add(Weight::from_ref_time(866_865 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -236,49 +254,50 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking UnappliedSlashes (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 1000]`.
|
||||
fn cancel_deferred_slash(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(930_179_000 as u64)
|
||||
// Standard Error: 57_000
|
||||
.saturating_add(Weight::from_ref_time(4_953_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 118_673 nanoseconds.
|
||||
Weight::from_ref_time(1_326_106_039 as u64)
|
||||
// Standard Error: 87_435
|
||||
.saturating_add(Weight::from_ref_time(7_437_525 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Staking ErasValidatorReward (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:2 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking ErasStakersClipped (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:0)
|
||||
// Storage: Staking ErasValidatorPrefs (r:1 w:0)
|
||||
// Storage: Staking Payee (r:2 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
// Storage: Staking Payee (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `n` is `[0, 512]`.
|
||||
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(150_647_000 as u64)
|
||||
// Standard Error: 20_000
|
||||
.saturating_add(Weight::from_ref_time(20_795_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
// Minimum execution time: 109_550 nanoseconds.
|
||||
Weight::from_ref_time(206_474_081 as u64)
|
||||
// Standard Error: 16_169
|
||||
.saturating_add(Weight::from_ref_time(21_555_193 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Staking ErasValidatorReward (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:2 w:0)
|
||||
// Storage: Staking Ledger (r:2 w:2)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking ErasStakersClipped (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:0)
|
||||
// Storage: Staking ErasValidatorPrefs (r:1 w:0)
|
||||
// Storage: Staking Payee (r:2 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Balances Locks (r:2 w:2)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
// Storage: Staking Payee (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `n` is `[0, 512]`.
|
||||
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(177_911_000 as u64)
|
||||
// Standard Error: 30_000
|
||||
.saturating_add(Weight::from_ref_time(28_200_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
// Minimum execution time: 126_170 nanoseconds.
|
||||
Weight::from_ref_time(194_778_058 as u64)
|
||||
// Standard Error: 27_867
|
||||
.saturating_add(Weight::from_ref_time(30_845_851 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(n as u64)))
|
||||
@@ -291,9 +310,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
/// The range of component `l` is `[1, 32]`.
|
||||
fn rebond(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(80_037_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(24_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 82_627 nanoseconds.
|
||||
Weight::from_ref_time(84_126_338 as u64)
|
||||
// Standard Error: 4_351
|
||||
.saturating_add(Weight::from_ref_time(45_779 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
@@ -312,9 +332,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking SpanSlash (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn reap_stash(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(78_855_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(869_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 84_348 nanoseconds.
|
||||
Weight::from_ref_time(84_781_622 as u64)
|
||||
// Standard Error: 3_494
|
||||
.saturating_add(Weight::from_ref_time(869_042 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -332,21 +353,21 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
// Storage: Staking MinimumValidatorCount (r:1 w:0)
|
||||
// Storage: Staking CurrentEra (r:1 w:1)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Staking ErasStakersClipped (r:0 w:1)
|
||||
// Storage: Staking ErasValidatorPrefs (r:0 w:1)
|
||||
// Storage: Staking ErasStakers (r:0 w:1)
|
||||
// Storage: Staking ErasTotalStake (r:0 w:1)
|
||||
// Storage: Staking ErasStartSessionIndex (r:0 w:1)
|
||||
/// The range of component `v` is `[1, 10]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn new_era(v: u32, n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 579_000
|
||||
.saturating_add(Weight::from_ref_time(161_445_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 55_000
|
||||
.saturating_add(Weight::from_ref_time(22_905_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(192 as u64))
|
||||
// Minimum execution time: 431_295 nanoseconds.
|
||||
Weight::from_ref_time(434_958_000 as u64)
|
||||
// Standard Error: 1_764_016
|
||||
.saturating_add(Weight::from_ref_time(57_522_953 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 175_774
|
||||
.saturating_add(Weight::from_ref_time(13_158_469 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(191 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -365,27 +386,28 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[500, 1000]`.
|
||||
/// The range of component `s` is `[1, 20]`.
|
||||
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 375_000
|
||||
.saturating_add(Weight::from_ref_time(41_603_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 375_000
|
||||
.saturating_add(Weight::from_ref_time(38_528_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 9_578_000
|
||||
.saturating_add(Weight::from_ref_time(41_537_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 26_480_054 nanoseconds.
|
||||
Weight::from_ref_time(26_659_270_000 as u64)
|
||||
// Standard Error: 480_708
|
||||
.saturating_add(Weight::from_ref_time(10_306_257 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 480_708
|
||||
.saturating_add(Weight::from_ref_time(12_612_184 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(186 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking CounterForValidators (r:1 w:0)
|
||||
// Storage: Staking Validators (r:501 w:0)
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
/// The range of component `v` is `[500, 1000]`.
|
||||
fn get_npos_targets(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(310_326_000 as u64)
|
||||
// Standard Error: 56_000
|
||||
.saturating_add(Weight::from_ref_time(6_164_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
// Minimum execution time: 3_520_733 nanoseconds.
|
||||
Weight::from_ref_time(3_602_387_000 as u64)
|
||||
// Standard Error: 41_226
|
||||
.saturating_add(Weight::from_ref_time(2_633_121 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -396,7 +418,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_set() -> Weight {
|
||||
Weight::from_ref_time(7_502_000 as u64)
|
||||
// Minimum execution time: 7_287 nanoseconds.
|
||||
Weight::from_ref_time(7_534_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:0 w:1)
|
||||
@@ -406,7 +429,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_remove() -> Weight {
|
||||
Weight::from_ref_time(6_757_000 as u64)
|
||||
// Minimum execution time: 6_570 nanoseconds.
|
||||
Weight::from_ref_time(6_834_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
@@ -420,14 +444,16 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill_other() -> Weight {
|
||||
Weight::from_ref_time(66_406_000 as u64)
|
||||
// Minimum execution time: 69_446 nanoseconds.
|
||||
Weight::from_ref_time(71_663_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:1)
|
||||
fn force_apply_min_commission() -> Weight {
|
||||
Weight::from_ref_time(14_744_000 as u64)
|
||||
// Minimum execution time: 15_387 nanoseconds.
|
||||
Weight::from_ref_time(15_571_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_timestamp`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_timestamp`.
|
||||
@@ -47,11 +47,13 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
// Storage: Babe CurrentSlot (r:1 w:0)
|
||||
fn set() -> Weight {
|
||||
Weight::from_ref_time(9_144_000 as u64)
|
||||
// Minimum execution time: 9_352 nanoseconds.
|
||||
Weight::from_ref_time(9_715_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
Weight::from_ref_time(3_852_000 as u64)
|
||||
// Minimum execution time: 4_512 nanoseconds.
|
||||
Weight::from_ref_time(4_623_000 as u64)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_tips`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_tips`.
|
||||
@@ -48,16 +48,18 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 16384]`.
|
||||
fn report_awesome(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_461_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 29_607 nanoseconds.
|
||||
Weight::from_ref_time(31_236_013 as u64)
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_831 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
fn retract_tip() -> Weight {
|
||||
Weight::from_ref_time(28_620_000 as u64)
|
||||
// Minimum execution time: 29_400 nanoseconds.
|
||||
Weight::from_ref_time(29_797_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -67,11 +69,12 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `r` is `[0, 16384]`.
|
||||
/// The range of component `t` is `[1, 19]`.
|
||||
fn tip_new(r: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_451_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(189_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 23_060 nanoseconds.
|
||||
Weight::from_ref_time(21_778_664 as u64)
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_682 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 6_497
|
||||
.saturating_add(Weight::from_ref_time(164_476 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -79,9 +82,10 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
/// The range of component `t` is `[1, 19]`.
|
||||
fn tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_423_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(164_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 14_816 nanoseconds.
|
||||
Weight::from_ref_time(15_348_469 as u64)
|
||||
// Standard Error: 1_621
|
||||
.saturating_add(Weight::from_ref_time(135_014 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -91,9 +95,10 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
/// The range of component `t` is `[1, 19]`.
|
||||
fn close_tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(45_535_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(158_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 45_047 nanoseconds.
|
||||
Weight::from_ref_time(47_082_126 as u64)
|
||||
// Standard Error: 4_737
|
||||
.saturating_add(Weight::from_ref_time(100_518 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -101,9 +106,10 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
/// The range of component `t` is `[1, 19]`.
|
||||
fn slash_tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_074_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(32_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 19_055 nanoseconds.
|
||||
Weight::from_ref_time(19_857_862 as u64)
|
||||
// Standard Error: 1_113
|
||||
.saturating_add(Weight::from_ref_time(34_263 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_treasury`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,26 +38,34 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_treasury`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Treasury ProposalCount (r:1 w:1)
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:0 w:1)
|
||||
fn spend() -> Weight {
|
||||
Weight::from_ref_time(131_000 as u64)
|
||||
// Minimum execution time: 18_856 nanoseconds.
|
||||
Weight::from_ref_time(19_144_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Treasury ProposalCount (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:0 w:1)
|
||||
fn propose_spend() -> Weight {
|
||||
Weight::from_ref_time(25_664_000 as u64)
|
||||
// Minimum execution time: 27_164 nanoseconds.
|
||||
Weight::from_ref_time(27_790_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Treasury Proposals (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn reject_proposal() -> Weight {
|
||||
Weight::from_ref_time(36_678_000 as u64)
|
||||
// Minimum execution time: 38_257 nanoseconds.
|
||||
Weight::from_ref_time(38_930_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -65,15 +73,17 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 99]`.
|
||||
fn approve_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_868_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(52_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 9_729 nanoseconds.
|
||||
Weight::from_ref_time(13_242_610 as u64)
|
||||
// Standard Error: 1_133
|
||||
.saturating_add(Weight::from_ref_time(48_014 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
fn remove_approval() -> Weight {
|
||||
Weight::from_ref_time(7_810_000 as u64)
|
||||
// Minimum execution time: 8_151 nanoseconds.
|
||||
Weight::from_ref_time(8_355_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -83,9 +93,10 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Treasury Proposals (r:2 w:2)
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn on_initialize_proposals(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(57_241_000 as u64)
|
||||
// Standard Error: 22_000
|
||||
.saturating_add(Weight::from_ref_time(24_874_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 50_854 nanoseconds.
|
||||
Weight::from_ref_time(63_148_952 as u64)
|
||||
// Standard Error: 23_228
|
||||
.saturating_add(Weight::from_ref_time(24_411_714 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_utility`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_utility`.
|
||||
@@ -46,26 +46,31 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_094_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_803_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 11_629 nanoseconds.
|
||||
Weight::from_ref_time(15_201_709 as u64)
|
||||
// Standard Error: 2_617
|
||||
.saturating_add(Weight::from_ref_time(3_430_759 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
Weight::from_ref_time(5_660_000 as u64)
|
||||
// Minimum execution time: 5_876 nanoseconds.
|
||||
Weight::from_ref_time(5_994_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_216_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(3_979_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 11_541 nanoseconds.
|
||||
Weight::from_ref_time(18_710_023 as u64)
|
||||
// Standard Error: 2_936
|
||||
.saturating_add(Weight::from_ref_time(3_591_842 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
Weight::from_ref_time(13_181_000 as u64)
|
||||
// Minimum execution time: 13_664 nanoseconds.
|
||||
Weight::from_ref_time(14_022_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_722_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_795_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 11_520 nanoseconds.
|
||||
Weight::from_ref_time(16_718_610 as u64)
|
||||
// Standard Error: 3_003
|
||||
.saturating_add(Weight::from_ref_time(3_455_686 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_vesting`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_vesting`.
|
||||
@@ -49,11 +49,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_421_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(103_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 38_642 nanoseconds.
|
||||
Weight::from_ref_time(38_226_745 as u64)
|
||||
// Standard Error: 1_085
|
||||
.saturating_add(Weight::from_ref_time(37_262 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_931
|
||||
.saturating_add(Weight::from_ref_time(61_339 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -62,11 +63,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_493_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 38_010 nanoseconds.
|
||||
Weight::from_ref_time(37_870_524 as u64)
|
||||
// Standard Error: 1_888
|
||||
.saturating_add(Weight::from_ref_time(47_214 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_359
|
||||
.saturating_add(Weight::from_ref_time(38_374 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -76,11 +78,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_644_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(74_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 38_389 nanoseconds.
|
||||
Weight::from_ref_time(37_550_733 as u64)
|
||||
// Standard Error: 1_060
|
||||
.saturating_add(Weight::from_ref_time(49_011 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_886
|
||||
.saturating_add(Weight::from_ref_time(62_179 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -90,11 +93,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_945_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 37_686 nanoseconds.
|
||||
Weight::from_ref_time(37_792_534 as u64)
|
||||
// Standard Error: 1_624
|
||||
.saturating_add(Weight::from_ref_time(38_716 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_889
|
||||
.saturating_add(Weight::from_ref_time(33_810 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -104,11 +108,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[0, 27]`.
|
||||
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(50_024_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(50_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(63_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 52_356 nanoseconds.
|
||||
Weight::from_ref_time(53_053_813 as u64)
|
||||
// Standard Error: 1_679
|
||||
.saturating_add(Weight::from_ref_time(37_518 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_987
|
||||
.saturating_add(Weight::from_ref_time(18_617 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -118,11 +123,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(49_452_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(79_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 51_625 nanoseconds.
|
||||
Weight::from_ref_time(51_648_113 as u64)
|
||||
// Standard Error: 1_712
|
||||
.saturating_add(Weight::from_ref_time(43_998 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_047
|
||||
.saturating_add(Weight::from_ref_time(42_370 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -132,11 +138,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[2, 28]`.
|
||||
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(36_353_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(104_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 39_592 nanoseconds.
|
||||
Weight::from_ref_time(38_624_597 as u64)
|
||||
// Standard Error: 922
|
||||
.saturating_add(Weight::from_ref_time(45_973 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_704
|
||||
.saturating_add(Weight::from_ref_time(69_427 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -146,11 +153,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[2, 28]`.
|
||||
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_921_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(58_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(112_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 39_606 nanoseconds.
|
||||
Weight::from_ref_time(38_893_122 as u64)
|
||||
// Standard Error: 1_158
|
||||
.saturating_add(Weight::from_ref_time(44_023 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_139
|
||||
.saturating_add(Weight::from_ref_time(60_243 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_common::auctions`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::auctions`.
|
||||
@@ -47,7 +47,8 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:1)
|
||||
fn new_auction() -> Weight {
|
||||
Weight::from_ref_time(16_541_000 as u64)
|
||||
// Minimum execution time: 17_589 nanoseconds.
|
||||
Weight::from_ref_time(17_777_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -59,7 +60,8 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Auctions ReservedAmounts (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn bid() -> Weight {
|
||||
Weight::from_ref_time(72_654_000 as u64)
|
||||
// Minimum execution time: 71_154 nanoseconds.
|
||||
Weight::from_ref_time(72_510_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -76,7 +78,8 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
fn on_initialize() -> Weight {
|
||||
Weight::from_ref_time(15_198_212_000 as u64)
|
||||
// Minimum execution time: 15_548_622 nanoseconds.
|
||||
Weight::from_ref_time(15_867_007_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3688 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3683 as u64))
|
||||
}
|
||||
@@ -85,7 +88,8 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Auctions Winning (r:0 w:3600)
|
||||
// Storage: Auctions AuctionInfo (r:0 w:1)
|
||||
fn cancel_auction() -> Weight {
|
||||
Weight::from_ref_time(4_630_319_000 as u64)
|
||||
// Minimum execution time: 4_637_901 nanoseconds.
|
||||
Weight::from_ref_time(4_730_879_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(73 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3673 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_common::claims`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::claims`.
|
||||
@@ -52,7 +52,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
Weight::from_ref_time(144_147_000 as u64)
|
||||
// Minimum execution time: 144_357 nanoseconds.
|
||||
Weight::from_ref_time(146_222_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -61,7 +62,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: Claims Claims (r:0 w:1)
|
||||
// Storage: Claims Signing (r:0 w:1)
|
||||
fn mint_claim() -> Weight {
|
||||
Weight::from_ref_time(11_356_000 as u64)
|
||||
// Minimum execution time: 11_388 nanoseconds.
|
||||
Weight::from_ref_time(11_833_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -73,7 +75,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn claim_attest() -> Weight {
|
||||
Weight::from_ref_time(147_747_000 as u64)
|
||||
// Minimum execution time: 148_256 nanoseconds.
|
||||
Weight::from_ref_time(153_700_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -86,7 +89,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn attest() -> Weight {
|
||||
Weight::from_ref_time(67_746_000 as u64)
|
||||
// Minimum execution time: 68_246 nanoseconds.
|
||||
Weight::from_ref_time(70_821_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -95,7 +99,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: Claims Signing (r:1 w:2)
|
||||
// Storage: Claims Preclaims (r:1 w:1)
|
||||
fn move_claim() -> Weight {
|
||||
Weight::from_ref_time(21_643_000 as u64)
|
||||
// Minimum execution time: 21_200 nanoseconds.
|
||||
Weight::from_ref_time(21_813_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_common::crowdloan`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::crowdloan`.
|
||||
@@ -49,7 +49,8 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
// Storage: Crowdloan NextFundIndex (r:1 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(46_612_000 as u64)
|
||||
// Minimum execution time: 47_414 nanoseconds.
|
||||
Weight::from_ref_time(48_286_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -61,7 +62,8 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
|
||||
fn contribute() -> Weight {
|
||||
Weight::from_ref_time(116_068_000 as u64)
|
||||
// Minimum execution time: 116_057 nanoseconds.
|
||||
Weight::from_ref_time(117_264_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -69,16 +71,18 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1)
|
||||
fn withdraw() -> Weight {
|
||||
Weight::from_ref_time(54_293_000 as u64)
|
||||
// Minimum execution time: 55_684 nanoseconds.
|
||||
Weight::from_ref_time(56_470_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `k` is `[0, 1000]`.
|
||||
fn refund(k: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 20_000
|
||||
.saturating_add(Weight::from_ref_time(18_183_000 as u64).saturating_mul(k as u64))
|
||||
// Minimum execution time: 50_573 nanoseconds.
|
||||
Weight::from_ref_time(62_908_000 as u64)
|
||||
// Standard Error: 13_896
|
||||
.saturating_add(Weight::from_ref_time(17_794_898 as u64).saturating_mul(k as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(k as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -87,27 +91,31 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn dissolve() -> Weight {
|
||||
Weight::from_ref_time(34_634_000 as u64)
|
||||
// Minimum execution time: 37_873 nanoseconds.
|
||||
Weight::from_ref_time(38_408_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
fn edit() -> Weight {
|
||||
Weight::from_ref_time(24_646_000 as u64)
|
||||
// Minimum execution time: 26_842 nanoseconds.
|
||||
Weight::from_ref_time(27_758_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:0)
|
||||
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
|
||||
fn add_memo() -> Weight {
|
||||
Weight::from_ref_time(32_088_000 as u64)
|
||||
// Minimum execution time: 34_190 nanoseconds.
|
||||
Weight::from_ref_time(35_145_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:0)
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
fn poke() -> Weight {
|
||||
Weight::from_ref_time(24_754_000 as u64)
|
||||
// Minimum execution time: 26_873 nanoseconds.
|
||||
Weight::from_ref_time(27_829_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -123,9 +131,10 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `n` is `[2, 100]`.
|
||||
fn on_initialize(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_720_000 as u64)
|
||||
// Standard Error: 33_000
|
||||
.saturating_add(Weight::from_ref_time(41_322_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 103_946 nanoseconds.
|
||||
Weight::from_ref_time(8_539_524 as u64)
|
||||
// Standard Error: 42_832
|
||||
.saturating_add(Weight::from_ref_time(40_283_343 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_common::paras_registrar`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::paras_registrar`.
|
||||
@@ -48,7 +48,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
fn reserve() -> Weight {
|
||||
Weight::from_ref_time(30_299_000 as u64)
|
||||
// Minimum execution time: 30_852 nanoseconds.
|
||||
Weight::from_ref_time(31_532_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -62,7 +63,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn register() -> Weight {
|
||||
Weight::from_ref_time(7_938_844_000 as u64)
|
||||
// Minimum execution time: 7_439_882 nanoseconds.
|
||||
Weight::from_ref_time(7_564_995_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -76,7 +78,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn force_register() -> Weight {
|
||||
Weight::from_ref_time(7_905_688_000 as u64)
|
||||
// Minimum execution time: 7_412_236 nanoseconds.
|
||||
Weight::from_ref_time(7_528_657_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -87,7 +90,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar PendingSwap (r:0 w:1)
|
||||
fn deregister() -> Weight {
|
||||
Weight::from_ref_time(47_531_000 as u64)
|
||||
// Minimum execution time: 49_031 nanoseconds.
|
||||
Weight::from_ref_time(50_187_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -99,11 +103,13 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Crowdloan Funds (r:2 w:2)
|
||||
// Storage: Slots Leases (r:2 w:2)
|
||||
fn swap() -> Weight {
|
||||
Weight::from_ref_time(42_367_000 as u64)
|
||||
// Minimum execution time: 44_366 nanoseconds.
|
||||
Weight::from_ref_time(45_345_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
// Storage: Paras FutureCodeHash (r:1 w:1)
|
||||
// Storage: Paras UpgradeRestrictionSignal (r:1 w:1)
|
||||
// Storage: Paras CurrentCodeHash (r:1 w:0)
|
||||
// Storage: Paras UpgradeCooldowns (r:1 w:1)
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
|
||||
@@ -112,19 +118,22 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: Paras CodeByHashRefs (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:0 w:1)
|
||||
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
|
||||
/// The range of component `b` is `[1, 3145728]`.
|
||||
fn schedule_code_upgrade(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
// Minimum execution time: 42_230 nanoseconds.
|
||||
Weight::from_ref_time(42_587_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_333 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
/// The range of component `b` is `[1, 1048576]`.
|
||||
fn set_current_head(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(5_494_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 13_316 nanoseconds.
|
||||
Weight::from_ref_time(13_675_000 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(910 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_common::slots`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::slots`.
|
||||
@@ -47,7 +47,8 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_lease() -> Weight {
|
||||
Weight::from_ref_time(30_342_000 as u64)
|
||||
// Minimum execution time: 31_674 nanoseconds.
|
||||
Weight::from_ref_time(32_043_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -60,11 +61,12 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
/// The range of component `c` is `[1, 100]`.
|
||||
/// The range of component `t` is `[1, 100]`.
|
||||
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 20_000
|
||||
.saturating_add(Weight::from_ref_time(5_979_000 as u64).saturating_mul(c as u64))
|
||||
// Standard Error: 20_000
|
||||
.saturating_add(Weight::from_ref_time(15_498_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 569_152 nanoseconds.
|
||||
Weight::from_ref_time(575_433_000 as u64)
|
||||
// Standard Error: 71_875
|
||||
.saturating_add(Weight::from_ref_time(2_060_648 as u64).saturating_mul(c as u64))
|
||||
// Standard Error: 71_875
|
||||
.saturating_add(Weight::from_ref_time(11_927_056 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(t as u64)))
|
||||
@@ -75,7 +77,8 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:8 w:8)
|
||||
fn clear_all_leases() -> Weight {
|
||||
Weight::from_ref_time(92_539_000 as u64)
|
||||
// Minimum execution time: 92_561 nanoseconds.
|
||||
Weight::from_ref_time(93_794_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as u64))
|
||||
}
|
||||
@@ -85,7 +88,8 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
fn trigger_onboard() -> Weight {
|
||||
Weight::from_ref_time(28_034_000 as u64)
|
||||
// Minimum execution time: 28_796 nanoseconds.
|
||||
Weight::from_ref_time(29_798_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_parachains::configuration`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::configuration`.
|
||||
@@ -48,7 +48,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_block_number() -> Weight {
|
||||
Weight::from_ref_time(10_810_000 as u64)
|
||||
// Minimum execution time: 12_075 nanoseconds.
|
||||
Weight::from_ref_time(12_339_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -56,7 +57,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_u32() -> Weight {
|
||||
Weight::from_ref_time(10_580_000 as u64)
|
||||
// Minimum execution time: 12_457 nanoseconds.
|
||||
Weight::from_ref_time(13_010_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -64,7 +66,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_option_u32() -> Weight {
|
||||
Weight::from_ref_time(10_631_000 as u64)
|
||||
// Minimum execution time: 12_413 nanoseconds.
|
||||
Weight::from_ref_time(12_701_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -72,19 +75,22 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_weight() -> Weight {
|
||||
Weight::from_ref_time(10_910_000 as u64)
|
||||
// Minimum execution time: 12_333 nanoseconds.
|
||||
Weight::from_ref_time(12_813_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn set_hrmp_open_request_ttl() -> Weight {
|
||||
// Minimum execution time: 2_000_000_000 nanoseconds.
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_balance() -> Weight {
|
||||
Weight::from_ref_time(11_012_000 as u64)
|
||||
// Minimum execution time: 12_040 nanoseconds.
|
||||
Weight::from_ref_time(12_571_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_parachains::disputes`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::disputes`.
|
||||
@@ -46,7 +46,8 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::disputes::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ParasDisputes Frozen (r:0 w:1)
|
||||
fn force_unfreeze() -> Weight {
|
||||
Weight::from_ref_time(3_909_000 as u64)
|
||||
// Minimum execution time: 4_402 nanoseconds.
|
||||
Weight::from_ref_time(4_492_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_parachains::hrmp`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::hrmp`.
|
||||
@@ -53,7 +53,8 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_init_open_channel() -> Weight {
|
||||
Weight::from_ref_time(38_970_000 as u64)
|
||||
// Minimum execution time: 42_278 nanoseconds.
|
||||
Weight::from_ref_time(42_770_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -64,7 +65,8 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_accept_open_channel() -> Weight {
|
||||
Weight::from_ref_time(39_314_000 as u64)
|
||||
// Minimum execution time: 41_471 nanoseconds.
|
||||
Weight::from_ref_time(42_331_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -74,7 +76,8 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_close_channel() -> Weight {
|
||||
Weight::from_ref_time(35_896_000 as u64)
|
||||
// Minimum execution time: 38_134 nanoseconds.
|
||||
Weight::from_ref_time(38_715_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -87,11 +90,12 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
/// The range of component `i` is `[0, 127]`.
|
||||
/// The range of component `e` is `[0, 127]`.
|
||||
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add(Weight::from_ref_time(7_134_000 as u64).saturating_mul(i as u64))
|
||||
// Standard Error: 15_000
|
||||
.saturating_add(Weight::from_ref_time(7_238_000 as u64).saturating_mul(e as u64))
|
||||
// Minimum execution time: 867_577 nanoseconds.
|
||||
Weight::from_ref_time(874_935_000 as u64)
|
||||
// Standard Error: 78_897
|
||||
.saturating_add(Weight::from_ref_time(2_673_773 as u64).saturating_mul(i as u64))
|
||||
// Standard Error: 78_897
|
||||
.saturating_add(Weight::from_ref_time(2_683_401 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(i as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(e as u64)))
|
||||
@@ -109,9 +113,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpChannels (r:0 w:2)
|
||||
/// The range of component `c` is `[0, 128]`.
|
||||
fn force_process_hrmp_open(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(117_000 as u64)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add(Weight::from_ref_time(15_838_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 10_142 nanoseconds.
|
||||
Weight::from_ref_time(10_319_000 as u64)
|
||||
// Standard Error: 11_640
|
||||
.saturating_add(Weight::from_ref_time(15_901_207 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -125,9 +130,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpChannelContents (r:0 w:2)
|
||||
/// The range of component `c` is `[0, 128]`.
|
||||
fn force_process_hrmp_close(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 12_000
|
||||
.saturating_add(Weight::from_ref_time(9_709_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 6_588 nanoseconds.
|
||||
Weight::from_ref_time(1_707_852 as u64)
|
||||
// Standard Error: 11_751
|
||||
.saturating_add(Weight::from_ref_time(9_612_854 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -138,9 +144,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
|
||||
/// The range of component `c` is `[0, 128]`.
|
||||
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_404_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 25_551 nanoseconds.
|
||||
Weight::from_ref_time(31_335_704 as u64)
|
||||
// Standard Error: 1_322
|
||||
.saturating_add(Weight::from_ref_time(98_216 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -148,9 +155,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
|
||||
/// The range of component `c` is `[0, 128]`.
|
||||
fn clean_open_channel_requests(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(593_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(2_622_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 4_762 nanoseconds.
|
||||
Weight::from_ref_time(2_997_588 as u64)
|
||||
// Standard Error: 3_871
|
||||
.saturating_add(Weight::from_ref_time(2_566_697 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -167,7 +175,8 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0)
|
||||
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1)
|
||||
fn force_open_hrmp_channel() -> Weight {
|
||||
Weight::from_ref_time(104_771_000 as u64)
|
||||
// Minimum execution time: 53_453 nanoseconds.
|
||||
Weight::from_ref_time(53_861_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_parachains::initializer`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::initializer`.
|
||||
@@ -47,9 +47,10 @@ impl<T: frame_system::Config> runtime_parachains::initializer::WeightInfo for We
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
/// The range of component `d` is `[0, 65536]`.
|
||||
fn force_approve(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_788_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 7_852 nanoseconds.
|
||||
Weight::from_ref_time(10_740_573 as u64)
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_317 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_parachains::paras`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::paras`.
|
||||
@@ -52,18 +52,20 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras CodeByHash (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 3145728]`.
|
||||
fn force_set_current_code(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 35_796 nanoseconds.
|
||||
Weight::from_ref_time(36_105_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_317 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 1048576]`.
|
||||
fn force_set_current_head(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 13_374 nanoseconds.
|
||||
Weight::from_ref_time(13_806_000 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(910 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Paras FutureCodeHash (r:1 w:1)
|
||||
@@ -78,9 +80,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 3145728]`.
|
||||
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 60_701 nanoseconds.
|
||||
Weight::from_ref_time(61_305_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_340 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
@@ -89,16 +92,18 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 1048576]`.
|
||||
fn force_note_new_head(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 19_070 nanoseconds.
|
||||
Weight::from_ref_time(19_220_000 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(910 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
fn force_queue_action() -> Weight {
|
||||
Weight::from_ref_time(22_217_000 as u64)
|
||||
// Minimum execution time: 23_946 nanoseconds.
|
||||
Weight::from_ref_time(24_805_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -106,16 +111,18 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras CodeByHash (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 3145728]`.
|
||||
fn add_trusted_validation_code(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 9_055 nanoseconds.
|
||||
Weight::from_ref_time(9_171_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_325 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Paras CodeByHashRefs (r:1 w:0)
|
||||
// Storage: Paras CodeByHash (r:0 w:1)
|
||||
fn poke_unused_validation_code() -> Weight {
|
||||
Weight::from_ref_time(6_480_000 as u64)
|
||||
// Minimum execution time: 7_063 nanoseconds.
|
||||
Weight::from_ref_time(7_167_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -123,7 +130,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
|
||||
fn include_pvf_check_statement() -> Weight {
|
||||
Weight::from_ref_time(93_853_000 as u64)
|
||||
// Minimum execution time: 92_634 nanoseconds.
|
||||
Weight::from_ref_time(94_982_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -135,7 +143,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:0 w:100)
|
||||
fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight {
|
||||
Weight::from_ref_time(644_115_000 as u64)
|
||||
// Minimum execution time: 624_541 nanoseconds.
|
||||
Weight::from_ref_time(631_251_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(104 as u64))
|
||||
}
|
||||
@@ -148,7 +157,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:100)
|
||||
// Storage: Paras FutureCodeHash (r:0 w:100)
|
||||
fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight {
|
||||
Weight::from_ref_time(609_948_000 as u64)
|
||||
// Minimum execution time: 592_733 nanoseconds.
|
||||
Weight::from_ref_time(600_415_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(204 as u64))
|
||||
}
|
||||
@@ -158,7 +168,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras PvfActiveVoteList (r:1 w:1)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight {
|
||||
Weight::from_ref_time(505_647_000 as u64)
|
||||
// Minimum execution time: 491_686 nanoseconds.
|
||||
Weight::from_ref_time(503_208_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -172,7 +183,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:100)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:100)
|
||||
fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight {
|
||||
Weight::from_ref_time(692_341_000 as u64)
|
||||
// Minimum execution time: 661_583 nanoseconds.
|
||||
Weight::from_ref_time(670_694_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(304 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_parachains::paras_inherent`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::paras_inherent`.
|
||||
@@ -53,14 +53,15 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: ParasDisputes Included (r:1 w:1)
|
||||
// Storage: ParasDisputes SpamSlots (r:1 w:1)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
@@ -76,10 +77,11 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// The range of component `v` is `[10, 200]`.
|
||||
fn enter_variable_disputes(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(341_679_000 as u64)
|
||||
// Standard Error: 23_000
|
||||
.saturating_add(Weight::from_ref_time(48_621_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(28 as u64))
|
||||
// Minimum execution time: 810_241 nanoseconds.
|
||||
Weight::from_ref_time(348_752_510 as u64)
|
||||
// Standard Error: 23_627
|
||||
.saturating_add(Weight::from_ref_time(48_079_357 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(29 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(18 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
@@ -93,6 +95,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
@@ -112,8 +115,9 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn enter_bitfields() -> Weight {
|
||||
Weight::from_ref_time(339_684_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(25 as u64))
|
||||
// Minimum execution time: 332_410 nanoseconds.
|
||||
Weight::from_ref_time(339_799_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(26 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(17 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
@@ -127,6 +131,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
@@ -148,10 +153,11 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// The range of component `v` is `[101, 200]`.
|
||||
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(907_441_000 as u64)
|
||||
// Standard Error: 47_000
|
||||
.saturating_add(Weight::from_ref_time(48_158_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(28 as u64))
|
||||
// Minimum execution time: 5_612_242 nanoseconds.
|
||||
Weight::from_ref_time(858_538_320 as u64)
|
||||
// Standard Error: 48_385
|
||||
.saturating_add(Weight::from_ref_time(47_873_187 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(29 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
@@ -165,6 +171,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
@@ -187,8 +194,9 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn enter_backed_candidate_code_upgrade() -> Weight {
|
||||
Weight::from_ref_time(40_608_399_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(30 as u64))
|
||||
// Minimum execution time: 38_531_556 nanoseconds.
|
||||
Weight::from_ref_time(38_807_324_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(31 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_parachains::ump`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::ump`.
|
||||
@@ -46,22 +46,25 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::ump::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[0, 51200]`.
|
||||
fn process_upward_message(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(4_549_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 10_348 nanoseconds.
|
||||
Weight::from_ref_time(5_121_205 as u64)
|
||||
// Standard Error: 12
|
||||
.saturating_add(Weight::from_ref_time(1_934 as u64).saturating_mul(s as u64))
|
||||
}
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: Ump RelayDispatchQueues (r:0 w:1)
|
||||
// Storage: Ump RelayDispatchQueueSize (r:0 w:1)
|
||||
fn clean_ump_after_outgoing() -> Weight {
|
||||
Weight::from_ref_time(8_784_000 as u64)
|
||||
// Minimum execution time: 9_800 nanoseconds.
|
||||
Weight::from_ref_time(10_025_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Ump Overweight (r:1 w:1)
|
||||
fn service_overweight() -> Weight {
|
||||
Weight::from_ref_time(24_147_000 as u64)
|
||||
// Minimum execution time: 26_272 nanoseconds.
|
||||
Weight::from_ref_time(26_790_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -10,10 +10,14 @@ smallvec = "1.8.0"
|
||||
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
primitives = { package = "polkadot-primitives", path = "../../../primitives", default-features = false }
|
||||
runtime-common = { package = "polkadot-runtime-common", path = "../../common", default-features = false }
|
||||
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
||||
sp-weights = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
||||
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"sp-runtime/std"
|
||||
"sp-core/std",
|
||||
"sp-runtime/std",
|
||||
"sp-weights/std"
|
||||
]
|
||||
|
||||
@@ -1,28 +1,26 @@
|
||||
// This file is part of Substrate.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Copyright (C) 2022 Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Polkadot is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// 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: 2022-08-19 (Y/M/D)
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16 (Y/M/D)
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
//! WEIGHT-PATH: `runtime/polkadot/constants/src/weights/`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot
|
||||
@@ -34,32 +32,31 @@
|
||||
// --weight-path=runtime/polkadot/constants/src/weights/
|
||||
// --warmup=10
|
||||
// --repeat=100
|
||||
// --header=./file_header.txt
|
||||
|
||||
use frame_support::{
|
||||
parameter_types,
|
||||
weights::{constants::WEIGHT_PER_NANOS, Weight},
|
||||
};
|
||||
use sp_core::parameter_types;
|
||||
use sp_weights::{constants::WEIGHT_PER_NANOS, Weight};
|
||||
|
||||
parameter_types! {
|
||||
/// Time to execute an empty block.
|
||||
/// Calculated by multiplying the *Average* with `1` and adding `0`.
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 5_736_651, 6_591_625
|
||||
/// Average: 5_849_907
|
||||
/// Median: 5_847_129
|
||||
/// Std-Dev: 109200.59
|
||||
/// Min, Max: 6_019_119, 6_263_448
|
||||
/// Average: 6_103_588
|
||||
/// Median: 6_099_366
|
||||
/// Std-Dev: 50562.05
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 6_131_246
|
||||
/// 95th: 5_988_921
|
||||
/// 75th: 5_885_724
|
||||
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(5_849_907);
|
||||
/// 99th: 6_239_600
|
||||
/// 95th: 6_178_734
|
||||
/// 75th: 6_145_812
|
||||
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(6_103_588);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test_weights {
|
||||
use frame_support::weights::constants;
|
||||
use sp_weights::constants;
|
||||
|
||||
/// Checks that the weight exists and is sane.
|
||||
// NOTE: If this test fails but you are sure that the generated values are fine,
|
||||
|
||||
@@ -1,27 +1,26 @@
|
||||
// This file is part of Substrate.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Copyright (C) 2022 Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Polkadot is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// 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: 2022-04-20 (Y/M/D)
|
||||
//! DATE: 2022-11-16 (Y/M/D)
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
//! WEIGHT-PATH: `runtime/polkadot/constants/src/weights/`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot
|
||||
@@ -33,32 +32,31 @@
|
||||
// --weight-path=runtime/polkadot/constants/src/weights/
|
||||
// --warmup=10
|
||||
// --repeat=100
|
||||
// --header=./file_header.txt
|
||||
|
||||
use frame_support::{
|
||||
parameter_types,
|
||||
weights::{constants::WEIGHT_PER_NANOS, Weight},
|
||||
};
|
||||
use sp_core::parameter_types;
|
||||
use sp_weights::{constants::WEIGHT_PER_NANOS, Weight};
|
||||
|
||||
parameter_types! {
|
||||
/// Time to execute a NO-OP extrinsic, for example `System::remark`.
|
||||
/// Calculated by multiplying the *Average* with `1` and adding `0`.
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats [NS]:
|
||||
/// Min, Max: 84_940, 86_590
|
||||
/// Average: 85_212
|
||||
/// Median: 85_156
|
||||
/// Std-Dev: 243.25
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 94_862, 96_847
|
||||
/// Average: 95_479
|
||||
/// Median: 95_465
|
||||
/// Std-Dev: 347.27
|
||||
///
|
||||
/// Percentiles [NS]:
|
||||
/// 99th: 86_269
|
||||
/// 95th: 85_510
|
||||
/// 75th: 85_216
|
||||
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(85_212);
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 96_351
|
||||
/// 95th: 96_116
|
||||
/// 75th: 95_639
|
||||
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(95_479);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test_weights {
|
||||
use frame_support::weights::constants;
|
||||
use sp_weights::constants;
|
||||
|
||||
/// Checks that the weight exists and is sane.
|
||||
// NOTE: If this test fails but you are sure that the generated values are fine,
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `frame_benchmarking::baseline`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_benchmarking::baseline`.
|
||||
@@ -46,44 +46,54 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn addition(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(120_000 as u64)
|
||||
// Minimum execution time: 103 nanoseconds.
|
||||
Weight::from_ref_time(141_724 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn subtraction(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(116_000 as u64)
|
||||
// Minimum execution time: 108 nanoseconds.
|
||||
Weight::from_ref_time(134_768 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn multiplication(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(130_000 as u64)
|
||||
// Minimum execution time: 102 nanoseconds.
|
||||
Weight::from_ref_time(138_207 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn division(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(127_000 as u64)
|
||||
// Minimum execution time: 104 nanoseconds.
|
||||
Weight::from_ref_time(142_094 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn hashing(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_460_902_000 as u64)
|
||||
fn hashing(i: u32, ) -> Weight {
|
||||
// Minimum execution time: 19_917_370 nanoseconds.
|
||||
Weight::from_ref_time(20_109_614_680 as u64)
|
||||
// Standard Error: 118_678
|
||||
.saturating_add(Weight::from_ref_time(717_597 as u64).saturating_mul(i as u64))
|
||||
}
|
||||
/// The range of component `i` is `[1, 100]`.
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn sr25519_verification(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(734_000 as u64)
|
||||
// Standard Error: 21_000
|
||||
.saturating_add(Weight::from_ref_time(47_456_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 132 nanoseconds.
|
||||
Weight::from_ref_time(147_000 as u64)
|
||||
// Standard Error: 18_267
|
||||
.saturating_add(Weight::from_ref_time(47_320_328 as u64).saturating_mul(i as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_read(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(1_945_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 106 nanoseconds.
|
||||
Weight::from_ref_time(114_000 as u64)
|
||||
// Standard Error: 4_368
|
||||
.saturating_add(Weight::from_ref_time(1_928_792 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_write(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(334_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 118 nanoseconds.
|
||||
Weight::from_ref_time(125_000 as u64)
|
||||
// Standard Error: 833
|
||||
.saturating_add(Weight::from_ref_time(323_135 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `frame_election_provider_support`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_election_provider_support`.
|
||||
@@ -48,20 +48,22 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `d` is `[5, 16]`.
|
||||
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 56_000
|
||||
.saturating_add(Weight::from_ref_time(13_900_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 4_843_000
|
||||
.saturating_add(Weight::from_ref_time(2_216_812_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 5_475_839 nanoseconds.
|
||||
Weight::from_ref_time(5_538_536_000 as u64)
|
||||
// Standard Error: 135_964
|
||||
.saturating_add(Weight::from_ref_time(5_556_702 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 13_900_513
|
||||
.saturating_add(Weight::from_ref_time(1_535_237_976 as u64).saturating_mul(d as u64))
|
||||
}
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `d` is `[5, 16]`.
|
||||
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 84_000
|
||||
.saturating_add(Weight::from_ref_time(14_955_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 7_259_000
|
||||
.saturating_add(Weight::from_ref_time(2_615_111_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 4_279_269 nanoseconds.
|
||||
Weight::from_ref_time(4_313_963_000 as u64)
|
||||
// Standard Error: 144_712
|
||||
.saturating_add(Weight::from_ref_time(5_458_633 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 14_794_881
|
||||
.saturating_add(Weight::from_ref_time(1_759_919_301 as u64).saturating_mul(d as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `frame_system`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,51 +38,59 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_system`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark(_b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 3_533 nanoseconds.
|
||||
Weight::from_ref_time(3_602_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(513 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Minimum execution time: 12_386 nanoseconds.
|
||||
Weight::from_ref_time(12_695_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_871 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||
fn set_heap_pages() -> Weight {
|
||||
Weight::from_ref_time(7_394_000 as u64)
|
||||
// Minimum execution time: 8_334 nanoseconds.
|
||||
Weight::from_ref_time(8_584_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(603_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 3_663 nanoseconds.
|
||||
Weight::from_ref_time(3_735_000 as u64)
|
||||
// Standard Error: 2_110
|
||||
.saturating_add(Weight::from_ref_time(621_937 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(449_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 3_651 nanoseconds.
|
||||
Weight::from_ref_time(3_780_000 as u64)
|
||||
// Standard Error: 932
|
||||
.saturating_add(Weight::from_ref_time(436_723 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `p` is `[1, 1000]`.
|
||||
/// The range of component `p` is `[0, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(966_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 5_442 nanoseconds.
|
||||
Weight::from_ref_time(5_545_000 as u64)
|
||||
// Standard Error: 1_291
|
||||
.saturating_add(Weight::from_ref_time(977_372 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_bags_list`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_bags_list`.
|
||||
@@ -49,7 +49,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
fn rebag_non_terminal() -> Weight {
|
||||
Weight::from_ref_time(61_333_000 as u64)
|
||||
// Minimum execution time: 64_054 nanoseconds.
|
||||
Weight::from_ref_time(64_863_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -58,7 +59,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn rebag_terminal() -> Weight {
|
||||
Weight::from_ref_time(59_741_000 as u64)
|
||||
// Minimum execution time: 68_386 nanoseconds.
|
||||
Weight::from_ref_time(74_597_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -68,7 +70,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
fn put_in_front_of() -> Weight {
|
||||
Weight::from_ref_time(59_689_000 as u64)
|
||||
// Minimum execution time: 71_132 nanoseconds.
|
||||
Weight::from_ref_time(79_636_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_balances`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_balances`.
|
||||
@@ -46,43 +46,50 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(39_352_000 as u64)
|
||||
// Minimum execution time: 41_279 nanoseconds.
|
||||
Weight::from_ref_time(41_738_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
Weight::from_ref_time(29_209_000 as u64)
|
||||
// Minimum execution time: 30_237 nanoseconds.
|
||||
Weight::from_ref_time(30_631_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_creating() -> Weight {
|
||||
Weight::from_ref_time(21_928_000 as u64)
|
||||
// Minimum execution time: 22_939 nanoseconds.
|
||||
Weight::from_ref_time(23_320_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_killing() -> Weight {
|
||||
Weight::from_ref_time(24_992_000 as u64)
|
||||
// Minimum execution time: 25_940 nanoseconds.
|
||||
Weight::from_ref_time(26_584_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(39_081_000 as u64)
|
||||
// Minimum execution time: 40_393 nanoseconds.
|
||||
Weight::from_ref_time(40_921_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_all() -> Weight {
|
||||
Weight::from_ref_time(33_031_000 as u64)
|
||||
// Minimum execution time: 35_485 nanoseconds.
|
||||
Weight::from_ref_time(36_121_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_unreserve() -> Weight {
|
||||
Weight::from_ref_time(18_389_000 as u64)
|
||||
// Minimum execution time: 19_966 nanoseconds.
|
||||
Weight::from_ref_time(20_434_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_bounties`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_bounties`.
|
||||
@@ -50,43 +50,49 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Bounties Bounties (r:0 w:1)
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn propose_bounty(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_317_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 29_378 nanoseconds.
|
||||
Weight::from_ref_time(32_175_061 as u64)
|
||||
// Standard Error: 18
|
||||
.saturating_add(Weight::from_ref_time(829 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
fn approve_bounty() -> Weight {
|
||||
Weight::from_ref_time(11_513_000 as u64)
|
||||
// Minimum execution time: 12_073 nanoseconds.
|
||||
Weight::from_ref_time(12_863_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(10_931_000 as u64)
|
||||
// Minimum execution time: 11_317 nanoseconds.
|
||||
Weight::from_ref_time(11_559_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(39_279_000 as u64)
|
||||
// Minimum execution time: 40_364 nanoseconds.
|
||||
Weight::from_ref_time(40_970_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(27_265_000 as u64)
|
||||
// Minimum execution time: 28_522 nanoseconds.
|
||||
Weight::from_ref_time(29_027_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
fn award_bounty() -> Weight {
|
||||
Weight::from_ref_time(23_378_000 as u64)
|
||||
// Minimum execution time: 24_756 nanoseconds.
|
||||
Weight::from_ref_time(25_056_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -95,7 +101,8 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn claim_bounty() -> Weight {
|
||||
Weight::from_ref_time(67_940_000 as u64)
|
||||
// Minimum execution time: 69_714 nanoseconds.
|
||||
Weight::from_ref_time(70_332_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -104,7 +111,8 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_proposed() -> Weight {
|
||||
Weight::from_ref_time(42_622_000 as u64)
|
||||
// Minimum execution time: 44_853 nanoseconds.
|
||||
Weight::from_ref_time(45_328_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -113,24 +121,27 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(51_906_000 as u64)
|
||||
// Minimum execution time: 53_131 nanoseconds.
|
||||
Weight::from_ref_time(53_605_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn extend_bounty_expiry() -> Weight {
|
||||
Weight::from_ref_time(19_709_000 as u64)
|
||||
// Minimum execution time: 21_458 nanoseconds.
|
||||
Weight::from_ref_time(21_732_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `b` is `[1, 100]`.
|
||||
// Storage: Bounties Bounties (r:2 w:2)
|
||||
// Storage: System Account (r:4 w:4)
|
||||
/// The range of component `b` is `[0, 100]`.
|
||||
fn spend_funds(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(13_392_000 as u64)
|
||||
// Standard Error: 18_000
|
||||
.saturating_add(Weight::from_ref_time(25_680_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 7_421 nanoseconds.
|
||||
Weight::from_ref_time(12_894_197 as u64)
|
||||
// Standard Error: 22_528
|
||||
.saturating_add(Weight::from_ref_time(25_161_376 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_child_bounties`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_child_bounties`.
|
||||
@@ -52,9 +52,10 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ChildBounties (r:0 w:1)
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn add_child_bounty(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(50_251_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 51_343 nanoseconds.
|
||||
Weight::from_ref_time(53_139_500 as u64)
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_ref_time(950 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -62,7 +63,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(18_172_000 as u64)
|
||||
// Minimum execution time: 18_618 nanoseconds.
|
||||
Weight::from_ref_time(19_241_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -70,7 +72,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(32_032_000 as u64)
|
||||
// Minimum execution time: 34_559 nanoseconds.
|
||||
Weight::from_ref_time(34_899_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -78,14 +81,16 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(43_630_000 as u64)
|
||||
// Minimum execution time: 45_199 nanoseconds.
|
||||
Weight::from_ref_time(45_846_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
fn award_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(26_677_000 as u64)
|
||||
// Minimum execution time: 28_459 nanoseconds.
|
||||
Weight::from_ref_time(28_782_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -94,7 +99,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn claim_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(65_968_000 as u64)
|
||||
// Minimum execution time: 68_148 nanoseconds.
|
||||
Weight::from_ref_time(69_069_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -105,7 +111,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_added() -> Weight {
|
||||
Weight::from_ref_time(49_350_000 as u64)
|
||||
// Minimum execution time: 51_256 nanoseconds.
|
||||
Weight::from_ref_time(51_850_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -116,7 +123,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(58_604_000 as u64)
|
||||
// Minimum execution time: 62_367 nanoseconds.
|
||||
Weight::from_ref_time(63_053_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_collective`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collective`.
|
||||
@@ -46,20 +46,21 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Council Members (r:1 w:1)
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Voting (r:100 w:100)
|
||||
// Storage: Council Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
// Storage: Council Voting (r:100 w:100)
|
||||
/// The range of component `m` is `[0, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
/// The range of component `m` is `[0, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(9_455_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(11_655_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 17_210 nanoseconds.
|
||||
Weight::from_ref_time(17_530_000 as u64)
|
||||
// Standard Error: 45_117
|
||||
.saturating_add(Weight::from_ref_time(5_249_798 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 45_117
|
||||
.saturating_add(Weight::from_ref_time(7_324_560 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -71,11 +72,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_969_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(16_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 19_994 nanoseconds.
|
||||
Weight::from_ref_time(19_549_331 as u64)
|
||||
// Standard Error: 26
|
||||
.saturating_add(Weight::from_ref_time(1_853 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 269
|
||||
.saturating_add(Weight::from_ref_time(13_555 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
@@ -85,11 +87,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_152_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 22_337 nanoseconds.
|
||||
Weight::from_ref_time(21_334_737 as u64)
|
||||
// Standard Error: 89
|
||||
.saturating_add(Weight::from_ref_time(2_105 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 925
|
||||
.saturating_add(Weight::from_ref_time(26_733 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
@@ -104,13 +107,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_034_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(19_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(98_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 27_783 nanoseconds.
|
||||
Weight::from_ref_time(27_684_184 as u64)
|
||||
// Standard Error: 72
|
||||
.saturating_add(Weight::from_ref_time(3_800 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 761
|
||||
.saturating_add(Weight::from_ref_time(24_502 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 751
|
||||
.saturating_add(Weight::from_ref_time(115_019 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -119,9 +123,10 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_472_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 27_444 nanoseconds.
|
||||
Weight::from_ref_time(28_598_559 as u64)
|
||||
// Standard Error: 401
|
||||
.saturating_add(Weight::from_ref_time(39_653 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -134,11 +139,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_247_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(25_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 30_342 nanoseconds.
|
||||
Weight::from_ref_time(32_791_699 as u64)
|
||||
// Standard Error: 528
|
||||
.saturating_add(Weight::from_ref_time(23_619 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 515
|
||||
.saturating_add(Weight::from_ref_time(84_196 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -153,13 +159,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(39_632_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 41_134 nanoseconds.
|
||||
Weight::from_ref_time(41_249_837 as u64)
|
||||
// Standard Error: 60
|
||||
.saturating_add(Weight::from_ref_time(2_093 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 636
|
||||
.saturating_add(Weight::from_ref_time(28_014 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 620
|
||||
.saturating_add(Weight::from_ref_time(101_117 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -173,11 +180,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_323_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(83_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_724 nanoseconds.
|
||||
Weight::from_ref_time(35_254_396 as u64)
|
||||
// Standard Error: 517
|
||||
.saturating_add(Weight::from_ref_time(25_053 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 504
|
||||
.saturating_add(Weight::from_ref_time(83_886 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -193,13 +201,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_345_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 43_271 nanoseconds.
|
||||
Weight::from_ref_time(43_900_162 as u64)
|
||||
// Standard Error: 61
|
||||
.saturating_add(Weight::from_ref_time(1_982 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 649
|
||||
.saturating_add(Weight::from_ref_time(25_510 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 633
|
||||
.saturating_add(Weight::from_ref_time(101_004 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -209,9 +218,10 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_279_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 19_186 nanoseconds.
|
||||
Weight::from_ref_time(22_558_610 as u64)
|
||||
// Standard Error: 701
|
||||
.saturating_add(Weight::from_ref_time(96_319 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_collective`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collective`.
|
||||
@@ -46,22 +46,21 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Voting (r:100 w:100)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(9_684_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(11_913_000 as u64).saturating_mul(p as u64))
|
||||
// Storage: TechnicalCommittee Voting (r:100 w:100)
|
||||
/// The range of component `m` is `[0, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
/// The range of component `m` is `[0, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 17_751 nanoseconds.
|
||||
Weight::from_ref_time(18_047_000 as u64)
|
||||
// Standard Error: 46_093
|
||||
.saturating_add(Weight::from_ref_time(5_321_338 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 46_093
|
||||
.saturating_add(Weight::from_ref_time(7_365_838 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -73,11 +72,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_444_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(14_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 20_410 nanoseconds.
|
||||
Weight::from_ref_time(19_931_408 as u64)
|
||||
// Standard Error: 21
|
||||
.saturating_add(Weight::from_ref_time(1_918 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 218
|
||||
.saturating_add(Weight::from_ref_time(13_235 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: TechnicalCommittee Members (r:1 w:0)
|
||||
@@ -87,11 +87,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_360_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(20_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 23_194 nanoseconds.
|
||||
Weight::from_ref_time(21_888_541 as u64)
|
||||
// Standard Error: 25
|
||||
.saturating_add(Weight::from_ref_time(2_039 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 259
|
||||
.saturating_add(Weight::from_ref_time(21_726 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: TechnicalCommittee Members (r:1 w:0)
|
||||
@@ -106,13 +107,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_324_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(19_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(101_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 28_672 nanoseconds.
|
||||
Weight::from_ref_time(29_100_596 as u64)
|
||||
// Standard Error: 69
|
||||
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 724
|
||||
.saturating_add(Weight::from_ref_time(19_233 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 715
|
||||
.saturating_add(Weight::from_ref_time(119_783 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -121,9 +123,10 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_893_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(35_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 29_125 nanoseconds.
|
||||
Weight::from_ref_time(30_445_599 as u64)
|
||||
// Standard Error: 508
|
||||
.saturating_add(Weight::from_ref_time(39_802 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -136,11 +139,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_064_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(25_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 32_071 nanoseconds.
|
||||
Weight::from_ref_time(33_525_762 as u64)
|
||||
// Standard Error: 478
|
||||
.saturating_add(Weight::from_ref_time(24_412 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 466
|
||||
.saturating_add(Weight::from_ref_time(84_991 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -155,13 +159,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_289_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 41_643 nanoseconds.
|
||||
Weight::from_ref_time(41_807_491 as u64)
|
||||
// Standard Error: 60
|
||||
.saturating_add(Weight::from_ref_time(1_950 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 641
|
||||
.saturating_add(Weight::from_ref_time(26_528 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 625
|
||||
.saturating_add(Weight::from_ref_time(101_337 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -175,11 +180,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_218_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(28_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(82_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 34_324 nanoseconds.
|
||||
Weight::from_ref_time(35_486_550 as u64)
|
||||
// Standard Error: 575
|
||||
.saturating_add(Weight::from_ref_time(29_066 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 561
|
||||
.saturating_add(Weight::from_ref_time(86_407 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -195,13 +201,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_967_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 43_484 nanoseconds.
|
||||
Weight::from_ref_time(43_730_713 as u64)
|
||||
// Standard Error: 61
|
||||
.saturating_add(Weight::from_ref_time(2_043 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 648
|
||||
.saturating_add(Weight::from_ref_time(28_523 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 632
|
||||
.saturating_add(Weight::from_ref_time(103_704 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -211,9 +218,10 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_586_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 19_657 nanoseconds.
|
||||
Weight::from_ref_time(22_843_773 as u64)
|
||||
// Standard Error: 713
|
||||
.saturating_add(Weight::from_ref_time(100_683 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_democracy`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,7 +32,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/polkadot/src/weights
|
||||
// --output=./runtime/polkadot/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -49,13 +49,15 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
// Storage: Democracy DepositOf (r:0 w:1)
|
||||
fn propose() -> Weight {
|
||||
Weight::from_ref_time(42_048_000 as u64)
|
||||
// Minimum execution time: 42_967 nanoseconds.
|
||||
Weight::from_ref_time(43_770_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
fn second() -> Weight {
|
||||
Weight::from_ref_time(38_631_000 as u64)
|
||||
// Minimum execution time: 39_741 nanoseconds.
|
||||
Weight::from_ref_time(41_106_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -63,7 +65,8 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_new() -> Weight {
|
||||
Weight::from_ref_time(48_571_000 as u64)
|
||||
// Minimum execution time: 50_419 nanoseconds.
|
||||
Weight::from_ref_time(51_479_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -71,14 +74,16 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_existing() -> Weight {
|
||||
Weight::from_ref_time(48_556_000 as u64)
|
||||
// Minimum execution time: 51_170 nanoseconds.
|
||||
Weight::from_ref_time(51_755_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Cancellations (r:1 w:1)
|
||||
fn emergency_cancel() -> Weight {
|
||||
Weight::from_ref_time(20_104_000 as u64)
|
||||
// Minimum execution time: 21_378 nanoseconds.
|
||||
Weight::from_ref_time(21_957_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -89,39 +94,45 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:0 w:1)
|
||||
fn blacklist() -> Weight {
|
||||
Weight::from_ref_time(75_289_000 as u64)
|
||||
// Minimum execution time: 77_526 nanoseconds.
|
||||
Weight::from_ref_time(79_470_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
fn external_propose() -> Weight {
|
||||
Weight::from_ref_time(15_734_000 as u64)
|
||||
// Minimum execution time: 16_498 nanoseconds.
|
||||
Weight::from_ref_time(17_076_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_majority() -> Weight {
|
||||
Weight::from_ref_time(4_507_000 as u64)
|
||||
// Minimum execution time: 4_502 nanoseconds.
|
||||
Weight::from_ref_time(4_690_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
Weight::from_ref_time(4_603_000 as u64)
|
||||
// Minimum execution time: 4_599 nanoseconds.
|
||||
Weight::from_ref_time(4_750_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:1)
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn fast_track() -> Weight {
|
||||
Weight::from_ref_time(19_816_000 as u64)
|
||||
// Minimum execution time: 20_905 nanoseconds.
|
||||
Weight::from_ref_time(21_387_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:1)
|
||||
fn veto_external() -> Weight {
|
||||
Weight::from_ref_time(25_722_000 as u64)
|
||||
// Minimum execution time: 26_946 nanoseconds.
|
||||
Weight::from_ref_time(27_534_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -129,13 +140,15 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn cancel_proposal() -> Weight {
|
||||
Weight::from_ref_time(63_768_000 as u64)
|
||||
// Minimum execution time: 65_837 nanoseconds.
|
||||
Weight::from_ref_time(66_889_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn cancel_referendum() -> Weight {
|
||||
Weight::from_ref_time(13_183_000 as u64)
|
||||
// Minimum execution time: 13_714 nanoseconds.
|
||||
Weight::from_ref_time(14_237_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
@@ -143,9 +156,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(5_999_000 as u64)
|
||||
// Standard Error: 2_072
|
||||
.saturating_add(Weight::from_ref_time(2_080_681 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 6_405 nanoseconds.
|
||||
Weight::from_ref_time(9_620_132 as u64)
|
||||
// Standard Error: 3_895
|
||||
.saturating_add(Weight::from_ref_time(2_076_637 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -158,9 +172,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(8_114_000 as u64)
|
||||
// Standard Error: 2_286
|
||||
.saturating_add(Weight::from_ref_time(2_087_574 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 8_766 nanoseconds.
|
||||
Weight::from_ref_time(12_133_052 as u64)
|
||||
// Standard Error: 4_049
|
||||
.saturating_add(Weight::from_ref_time(2_074_530 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -170,9 +185,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_509_000 as u64)
|
||||
// Standard Error: 3_676
|
||||
.saturating_add(Weight::from_ref_time(2_999_395 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 42_683 nanoseconds.
|
||||
Weight::from_ref_time(48_330_501 as u64)
|
||||
// Standard Error: 7_233
|
||||
.saturating_add(Weight::from_ref_time(2_994_008 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -182,9 +198,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_592_000 as u64)
|
||||
// Standard Error: 2_506
|
||||
.saturating_add(Weight::from_ref_time(2_932_469 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 25_626 nanoseconds.
|
||||
Weight::from_ref_time(29_036_412 as u64)
|
||||
// Standard Error: 4_605
|
||||
.saturating_add(Weight::from_ref_time(2_952_295 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -192,7 +209,8 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:0 w:1)
|
||||
fn clear_public_proposals() -> Weight {
|
||||
Weight::from_ref_time(5_070_000 as u64)
|
||||
// Minimum execution time: 4_943 nanoseconds.
|
||||
Weight::from_ref_time(5_130_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
@@ -200,9 +218,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_860_000 as u64)
|
||||
// Standard Error: 2_624
|
||||
.saturating_add(Weight::from_ref_time(129_209 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 25_894 nanoseconds.
|
||||
Weight::from_ref_time(32_320_132 as u64)
|
||||
// Standard Error: 1_445
|
||||
.saturating_add(Weight::from_ref_time(30_390 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -211,9 +230,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_512_000 as u64)
|
||||
// Standard Error: 619
|
||||
.saturating_add(Weight::from_ref_time(84_477 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 30_098 nanoseconds.
|
||||
Weight::from_ref_time(31_959_025 as u64)
|
||||
// Standard Error: 673
|
||||
.saturating_add(Weight::from_ref_time(70_608 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -221,9 +241,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_612_000 as u64)
|
||||
// Standard Error: 841
|
||||
.saturating_add(Weight::from_ref_time(98_567 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 15_813 nanoseconds.
|
||||
Weight::from_ref_time(18_185_628 as u64)
|
||||
// Standard Error: 850
|
||||
.saturating_add(Weight::from_ref_time(78_098 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -231,9 +252,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_282_000 as u64)
|
||||
// Standard Error: 1_040
|
||||
.saturating_add(Weight::from_ref_time(104_928 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 15_738 nanoseconds.
|
||||
Weight::from_ref_time(18_380_060 as u64)
|
||||
// Standard Error: 970
|
||||
.saturating_add(Weight::from_ref_time(77_708 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_election_provider_multi_phase`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_election_provider_multi_phase`.
|
||||
@@ -53,33 +53,38 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
// Storage: Staking ForceEra (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
fn on_initialize_nothing() -> Weight {
|
||||
Weight::from_ref_time(15_195_000 as u64)
|
||||
// Minimum execution time: 16_179 nanoseconds.
|
||||
Weight::from_ref_time(16_599_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
fn on_initialize_open_signed() -> Weight {
|
||||
Weight::from_ref_time(14_471_000 as u64)
|
||||
// Minimum execution time: 15_355 nanoseconds.
|
||||
Weight::from_ref_time(15_840_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
fn on_initialize_open_unsigned() -> Weight {
|
||||
Weight::from_ref_time(13_680_000 as u64)
|
||||
// Minimum execution time: 14_708 nanoseconds.
|
||||
Weight::from_ref_time(15_094_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
|
||||
fn finalize_signed_phase_accept_solution() -> Weight {
|
||||
Weight::from_ref_time(28_132_000 as u64)
|
||||
// Minimum execution time: 29_850 nanoseconds.
|
||||
Weight::from_ref_time(30_766_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn finalize_signed_phase_reject_solution() -> Weight {
|
||||
Weight::from_ref_time(21_833_000 as u64)
|
||||
// Minimum execution time: 25_348 nanoseconds.
|
||||
Weight::from_ref_time(26_069_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -88,12 +93,11 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
/// 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 {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(448_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 15_000
|
||||
.saturating_add(Weight::from_ref_time(223_000 as u64).saturating_mul(t as u64))
|
||||
fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight {
|
||||
// Minimum execution time: 431_296 nanoseconds.
|
||||
Weight::from_ref_time(441_927_000 as u64)
|
||||
// Standard Error: 2_405
|
||||
.saturating_add(Weight::from_ref_time(259_124 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
@@ -108,10 +112,13 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn elect_queued(a: u32, _d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(176_492_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(305_000 as u64).saturating_mul(a as u64))
|
||||
fn elect_queued(a: u32, d: u32, ) -> Weight {
|
||||
// Minimum execution time: 281_284 nanoseconds.
|
||||
Weight::from_ref_time(93_886_656 as u64)
|
||||
// Standard Error: 5_123
|
||||
.saturating_add(Weight::from_ref_time(305_112 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 7_679
|
||||
.saturating_add(Weight::from_ref_time(150_164 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as u64))
|
||||
}
|
||||
@@ -122,7 +129,8 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
|
||||
fn submit() -> Weight {
|
||||
Weight::from_ref_time(47_621_000 as u64)
|
||||
// Minimum execution time: 49_731 nanoseconds.
|
||||
Weight::from_ref_time(50_382_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -137,16 +145,13 @@ 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 {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(765_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(34_000 as u64).saturating_mul(t as u64))
|
||||
// Standard Error: 12_000
|
||||
.saturating_add(Weight::from_ref_time(7_231_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 18_000
|
||||
.saturating_add(Weight::from_ref_time(1_703_000 as u64).saturating_mul(d as u64))
|
||||
fn submit_unsigned(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 4_693_663 nanoseconds.
|
||||
Weight::from_ref_time(4_728_052_000 as u64)
|
||||
// Standard Error: 14_708
|
||||
.saturating_add(Weight::from_ref_time(99_516 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 43_588
|
||||
.saturating_add(Weight::from_ref_time(4_479_682 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -158,16 +163,13 @@ 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 feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(789_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 8_000
|
||||
.saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(t as u64))
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(5_713_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 20_000
|
||||
.saturating_add(Weight::from_ref_time(1_311_000 as u64).saturating_mul(d as u64))
|
||||
fn feasibility_check(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 3_895_772 nanoseconds.
|
||||
Weight::from_ref_time(3_953_808_000 as u64)
|
||||
// Standard Error: 12_413
|
||||
.saturating_add(Weight::from_ref_time(233_081 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 36_787
|
||||
.saturating_add(Weight::from_ref_time(3_177_044 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_elections_phragmen`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_elections_phragmen`.
|
||||
@@ -51,9 +51,10 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[1, 16]`.
|
||||
fn vote_equal(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_686_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(200_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 32_564 nanoseconds.
|
||||
Weight::from_ref_time(33_571_516 as u64)
|
||||
// Standard Error: 3_881
|
||||
.saturating_add(Weight::from_ref_time(223_347 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -64,9 +65,10 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_more(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_127_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(213_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 42_211 nanoseconds.
|
||||
Weight::from_ref_time(43_972_399 as u64)
|
||||
// Standard Error: 5_870
|
||||
.saturating_add(Weight::from_ref_time(192_313 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -77,16 +79,18 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_less(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(39_986_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(226_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 42_918 nanoseconds.
|
||||
Weight::from_ref_time(43_559_758 as u64)
|
||||
// Standard Error: 30_177
|
||||
.saturating_add(Weight::from_ref_time(264_050 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Voting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn remove_voter() -> Weight {
|
||||
Weight::from_ref_time(39_114_000 as u64)
|
||||
// Minimum execution time: 42_081 nanoseconds.
|
||||
Weight::from_ref_time(42_705_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -95,18 +99,20 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:0)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn submit_candidacy(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_187_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 38_084 nanoseconds.
|
||||
Weight::from_ref_time(30_323_420 as u64)
|
||||
// Standard Error: 1_137
|
||||
.saturating_add(Weight::from_ref_time(92_216 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_114_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 32_052 nanoseconds.
|
||||
Weight::from_ref_time(23_967_172 as u64)
|
||||
// Standard Error: 1_006
|
||||
.saturating_add(Weight::from_ref_time(69_919 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -116,18 +122,21 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn renounce_candidacy_members() -> Weight {
|
||||
Weight::from_ref_time(44_892_000 as u64)
|
||||
// Minimum execution time: 44_658 nanoseconds.
|
||||
Weight::from_ref_time(46_150_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
fn renounce_candidacy_runners_up() -> Weight {
|
||||
Weight::from_ref_time(34_318_000 as u64)
|
||||
// Minimum execution time: 34_466 nanoseconds.
|
||||
Weight::from_ref_time(36_065_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn remove_member_without_replacement() -> Weight {
|
||||
// Minimum execution time: 2_000_000_000 nanoseconds.
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
@@ -137,7 +146,8 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn remove_member_with_replacement() -> Weight {
|
||||
Weight::from_ref_time(59_226_000 as u64)
|
||||
// Minimum execution time: 59_328 nanoseconds.
|
||||
Weight::from_ref_time(59_980_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -148,13 +158,12 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:5000 w:5000)
|
||||
// Storage: System Account (r:5000 w:5000)
|
||||
/// The range of component `v` is `[5000, 10000]`.
|
||||
/// The range of component `d` is `[1, 5000]`.
|
||||
fn clean_defunct_voters(v: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 86_000
|
||||
.saturating_add(Weight::from_ref_time(60_379_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 86_000
|
||||
.saturating_add(Weight::from_ref_time(543_000 as u64).saturating_mul(d as u64))
|
||||
/// The range of component `d` is `[0, 5000]`.
|
||||
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 281_848_917 nanoseconds.
|
||||
Weight::from_ref_time(282_529_259_000 as u64)
|
||||
// Standard Error: 244_287
|
||||
.saturating_add(Weight::from_ref_time(34_643_190 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
|
||||
@@ -172,14 +181,16 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
/// The range of component `v` is `[1, 10000]`.
|
||||
/// The range of component `e` is `[10000, 160000]`.
|
||||
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 674_000
|
||||
.saturating_add(Weight::from_ref_time(52_473_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 44_000
|
||||
.saturating_add(Weight::from_ref_time(2_826_000 as u64).saturating_mul(e as u64))
|
||||
// Minimum execution time: 28_514_414 nanoseconds.
|
||||
Weight::from_ref_time(28_653_120_000 as u64)
|
||||
// Standard Error: 451_970
|
||||
.saturating_add(Weight::from_ref_time(41_012_837 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 29_004
|
||||
.saturating_add(Weight::from_ref_time(2_024_452 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(269 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,22 +16,21 @@
|
||||
//! Autogenerated weights for `pallet_fast_unstake`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=polkadot-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_fast_unstake
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_fast_unstake
|
||||
// --chain=polkadot-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/polkadot/src/weights/
|
||||
|
||||
@@ -50,65 +49,72 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: FastUnstake Head (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:0 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
// Storage: Staking SlashingSpans (r:64 w:0)
|
||||
// Storage: Staking Bonded (r:64 w:64)
|
||||
// Storage: Staking Validators (r:64 w:0)
|
||||
// Storage: Staking Nominators (r:64 w:0)
|
||||
// Storage: System Account (r:64 w:64)
|
||||
// Storage: Balances Locks (r:64 w:64)
|
||||
// Storage: Staking Ledger (r:0 w:64)
|
||||
// Storage: Staking Payee (r:0 w:64)
|
||||
fn on_idle_unstake() -> Weight {
|
||||
Weight::from_ref_time(67_082_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
// Minimum execution time: 2_143_088 nanoseconds.
|
||||
Weight::from_ref_time(2_180_693_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(389 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(321 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: FastUnstake Head (r:1 w:1)
|
||||
// Storage: FastUnstake Queue (r:2 w:1)
|
||||
// Storage: FastUnstake Queue (r:65 w:64)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking ErasStakers (r:56 w:0)
|
||||
/// The range of component `x` is `[28, 3584]`.
|
||||
fn on_idle_check(x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(504_317_000 as u64)
|
||||
// Standard Error: 18_023
|
||||
.saturating_add(Weight::from_ref_time(14_203_535 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(64 as u64))
|
||||
// Minimum execution time: 28_585_887 nanoseconds.
|
||||
Weight::from_ref_time(28_897_826_000 as u64)
|
||||
// Standard Error: 697_438
|
||||
.saturating_add(Weight::from_ref_time(864_448_829 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(85 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(66 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: FastUnstake Queue (r:1 w:1)
|
||||
// Storage: FastUnstake Head (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:2 w:2)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
fn register_fast_unstake() -> Weight {
|
||||
Weight::from_ref_time(90_682_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
// Minimum execution time: 125_199 nanoseconds.
|
||||
Weight::from_ref_time(127_131_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(15 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(10 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: FastUnstake Queue (r:1 w:1)
|
||||
// Storage: FastUnstake Head (r:1 w:0)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
fn deregister() -> Weight {
|
||||
Weight::from_ref_time(23_926_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
// Minimum execution time: 50_373 nanoseconds.
|
||||
Weight::from_ref_time(51_451_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1)
|
||||
fn control() -> Weight {
|
||||
Weight::from_ref_time(3_899_000 as u64)
|
||||
// Minimum execution time: 4_124 nanoseconds.
|
||||
Weight::from_ref_time(4_273_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_identity`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_identity`.
|
||||
@@ -47,32 +47,35 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn add_registrar(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_888_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(157_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 17_728 nanoseconds.
|
||||
Weight::from_ref_time(18_802_571 as u64)
|
||||
// Standard Error: 2_795
|
||||
.saturating_add(Weight::from_ref_time(141_858 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn set_identity(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_138_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(188_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(306_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 36_405 nanoseconds.
|
||||
Weight::from_ref_time(36_175_137 as u64)
|
||||
// Standard Error: 3_748
|
||||
.saturating_add(Weight::from_ref_time(79_184 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 731
|
||||
.saturating_add(Weight::from_ref_time(336_404 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
// Storage: Identity SuperOf (r:2 w:2)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn set_subs_new(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_095_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(2_071_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 10_420 nanoseconds.
|
||||
Weight::from_ref_time(29_465_886 as u64)
|
||||
// Standard Error: 5_250
|
||||
.saturating_add(Weight::from_ref_time(2_141_877 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -80,12 +83,13 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
// Storage: Identity SuperOf (r:0 w:2)
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_subs_old(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_614_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(895_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 10_452 nanoseconds.
|
||||
Weight::from_ref_time(29_027_753 as u64)
|
||||
// Standard Error: 4_422
|
||||
.saturating_add(Weight::from_ref_time(927_954 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
@@ -94,16 +98,17 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:100)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_665_000 as u64)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(889_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(146_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 52_757 nanoseconds.
|
||||
Weight::from_ref_time(37_480_393 as u64)
|
||||
// Standard Error: 5_162
|
||||
.saturating_add(Weight::from_ref_time(74_235 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_008
|
||||
.saturating_add(Weight::from_ref_time(889_324 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_008
|
||||
.saturating_add(Weight::from_ref_time(175_597 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -111,65 +116,71 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn request_judgement(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_417_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(313_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 38_614 nanoseconds.
|
||||
Weight::from_ref_time(36_952_302 as u64)
|
||||
// Standard Error: 4_162
|
||||
.saturating_add(Weight::from_ref_time(117_466 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 812
|
||||
.saturating_add(Weight::from_ref_time(360_113 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn cancel_request(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_051_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(312_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 34_487 nanoseconds.
|
||||
Weight::from_ref_time(33_137_826 as u64)
|
||||
// Standard Error: 4_408
|
||||
.saturating_add(Weight::from_ref_time(130_256 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 860
|
||||
.saturating_add(Weight::from_ref_time(358_444 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_fee(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_068_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 8_981 nanoseconds.
|
||||
Weight::from_ref_time(9_912_405 as u64)
|
||||
// Standard Error: 2_270
|
||||
.saturating_add(Weight::from_ref_time(125_220 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_account_id(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_175_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(130_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 9_134 nanoseconds.
|
||||
Weight::from_ref_time(10_168_184 as u64)
|
||||
// Standard Error: 2_481
|
||||
.saturating_add(Weight::from_ref_time(118_366 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_fields(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_306_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 9_316 nanoseconds.
|
||||
Weight::from_ref_time(9_969_317 as u64)
|
||||
// Standard Error: 1_769
|
||||
.saturating_add(Weight::from_ref_time(120_680 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn provide_judgement(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_500_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(132_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(313_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 29_275 nanoseconds.
|
||||
Weight::from_ref_time(27_614_499 as u64)
|
||||
// Standard Error: 5_680
|
||||
.saturating_add(Weight::from_ref_time(111_852 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_051
|
||||
.saturating_add(Weight::from_ref_time(603_502 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -178,14 +189,17 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:100)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(46_776_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(890_000 as u64).saturating_mul(s as u64))
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
// Minimum execution time: 64_116 nanoseconds.
|
||||
Weight::from_ref_time(48_330_163 as u64)
|
||||
// Standard Error: 5_125
|
||||
.saturating_add(Weight::from_ref_time(124_589 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(907_109 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(166_050 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -193,11 +207,12 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 99]`.
|
||||
/// The range of component `s` is `[0, 99]`.
|
||||
fn add_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_995_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 32_248 nanoseconds.
|
||||
Weight::from_ref_time(38_740_222 as u64)
|
||||
// Standard Error: 1_876
|
||||
.saturating_add(Weight::from_ref_time(78_534 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -205,9 +220,10 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn rename_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_390_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(28_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 14_319 nanoseconds.
|
||||
Weight::from_ref_time(16_793_491 as u64)
|
||||
// Standard Error: 706
|
||||
.saturating_add(Weight::from_ref_time(25_971 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -216,19 +232,21 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn remove_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_190_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 37_248 nanoseconds.
|
||||
Weight::from_ref_time(40_083_859 as u64)
|
||||
// Standard Error: 1_215
|
||||
.saturating_add(Weight::from_ref_time(66_182 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 99]`.
|
||||
/// The range of component `s` is `[0, 99]`.
|
||||
fn quit_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_005_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(57_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 25_792 nanoseconds.
|
||||
Weight::from_ref_time(29_482_631 as u64)
|
||||
// Standard Error: 1_182
|
||||
.saturating_add(Weight::from_ref_time(71_110 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_im_online`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_im_online`.
|
||||
@@ -52,11 +52,12 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `k` is `[1, 1000]`.
|
||||
/// The range of component `e` is `[1, 100]`.
|
||||
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(76_336_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(23_000 as u64).saturating_mul(k as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(291_000 as u64).saturating_mul(e as u64))
|
||||
// Minimum execution time: 96_848 nanoseconds.
|
||||
Weight::from_ref_time(76_934_215 as u64)
|
||||
// Standard Error: 356
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(k as u64))
|
||||
// Standard Error: 3_595
|
||||
.saturating_add(Weight::from_ref_time(319_684 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_indices`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_indices`.
|
||||
@@ -46,33 +46,38 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
Weight::from_ref_time(24_909_000 as u64)
|
||||
// Minimum execution time: 27_020 nanoseconds.
|
||||
Weight::from_ref_time(27_507_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(31_373_000 as u64)
|
||||
// Minimum execution time: 32_499 nanoseconds.
|
||||
Weight::from_ref_time(32_898_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn free() -> Weight {
|
||||
Weight::from_ref_time(25_840_000 as u64)
|
||||
// Minimum execution time: 27_796 nanoseconds.
|
||||
Weight::from_ref_time(28_283_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(26_189_000 as u64)
|
||||
// Minimum execution time: 28_389 nanoseconds.
|
||||
Weight::from_ref_time(28_796_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn freeze() -> Weight {
|
||||
Weight::from_ref_time(31_330_000 as u64)
|
||||
// Minimum execution time: 33_329 nanoseconds.
|
||||
Weight::from_ref_time(34_108_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_membership`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_membership`.
|
||||
@@ -50,9 +50,10 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 99]`.
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_886_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(31_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 20_390 nanoseconds.
|
||||
Weight::from_ref_time(22_044_878 as u64)
|
||||
// Standard Error: 797
|
||||
.saturating_add(Weight::from_ref_time(33_243 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -63,9 +64,10 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_104_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 23_013 nanoseconds.
|
||||
Weight::from_ref_time(23_713_008 as u64)
|
||||
// Standard Error: 481
|
||||
.saturating_add(Weight::from_ref_time(38_172 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -76,9 +78,10 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_139_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 23_198 nanoseconds.
|
||||
Weight::from_ref_time(23_817_539 as u64)
|
||||
// Standard Error: 644
|
||||
.saturating_add(Weight::from_ref_time(49_693 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -89,9 +92,10 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_002_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(147_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 22_542 nanoseconds.
|
||||
Weight::from_ref_time(23_700_365 as u64)
|
||||
// Standard Error: 776
|
||||
.saturating_add(Weight::from_ref_time(167_755 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -102,9 +106,10 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_660_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 23_375 nanoseconds.
|
||||
Weight::from_ref_time(24_305_512 as u64)
|
||||
// Standard Error: 624
|
||||
.saturating_add(Weight::from_ref_time(49_648 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -113,17 +118,21 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn set_prime(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(8_013_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(9_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 8_276 nanoseconds.
|
||||
Weight::from_ref_time(8_721_388 as u64)
|
||||
// Standard Error: 211
|
||||
.saturating_add(Weight::from_ref_time(9_233 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn clear_prime(_m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(4_708_000 as u64)
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
// Minimum execution time: 4_809 nanoseconds.
|
||||
Weight::from_ref_time(5_110_419 as u64)
|
||||
// Standard Error: 141
|
||||
.saturating_add(Weight::from_ref_time(1_010 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_multisig`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -28,11 +28,11 @@
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_multisig
|
||||
// --extrinsic=
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --header=./file_header.txt
|
||||
// --output=runtime/polkadot/src/weights/
|
||||
// --output=./runtime/polkadot/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -46,22 +46,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||
// Minimum execution time: 14_333 nanoseconds.
|
||||
Weight::from_ref_time(14_680_513 as u64)
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(478 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 14_625 nanoseconds.
|
||||
Weight::from_ref_time(15_168_661 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(700 as u64).saturating_mul(z as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 41_940 nanoseconds.
|
||||
Weight::from_ref_time(34_164_952 as u64)
|
||||
// Standard Error: 758
|
||||
.saturating_add(Weight::from_ref_time(84_361 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 44_269 nanoseconds.
|
||||
Weight::from_ref_time(36_420_603 as u64)
|
||||
// Standard Error: 767
|
||||
.saturating_add(Weight::from_ref_time(84_830 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_515 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_740 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -69,12 +69,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[3, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 32_061 nanoseconds.
|
||||
Weight::from_ref_time(25_242_175 as u64)
|
||||
// Standard Error: 488
|
||||
.saturating_add(Weight::from_ref_time(74_544 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(1_451 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 34_804 nanoseconds.
|
||||
Weight::from_ref_time(27_400_589 as u64)
|
||||
// Standard Error: 709
|
||||
.saturating_add(Weight::from_ref_time(80_170 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_670 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -83,12 +83,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 45_799 nanoseconds.
|
||||
Weight::from_ref_time(36_673_371 as u64)
|
||||
// Standard Error: 602
|
||||
.saturating_add(Weight::from_ref_time(105_602 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_489 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 48_885 nanoseconds.
|
||||
Weight::from_ref_time(38_719_746 as u64)
|
||||
// Standard Error: 740
|
||||
.saturating_add(Weight::from_ref_time(109_443 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_762 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -96,30 +96,30 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 30_746 nanoseconds.
|
||||
Weight::from_ref_time(33_495_066 as u64)
|
||||
// Standard Error: 1_027
|
||||
.saturating_add(Weight::from_ref_time(85_901 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 32_918 nanoseconds.
|
||||
Weight::from_ref_time(35_114_296 as u64)
|
||||
// Standard Error: 870
|
||||
.saturating_add(Weight::from_ref_time(88_713 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 21_939 nanoseconds.
|
||||
Weight::from_ref_time(23_359_812 as u64)
|
||||
// Standard Error: 626
|
||||
.saturating_add(Weight::from_ref_time(86_183 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 23_394 nanoseconds.
|
||||
Weight::from_ref_time(25_193_425 as u64)
|
||||
// Standard Error: 766
|
||||
.saturating_add(Weight::from_ref_time(84_508 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 32_246 nanoseconds.
|
||||
Weight::from_ref_time(33_400_827 as u64)
|
||||
// Standard Error: 746
|
||||
.saturating_add(Weight::from_ref_time(85_743 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 33_360 nanoseconds.
|
||||
Weight::from_ref_time(35_598_264 as u64)
|
||||
// Standard Error: 855
|
||||
.saturating_add(Weight::from_ref_time(85_941 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_nomination_pools`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_nomination_pools`.
|
||||
@@ -47,18 +47,19 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools MinJoinBond (r:1 w:0)
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:1)
|
||||
// Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
|
||||
// Storage: NominationPools MaxPoolMembers (r:1 w:0)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn join() -> Weight {
|
||||
Weight::from_ref_time(138_999_000 as u64)
|
||||
// Minimum execution time: 143_368 nanoseconds.
|
||||
Weight::from_ref_time(147_813_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(17 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
@@ -66,13 +67,14 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:2)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra_transfer() -> Weight {
|
||||
Weight::from_ref_time(134_798_000 as u64)
|
||||
// Minimum execution time: 141_294 nanoseconds.
|
||||
Weight::from_ref_time(142_580_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(14 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
@@ -80,13 +82,14 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:2 w:2)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra_reward() -> Weight {
|
||||
Weight::from_ref_time(138_061_000 as u64)
|
||||
// Minimum execution time: 145_976 nanoseconds.
|
||||
Weight::from_ref_time(149_745_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
@@ -95,13 +98,15 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn claim_payout() -> Weight {
|
||||
Weight::from_ref_time(53_869_000 as u64)
|
||||
// Minimum execution time: 54_743 nanoseconds.
|
||||
Weight::from_ref_time(55_539_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
@@ -109,49 +114,53 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
|
||||
fn unbond() -> Weight {
|
||||
Weight::from_ref_time(138_663_000 as u64)
|
||||
// Minimum execution time: 143_857 nanoseconds.
|
||||
Weight::from_ref_time(145_751_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(18 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(13 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(50_820_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
// Minimum execution time: 58_224 nanoseconds.
|
||||
Weight::from_ref_time(59_802_225 as u64)
|
||||
// Standard Error: 870
|
||||
.saturating_add(Weight::from_ref_time(19_208 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(91_686_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
// Minimum execution time: 98_968 nanoseconds.
|
||||
Weight::from_ref_time(100_541_263 as u64)
|
||||
// Standard Error: 1_330
|
||||
.saturating_add(Weight::from_ref_time(26_422 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
@@ -167,26 +176,28 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools CounterForBondedPools (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(144_919_000 as u64)
|
||||
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 149_053 nanoseconds.
|
||||
Weight::from_ref_time(152_258_821 as u64)
|
||||
// Standard Error: 2_471
|
||||
.saturating_add(Weight::from_ref_time(3_994 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(20 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(17 as u64))
|
||||
}
|
||||
// Storage: NominationPools LastPoolId (r:1 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: NominationPools MinCreateBond (r:1 w:0)
|
||||
// Storage: NominationPools MinJoinBond (r:1 w:0)
|
||||
// Storage: NominationPools MaxPools (r:1 w:0)
|
||||
// Storage: NominationPools CounterForBondedPools (r:1 w:1)
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools LastPoolId (r:1 w:1)
|
||||
// Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
|
||||
// Storage: NominationPools MaxPoolMembers (r:1 w:0)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: NominationPools CounterForRewardPools (r:1 w:1)
|
||||
@@ -195,36 +206,40 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(128_829_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(22 as u64))
|
||||
// Minimum execution time: 131_307 nanoseconds.
|
||||
Weight::from_ref_time(131_903_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(21 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(15 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: Staking MaxNominatorsCount (r:1 w:0)
|
||||
// Storage: Staking Validators (r:2 w:0)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: VoterList ListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 16]`.
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(60_631_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(988_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 63_797 nanoseconds.
|
||||
Weight::from_ref_time(64_609_885 as u64)
|
||||
// Standard Error: 7_244
|
||||
.saturating_add(Weight::from_ref_time(987_467 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
fn set_state() -> Weight {
|
||||
Weight::from_ref_time(33_763_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
// Minimum execution time: 39_822 nanoseconds.
|
||||
Weight::from_ref_time(40_523_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
@@ -232,9 +247,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools CounterForMetadata (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn set_metadata(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_470_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 15_620 nanoseconds.
|
||||
Weight::from_ref_time(16_509_178 as u64)
|
||||
// Standard Error: 137
|
||||
.saturating_add(Weight::from_ref_time(356 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -244,16 +260,19 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: NominationPools MinCreateBond (r:0 w:1)
|
||||
// Storage: NominationPools MaxPools (r:0 w:1)
|
||||
fn set_configs() -> Weight {
|
||||
Weight::from_ref_time(7_525_000 as u64)
|
||||
// Minimum execution time: 6_536 nanoseconds.
|
||||
Weight::from_ref_time(6_677_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
fn update_roles() -> Weight {
|
||||
Weight::from_ref_time(25_910_000 as u64)
|
||||
// Minimum execution time: 26_150 nanoseconds.
|
||||
Weight::from_ref_time(26_682_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
@@ -262,8 +281,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill() -> Weight {
|
||||
Weight::from_ref_time(59_921_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
// Minimum execution time: 65_307 nanoseconds.
|
||||
Weight::from_ref_time(66_030_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_preimage`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,7 +32,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/polkadot/src/weights
|
||||
// --output=./runtime/polkadot/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -48,9 +48,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_326_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_116 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 29_241 nanoseconds.
|
||||
Weight::from_ref_time(29_702_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_485 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -58,9 +59,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_requested_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_011_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_114 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 21_209 nanoseconds.
|
||||
Weight::from_ref_time(21_369_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_482 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -68,66 +70,76 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_no_deposit_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_805_000 as u64)
|
||||
// Minimum execution time: 19_543 nanoseconds.
|
||||
Weight::from_ref_time(19_817_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_116 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(Weight::from_ref_time(2_487 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_preimage() -> Weight {
|
||||
Weight::from_ref_time(39_007_000 as u64)
|
||||
// Minimum execution time: 41_035 nanoseconds.
|
||||
Weight::from_ref_time(42_095_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_no_deposit_preimage() -> Weight {
|
||||
Weight::from_ref_time(27_523_000 as u64)
|
||||
// Minimum execution time: 28_472 nanoseconds.
|
||||
Weight::from_ref_time(30_030_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_preimage() -> Weight {
|
||||
Weight::from_ref_time(26_477_000 as u64)
|
||||
// Minimum execution time: 28_034 nanoseconds.
|
||||
Weight::from_ref_time(30_657_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_no_deposit_preimage() -> Weight {
|
||||
Weight::from_ref_time(13_236_000 as u64)
|
||||
// Minimum execution time: 15_756 nanoseconds.
|
||||
Weight::from_ref_time(16_707_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_unnoted_preimage() -> Weight {
|
||||
Weight::from_ref_time(17_975_000 as u64)
|
||||
// Minimum execution time: 17_491 nanoseconds.
|
||||
Weight::from_ref_time(18_540_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_requested_preimage() -> Weight {
|
||||
Weight::from_ref_time(8_295_000 as u64)
|
||||
// Minimum execution time: 8_636 nanoseconds.
|
||||
Weight::from_ref_time(9_055_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unrequest_preimage() -> Weight {
|
||||
Weight::from_ref_time(26_186_000 as u64)
|
||||
// Minimum execution time: 28_146 nanoseconds.
|
||||
Weight::from_ref_time(29_062_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn unrequest_unnoted_preimage() -> Weight {
|
||||
Weight::from_ref_time(8_176_000 as u64)
|
||||
// Minimum execution time: 8_541 nanoseconds.
|
||||
Weight::from_ref_time(8_992_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn unrequest_multi_referenced_preimage() -> Weight {
|
||||
Weight::from_ref_time(8_005_000 as u64)
|
||||
// Minimum execution time: 8_558 nanoseconds.
|
||||
Weight::from_ref_time(8_880_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_proxy`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_proxy`.
|
||||
@@ -47,9 +47,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_123_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(66_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 20_608 nanoseconds.
|
||||
Weight::from_ref_time(21_427_971 as u64)
|
||||
// Standard Error: 1_454
|
||||
.saturating_add(Weight::from_ref_time(58_755 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
@@ -58,11 +59,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_255_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(112_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 38_933 nanoseconds.
|
||||
Weight::from_ref_time(38_864_156 as u64)
|
||||
// Standard Error: 2_331
|
||||
.saturating_add(Weight::from_ref_time(129_402 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_409
|
||||
.saturating_add(Weight::from_ref_time(37_803 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -71,11 +73,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_052_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(123_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 26_663 nanoseconds.
|
||||
Weight::from_ref_time(28_155_321 as u64)
|
||||
// Standard Error: 1_876
|
||||
.saturating_add(Weight::from_ref_time(119_017 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_939
|
||||
.saturating_add(Weight::from_ref_time(2_962 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -84,11 +87,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_446_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(108_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(8_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 26_838 nanoseconds.
|
||||
Weight::from_ref_time(28_201_760 as u64)
|
||||
// Standard Error: 1_761
|
||||
.saturating_add(Weight::from_ref_time(111_913 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_820
|
||||
.saturating_add(Weight::from_ref_time(3_823 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -98,38 +102,42 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn announce(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_147_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(44_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 34_778 nanoseconds.
|
||||
Weight::from_ref_time(35_773_772 as u64)
|
||||
// Standard Error: 2_014
|
||||
.saturating_add(Weight::from_ref_time(117_292 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_081
|
||||
.saturating_add(Weight::from_ref_time(42_008 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn add_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_804_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(94_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 28_063 nanoseconds.
|
||||
Weight::from_ref_time(29_792_630 as u64)
|
||||
// Standard Error: 1_849
|
||||
.saturating_add(Weight::from_ref_time(68_018 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_960_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 27_939 nanoseconds.
|
||||
Weight::from_ref_time(29_987_466 as u64)
|
||||
// Standard Error: 2_039
|
||||
.saturating_add(Weight::from_ref_time(95_130 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxies(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_964_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(53_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 24_796 nanoseconds.
|
||||
Weight::from_ref_time(26_085_767 as u64)
|
||||
// Standard Error: 1_389
|
||||
.saturating_add(Weight::from_ref_time(53_192 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -137,18 +145,20 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn create_pure(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_935_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 31_445 nanoseconds.
|
||||
Weight::from_ref_time(32_982_887 as u64)
|
||||
// Standard Error: 3_109
|
||||
.saturating_add(Weight::from_ref_time(47_589 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 30]`.
|
||||
fn kill_pure(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_877_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 26_316 nanoseconds.
|
||||
Weight::from_ref_time(27_309_864 as u64)
|
||||
// Standard Error: 1_763
|
||||
.saturating_add(Weight::from_ref_time(47_640 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_scheduler`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,7 +32,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/polkadot/src/weights
|
||||
// --output=./runtime/polkadot/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -46,55 +46,61 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler IncompleteSince (r:1 w:1)
|
||||
fn service_agendas_base() -> Weight {
|
||||
Weight::from_ref_time(4_522_000 as u64)
|
||||
// Minimum execution time: 4_885 nanoseconds.
|
||||
Weight::from_ref_time(4_987_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 50]`.
|
||||
fn service_agenda_base(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_859_000 as u64)
|
||||
// Standard Error: 2_692
|
||||
.saturating_add(Weight::from_ref_time(618_992 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 4_159 nanoseconds.
|
||||
Weight::from_ref_time(7_592_661 as u64)
|
||||
// Standard Error: 1_966
|
||||
.saturating_add(Weight::from_ref_time(686_426 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn service_task_base() -> Weight {
|
||||
Weight::from_ref_time(12_288_000 as u64)
|
||||
// Minimum execution time: 10_198 nanoseconds.
|
||||
Weight::from_ref_time(10_441_000 as u64)
|
||||
}
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `s` is `[128, 4194304]`.
|
||||
fn service_task_fetched(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_105_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_126 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 21_321 nanoseconds.
|
||||
Weight::from_ref_time(21_555_000 as u64)
|
||||
// Standard Error: 9
|
||||
.saturating_add(Weight::from_ref_time(1_534 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
fn service_task_named() -> Weight {
|
||||
Weight::from_ref_time(13_382_000 as u64)
|
||||
// Minimum execution time: 11_616 nanoseconds.
|
||||
Weight::from_ref_time(11_798_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn service_task_periodic() -> Weight {
|
||||
Weight::from_ref_time(19_246_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 9_892 nanoseconds.
|
||||
Weight::from_ref_time(10_084_000 as u64)
|
||||
}
|
||||
fn execute_dispatch_signed() -> Weight {
|
||||
Weight::from_ref_time(3_714_000 as u64)
|
||||
// Minimum execution time: 4_250 nanoseconds.
|
||||
Weight::from_ref_time(4_349_000 as u64)
|
||||
}
|
||||
fn execute_dispatch_unsigned() -> Weight {
|
||||
Weight::from_ref_time(3_667_000 as u64)
|
||||
// Minimum execution time: 4_195 nanoseconds.
|
||||
Weight::from_ref_time(4_294_000 as u64)
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 49]`.
|
||||
fn schedule(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_556_000 as u64)
|
||||
// Standard Error: 3_431
|
||||
.saturating_add(Weight::from_ref_time(659_506 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 17_845 nanoseconds.
|
||||
Weight::from_ref_time(21_966_647 as u64)
|
||||
// Standard Error: 2_375
|
||||
.saturating_add(Weight::from_ref_time(709_788 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -102,9 +108,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn cancel(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_922_000 as u64)
|
||||
// Standard Error: 1_665
|
||||
.saturating_add(Weight::from_ref_time(586_420 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 20_576 nanoseconds.
|
||||
Weight::from_ref_time(22_223_331 as u64)
|
||||
// Standard Error: 1_893
|
||||
.saturating_add(Weight::from_ref_time(704_138 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -112,9 +119,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 49]`.
|
||||
fn schedule_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_633_000 as u64)
|
||||
// Standard Error: 3_740
|
||||
.saturating_add(Weight::from_ref_time(692_772 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 20_629 nanoseconds.
|
||||
Weight::from_ref_time(25_733_922 as u64)
|
||||
// Standard Error: 3_411
|
||||
.saturating_add(Weight::from_ref_time(730_376 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -122,9 +130,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 50]`.
|
||||
fn cancel_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_220_000 as u64)
|
||||
// Standard Error: 2_111
|
||||
.saturating_add(Weight::from_ref_time(622_452 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 21_737 nanoseconds.
|
||||
Weight::from_ref_time(24_034_587 as u64)
|
||||
// Standard Error: 2_365
|
||||
.saturating_add(Weight::from_ref_time(719_777 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_session`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_session`.
|
||||
@@ -48,7 +48,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:6 w:6)
|
||||
fn set_keys() -> Weight {
|
||||
Weight::from_ref_time(50_181_000 as u64)
|
||||
// Minimum execution time: 51_133 nanoseconds.
|
||||
Weight::from_ref_time(52_762_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -56,7 +57,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:0 w:6)
|
||||
fn purge_keys() -> Weight {
|
||||
Weight::from_ref_time(38_209_000 as u64)
|
||||
// Minimum execution time: 38_703 nanoseconds.
|
||||
Weight::from_ref_time(40_249_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_staking`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_staking`.
|
||||
@@ -47,12 +47,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn bond() -> Weight {
|
||||
Weight::from_ref_time(45_432_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
// Minimum execution time: 46_662 nanoseconds.
|
||||
Weight::from_ref_time(47_196_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
@@ -61,7 +61,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra() -> Weight {
|
||||
Weight::from_ref_time(79_495_000 as u64)
|
||||
// Minimum execution time: 84_636 nanoseconds.
|
||||
Weight::from_ref_time(85_507_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -75,7 +76,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn unbond() -> Weight {
|
||||
Weight::from_ref_time(84_820_000 as u64)
|
||||
// Minimum execution time: 89_960 nanoseconds.
|
||||
Weight::from_ref_time(90_775_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
@@ -85,9 +87,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(39_300_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 40_902 nanoseconds.
|
||||
Weight::from_ref_time(42_037_878 as u64)
|
||||
// Standard Error: 759
|
||||
.saturating_add(Weight::from_ref_time(18_773 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -106,7 +109,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(75_001_000 as u64)
|
||||
// Minimum execution time: 76_841 nanoseconds.
|
||||
Weight::from_ref_time(78_511_970 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(11 as u64))
|
||||
}
|
||||
@@ -122,7 +126,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CounterForValidators (r:1 w:1)
|
||||
fn validate() -> Weight {
|
||||
Weight::from_ref_time(58_154_000 as u64)
|
||||
// Minimum execution time: 61_371 nanoseconds.
|
||||
Weight::from_ref_time(62_111_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -130,9 +135,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
/// The range of component `k` is `[1, 128]`.
|
||||
fn kick(k: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_809_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(6_244_000 as u64).saturating_mul(k as u64))
|
||||
// Minimum execution time: 32_802 nanoseconds.
|
||||
Weight::from_ref_time(31_148_886 as u64)
|
||||
// Standard Error: 8_584
|
||||
.saturating_add(Weight::from_ref_time(6_310_078 as u64).saturating_mul(k as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(k as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64)))
|
||||
@@ -150,9 +156,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 16]`.
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(59_788_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(2_494_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 63_601 nanoseconds.
|
||||
Weight::from_ref_time(62_683_368 as u64)
|
||||
// Standard Error: 5_693
|
||||
.saturating_add(Weight::from_ref_time(2_387_381 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
@@ -165,50 +172,58 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill() -> Weight {
|
||||
Weight::from_ref_time(55_934_000 as u64)
|
||||
// Minimum execution time: 58_414 nanoseconds.
|
||||
Weight::from_ref_time(58_926_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn set_payee() -> Weight {
|
||||
Weight::from_ref_time(15_014_000 as u64)
|
||||
// Minimum execution time: 15_904 nanoseconds.
|
||||
Weight::from_ref_time(16_192_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:2 w:2)
|
||||
fn set_controller() -> Weight {
|
||||
Weight::from_ref_time(22_074_000 as u64)
|
||||
// Minimum execution time: 23_346 nanoseconds.
|
||||
Weight::from_ref_time(23_789_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Staking ValidatorCount (r:0 w:1)
|
||||
fn set_validator_count() -> Weight {
|
||||
Weight::from_ref_time(3_971_000 as u64)
|
||||
// Minimum execution time: 4_391 nanoseconds.
|
||||
Weight::from_ref_time(4_537_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_no_eras() -> Weight {
|
||||
Weight::from_ref_time(3_980_000 as u64)
|
||||
// Minimum execution time: 4_401 nanoseconds.
|
||||
Weight::from_ref_time(4_566_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era() -> Weight {
|
||||
Weight::from_ref_time(3_926_000 as u64)
|
||||
// Minimum execution time: 4_332 nanoseconds.
|
||||
Weight::from_ref_time(4_500_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era_always() -> Weight {
|
||||
Weight::from_ref_time(4_043_000 as u64)
|
||||
// Minimum execution time: 4_311 nanoseconds.
|
||||
Weight::from_ref_time(4_424_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Invulnerables (r:0 w:1)
|
||||
/// The range of component `v` is `[0, 1000]`.
|
||||
fn set_invulnerables(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(4_365_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 4_728 nanoseconds.
|
||||
Weight::from_ref_time(5_009_153 as u64)
|
||||
// Standard Error: 40
|
||||
.saturating_add(Weight::from_ref_time(13_575 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
@@ -226,9 +241,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking SpanSlash (r:0 w:2)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn force_unstake(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(72_013_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(868_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 70_738 nanoseconds.
|
||||
Weight::from_ref_time(75_635_135 as u64)
|
||||
// Standard Error: 1_963
|
||||
.saturating_add(Weight::from_ref_time(886_440 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -236,49 +252,50 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking UnappliedSlashes (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 1000]`.
|
||||
fn cancel_deferred_slash(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(862_274_000 as u64)
|
||||
// Standard Error: 57_000
|
||||
.saturating_add(Weight::from_ref_time(4_844_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 121_057 nanoseconds.
|
||||
Weight::from_ref_time(930_162_123 as u64)
|
||||
// Standard Error: 58_030
|
||||
.saturating_add(Weight::from_ref_time(4_954_466 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Staking ErasValidatorReward (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:2 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking ErasStakersClipped (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:0)
|
||||
// Storage: Staking ErasValidatorPrefs (r:1 w:0)
|
||||
// Storage: Staking Payee (r:2 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
// Storage: Staking Payee (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `n` is `[0, 512]`.
|
||||
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(147_723_000 as u64)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(20_027_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
// Minimum execution time: 109_038 nanoseconds.
|
||||
Weight::from_ref_time(209_711_375 as u64)
|
||||
// Standard Error: 14_502
|
||||
.saturating_add(Weight::from_ref_time(21_251_776 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Staking ErasValidatorReward (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:2 w:0)
|
||||
// Storage: Staking Ledger (r:2 w:2)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking ErasStakersClipped (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:0)
|
||||
// Storage: Staking ErasValidatorPrefs (r:1 w:0)
|
||||
// Storage: Staking Payee (r:2 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Balances Locks (r:2 w:2)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
// Storage: Staking Payee (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `n` is `[0, 512]`.
|
||||
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(106_610_000 as u64)
|
||||
// Standard Error: 144_000
|
||||
.saturating_add(Weight::from_ref_time(28_792_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
// Minimum execution time: 126_327 nanoseconds.
|
||||
Weight::from_ref_time(172_023_969 as u64)
|
||||
// Standard Error: 77_234
|
||||
.saturating_add(Weight::from_ref_time(31_062_247 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(n as u64)))
|
||||
@@ -291,9 +308,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
/// The range of component `l` is `[1, 32]`.
|
||||
fn rebond(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(79_808_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 81_709 nanoseconds.
|
||||
Weight::from_ref_time(83_708_699 as u64)
|
||||
// Standard Error: 4_311
|
||||
.saturating_add(Weight::from_ref_time(44_788 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
@@ -312,9 +330,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking SpanSlash (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn reap_stash(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(79_588_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(860_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 81_287 nanoseconds.
|
||||
Weight::from_ref_time(83_420_670 as u64)
|
||||
// Standard Error: 2_357
|
||||
.saturating_add(Weight::from_ref_time(879_072 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -332,21 +351,21 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
// Storage: Staking MinimumValidatorCount (r:1 w:0)
|
||||
// Storage: Staking CurrentEra (r:1 w:1)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Staking ErasStakersClipped (r:0 w:1)
|
||||
// Storage: Staking ErasValidatorPrefs (r:0 w:1)
|
||||
// Storage: Staking ErasStakers (r:0 w:1)
|
||||
// Storage: Staking ErasTotalStake (r:0 w:1)
|
||||
// Storage: Staking ErasStartSessionIndex (r:0 w:1)
|
||||
/// The range of component `v` is `[1, 10]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn new_era(v: u32, n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 694_000
|
||||
.saturating_add(Weight::from_ref_time(176_240_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 66_000
|
||||
.saturating_add(Weight::from_ref_time(23_971_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(187 as u64))
|
||||
// Minimum execution time: 432_765 nanoseconds.
|
||||
Weight::from_ref_time(434_560_000 as u64)
|
||||
// Standard Error: 1_840_727
|
||||
.saturating_add(Weight::from_ref_time(60_273_780 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 183_418
|
||||
.saturating_add(Weight::from_ref_time(13_301_391 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(186 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -365,27 +384,28 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[500, 1000]`.
|
||||
/// The range of component `s` is `[1, 20]`.
|
||||
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 450_000
|
||||
.saturating_add(Weight::from_ref_time(38_224_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 450_000
|
||||
.saturating_add(Weight::from_ref_time(38_981_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 11_498_000
|
||||
.saturating_add(Weight::from_ref_time(16_085_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 26_190_965 nanoseconds.
|
||||
Weight::from_ref_time(26_379_230_000 as u64)
|
||||
// Standard Error: 498_237
|
||||
.saturating_add(Weight::from_ref_time(12_106_020 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 498_237
|
||||
.saturating_add(Weight::from_ref_time(10_834_947 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(181 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Staking CounterForValidators (r:1 w:0)
|
||||
// Storage: Staking Validators (r:501 w:0)
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
/// The range of component `v` is `[500, 1000]`.
|
||||
fn get_npos_targets(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(105_025_000 as u64)
|
||||
// Standard Error: 45_000
|
||||
.saturating_add(Weight::from_ref_time(6_357_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
// Minimum execution time: 3_556_361 nanoseconds.
|
||||
Weight::from_ref_time(120_792_037 as u64)
|
||||
// Standard Error: 57_285
|
||||
.saturating_add(Weight::from_ref_time(7_333_197 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -396,7 +416,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_set() -> Weight {
|
||||
Weight::from_ref_time(7_146_000 as u64)
|
||||
// Minimum execution time: 7_322 nanoseconds.
|
||||
Weight::from_ref_time(7_596_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:0 w:1)
|
||||
@@ -406,7 +427,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_remove() -> Weight {
|
||||
Weight::from_ref_time(6_698_000 as u64)
|
||||
// Minimum execution time: 6_842 nanoseconds.
|
||||
Weight::from_ref_time(7_029_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
@@ -420,14 +442,16 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill_other() -> Weight {
|
||||
Weight::from_ref_time(66_060_000 as u64)
|
||||
// Minimum execution time: 69_097 nanoseconds.
|
||||
Weight::from_ref_time(69_731_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:1)
|
||||
fn force_apply_min_commission() -> Weight {
|
||||
Weight::from_ref_time(14_560_000 as u64)
|
||||
// Minimum execution time: 15_563 nanoseconds.
|
||||
Weight::from_ref_time(15_867_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_timestamp`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_timestamp`.
|
||||
@@ -47,11 +47,13 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
// Storage: Babe CurrentSlot (r:1 w:0)
|
||||
fn set() -> Weight {
|
||||
Weight::from_ref_time(9_237_000 as u64)
|
||||
// Minimum execution time: 9_473 nanoseconds.
|
||||
Weight::from_ref_time(9_896_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
Weight::from_ref_time(3_851_000 as u64)
|
||||
// Minimum execution time: 4_279 nanoseconds.
|
||||
Weight::from_ref_time(4_529_000 as u64)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_tips`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_tips`.
|
||||
@@ -48,16 +48,18 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 16384]`.
|
||||
fn report_awesome(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_098_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 29_978 nanoseconds.
|
||||
Weight::from_ref_time(31_596_470 as u64)
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(2_012 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
fn retract_tip() -> Weight {
|
||||
Weight::from_ref_time(27_830_000 as u64)
|
||||
// Minimum execution time: 29_917 nanoseconds.
|
||||
Weight::from_ref_time(30_436_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -67,11 +69,12 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `r` is `[0, 16384]`.
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn tip_new(r: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_185_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(204_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 22_911 nanoseconds.
|
||||
Weight::from_ref_time(22_091_512 as u64)
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_846 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 9_030
|
||||
.saturating_add(Weight::from_ref_time(210_311 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -79,9 +82,10 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_650_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(169_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 14_955 nanoseconds.
|
||||
Weight::from_ref_time(15_347_933 as u64)
|
||||
// Standard Error: 2_036
|
||||
.saturating_add(Weight::from_ref_time(140_987 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -91,9 +95,10 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn close_tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(44_468_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(186_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 46_745 nanoseconds.
|
||||
Weight::from_ref_time(47_775_426 as u64)
|
||||
// Standard Error: 5_647
|
||||
.saturating_add(Weight::from_ref_time(149_882 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -101,9 +106,10 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn slash_tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_758_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(34_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 19_411 nanoseconds.
|
||||
Weight::from_ref_time(20_301_396 as u64)
|
||||
// Standard Error: 2_075
|
||||
.saturating_add(Weight::from_ref_time(36_174 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_treasury`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,26 +38,29 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_treasury`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
fn spend() -> Weight {
|
||||
Weight::from_ref_time(159_000 as u64)
|
||||
// Minimum execution time: 140 nanoseconds.
|
||||
Weight::from_ref_time(192_000 as u64)
|
||||
}
|
||||
// Storage: Treasury ProposalCount (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:0 w:1)
|
||||
fn propose_spend() -> Weight {
|
||||
Weight::from_ref_time(25_052_000 as u64)
|
||||
// Minimum execution time: 27_339 nanoseconds.
|
||||
Weight::from_ref_time(27_812_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Treasury Proposals (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn reject_proposal() -> Weight {
|
||||
Weight::from_ref_time(37_455_000 as u64)
|
||||
// Minimum execution time: 39_765 nanoseconds.
|
||||
Weight::from_ref_time(40_401_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -65,15 +68,17 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 99]`.
|
||||
fn approve_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_929_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(52_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 10_092 nanoseconds.
|
||||
Weight::from_ref_time(13_612_152 as u64)
|
||||
// Standard Error: 1_134
|
||||
.saturating_add(Weight::from_ref_time(45_701 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
fn remove_approval() -> Weight {
|
||||
Weight::from_ref_time(7_745_000 as u64)
|
||||
// Minimum execution time: 8_372 nanoseconds.
|
||||
Weight::from_ref_time(8_582_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -83,9 +88,10 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:4 w:4)
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn on_initialize_proposals(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_263_000 as u64)
|
||||
// Standard Error: 16_000
|
||||
.saturating_add(Weight::from_ref_time(24_564_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 35_588 nanoseconds.
|
||||
Weight::from_ref_time(45_604_897 as u64)
|
||||
// Standard Error: 24_691
|
||||
.saturating_add(Weight::from_ref_time(24_665_984 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_utility`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_utility`.
|
||||
@@ -46,26 +46,31 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_356_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_407_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 11_964 nanoseconds.
|
||||
Weight::from_ref_time(19_427_609 as u64)
|
||||
// Standard Error: 3_994
|
||||
.saturating_add(Weight::from_ref_time(3_826_293 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
Weight::from_ref_time(5_533_000 as u64)
|
||||
// Minimum execution time: 6_409 nanoseconds.
|
||||
Weight::from_ref_time(6_892_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_834_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_527_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 12_148 nanoseconds.
|
||||
Weight::from_ref_time(21_596_151 as u64)
|
||||
// Standard Error: 2_632
|
||||
.saturating_add(Weight::from_ref_time(3_977_735 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
Weight::from_ref_time(13_247_000 as u64)
|
||||
// Minimum execution time: 14_111 nanoseconds.
|
||||
Weight::from_ref_time(14_347_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_641_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_373_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 12_114 nanoseconds.
|
||||
Weight::from_ref_time(16_797_748 as u64)
|
||||
// Standard Error: 2_468
|
||||
.saturating_add(Weight::from_ref_time(3_823_041 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_vesting`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_vesting`.
|
||||
@@ -49,11 +49,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_041_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 39_531 nanoseconds.
|
||||
Weight::from_ref_time(38_955_116 as u64)
|
||||
// Standard Error: 1_450
|
||||
.saturating_add(Weight::from_ref_time(41_616 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_580
|
||||
.saturating_add(Weight::from_ref_time(69_436 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -62,11 +63,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_819_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(40_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 38_671 nanoseconds.
|
||||
Weight::from_ref_time(38_567_314 as u64)
|
||||
// Standard Error: 1_210
|
||||
.saturating_add(Weight::from_ref_time(35_143 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_154
|
||||
.saturating_add(Weight::from_ref_time(55_568 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -76,11 +78,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_068_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(98_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 39_295 nanoseconds.
|
||||
Weight::from_ref_time(38_013_471 as u64)
|
||||
// Standard Error: 1_321
|
||||
.saturating_add(Weight::from_ref_time(53_553 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_351
|
||||
.saturating_add(Weight::from_ref_time(84_076 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -90,11 +93,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_164_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(34_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 38_769 nanoseconds.
|
||||
Weight::from_ref_time(38_918_484 as u64)
|
||||
// Standard Error: 1_194
|
||||
.saturating_add(Weight::from_ref_time(28_142 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_126
|
||||
.saturating_add(Weight::from_ref_time(47_289 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -104,11 +108,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[0, 27]`.
|
||||
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(49_221_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(39_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 53_331 nanoseconds.
|
||||
Weight::from_ref_time(53_357_152 as u64)
|
||||
// Standard Error: 2_054
|
||||
.saturating_add(Weight::from_ref_time(44_152 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_654
|
||||
.saturating_add(Weight::from_ref_time(52_672 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -118,11 +123,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(48_444_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 52_809 nanoseconds.
|
||||
Weight::from_ref_time(53_497_880 as u64)
|
||||
// Standard Error: 2_046
|
||||
.saturating_add(Weight::from_ref_time(29_895 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_641
|
||||
.saturating_add(Weight::from_ref_time(41_171 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -132,11 +138,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[2, 28]`.
|
||||
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_632_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 40_643 nanoseconds.
|
||||
Weight::from_ref_time(39_703_973 as u64)
|
||||
// Standard Error: 1_240
|
||||
.saturating_add(Weight::from_ref_time(40_068 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_291
|
||||
.saturating_add(Weight::from_ref_time(79_877 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -146,11 +153,12 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[2, 28]`.
|
||||
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_538_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(53_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(103_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 40_470 nanoseconds.
|
||||
Weight::from_ref_time(39_534_878 as u64)
|
||||
// Standard Error: 1_164
|
||||
.saturating_add(Weight::from_ref_time(40_286 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_149
|
||||
.saturating_add(Weight::from_ref_time(77_107 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_common::auctions`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::auctions`.
|
||||
@@ -47,7 +47,8 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:1)
|
||||
fn new_auction() -> Weight {
|
||||
Weight::from_ref_time(16_359_000 as u64)
|
||||
// Minimum execution time: 17_695 nanoseconds.
|
||||
Weight::from_ref_time(18_051_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -59,7 +60,8 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Auctions ReservedAmounts (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn bid() -> Weight {
|
||||
Weight::from_ref_time(69_607_000 as u64)
|
||||
// Minimum execution time: 73_260 nanoseconds.
|
||||
Weight::from_ref_time(74_711_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -76,7 +78,8 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
fn on_initialize() -> Weight {
|
||||
Weight::from_ref_time(15_111_005_000 as u64)
|
||||
// Minimum execution time: 15_542_084 nanoseconds.
|
||||
Weight::from_ref_time(15_830_065_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3688 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3683 as u64))
|
||||
}
|
||||
@@ -85,7 +88,8 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Storage: Auctions Winning (r:0 w:3600)
|
||||
// Storage: Auctions AuctionInfo (r:0 w:1)
|
||||
fn cancel_auction() -> Weight {
|
||||
Weight::from_ref_time(4_643_675_000 as u64)
|
||||
// Minimum execution time: 4_685_796 nanoseconds.
|
||||
Weight::from_ref_time(4_784_757_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(73 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3673 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_common::claims`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::claims`.
|
||||
@@ -52,7 +52,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
Weight::from_ref_time(143_005_000 as u64)
|
||||
// Minimum execution time: 144_499 nanoseconds.
|
||||
Weight::from_ref_time(146_851_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -61,7 +62,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: Claims Claims (r:0 w:1)
|
||||
// Storage: Claims Signing (r:0 w:1)
|
||||
fn mint_claim() -> Weight {
|
||||
Weight::from_ref_time(11_431_000 as u64)
|
||||
// Minimum execution time: 11_557 nanoseconds.
|
||||
Weight::from_ref_time(12_078_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -73,7 +75,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn claim_attest() -> Weight {
|
||||
Weight::from_ref_time(145_634_000 as u64)
|
||||
// Minimum execution time: 147_154 nanoseconds.
|
||||
Weight::from_ref_time(150_718_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -86,7 +89,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn attest() -> Weight {
|
||||
Weight::from_ref_time(66_979_000 as u64)
|
||||
// Minimum execution time: 68_909 nanoseconds.
|
||||
Weight::from_ref_time(71_077_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -95,7 +99,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: Claims Signing (r:1 w:2)
|
||||
// Storage: Claims Preclaims (r:1 w:1)
|
||||
fn move_claim() -> Weight {
|
||||
Weight::from_ref_time(21_303_000 as u64)
|
||||
// Minimum execution time: 22_310 nanoseconds.
|
||||
Weight::from_ref_time(23_037_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_common::crowdloan`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::crowdloan`.
|
||||
@@ -49,7 +49,8 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
// Storage: Crowdloan NextFundIndex (r:1 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(46_657_000 as u64)
|
||||
// Minimum execution time: 47_532 nanoseconds.
|
||||
Weight::from_ref_time(49_107_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -61,7 +62,8 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
|
||||
fn contribute() -> Weight {
|
||||
Weight::from_ref_time(116_256_000 as u64)
|
||||
// Minimum execution time: 117_161 nanoseconds.
|
||||
Weight::from_ref_time(118_612_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -69,16 +71,18 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1)
|
||||
fn withdraw() -> Weight {
|
||||
Weight::from_ref_time(54_668_000 as u64)
|
||||
// Minimum execution time: 56_984 nanoseconds.
|
||||
Weight::from_ref_time(57_919_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `k` is `[0, 1000]`.
|
||||
fn refund(k: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 18_000
|
||||
.saturating_add(Weight::from_ref_time(17_769_000 as u64).saturating_mul(k as u64))
|
||||
// Minimum execution time: 53_704 nanoseconds.
|
||||
Weight::from_ref_time(64_956_000 as u64)
|
||||
// Standard Error: 15_082
|
||||
.saturating_add(Weight::from_ref_time(18_122_444 as u64).saturating_mul(k as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(k as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -87,27 +91,31 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn dissolve() -> Weight {
|
||||
Weight::from_ref_time(35_958_000 as u64)
|
||||
// Minimum execution time: 37_332 nanoseconds.
|
||||
Weight::from_ref_time(38_138_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:1)
|
||||
fn edit() -> Weight {
|
||||
Weight::from_ref_time(23_705_000 as u64)
|
||||
// Minimum execution time: 24_508 nanoseconds.
|
||||
Weight::from_ref_time(24_887_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:0)
|
||||
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
|
||||
fn add_memo() -> Weight {
|
||||
Weight::from_ref_time(33_328_000 as u64)
|
||||
// Minimum execution time: 34_804 nanoseconds.
|
||||
Weight::from_ref_time(35_771_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Crowdloan Funds (r:1 w:0)
|
||||
// Storage: Crowdloan NewRaise (r:1 w:1)
|
||||
fn poke() -> Weight {
|
||||
Weight::from_ref_time(25_527_000 as u64)
|
||||
// Minimum execution time: 26_119 nanoseconds.
|
||||
Weight::from_ref_time(26_830_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -123,9 +131,10 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `n` is `[2, 100]`.
|
||||
fn on_initialize(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_631_000 as u64)
|
||||
// Standard Error: 23_000
|
||||
.saturating_add(Weight::from_ref_time(39_559_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 105_872 nanoseconds.
|
||||
Weight::from_ref_time(6_994_467 as u64)
|
||||
// Standard Error: 38_723
|
||||
.saturating_add(Weight::from_ref_time(41_147_156 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_common::paras_registrar`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::paras_registrar`.
|
||||
@@ -48,7 +48,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
fn reserve() -> Weight {
|
||||
Weight::from_ref_time(29_429_000 as u64)
|
||||
// Minimum execution time: 31_379 nanoseconds.
|
||||
Weight::from_ref_time(32_013_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -63,7 +64,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn register() -> Weight {
|
||||
Weight::from_ref_time(7_272_403_000 as u64)
|
||||
// Minimum execution time: 7_838_268 nanoseconds.
|
||||
Weight::from_ref_time(8_000_048_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -78,7 +80,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn force_register() -> Weight {
|
||||
Weight::from_ref_time(7_255_583_000 as u64)
|
||||
// Minimum execution time: 7_818_286 nanoseconds.
|
||||
Weight::from_ref_time(7_962_262_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -89,7 +92,8 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar PendingSwap (r:0 w:1)
|
||||
fn deregister() -> Weight {
|
||||
Weight::from_ref_time(47_678_000 as u64)
|
||||
// Minimum execution time: 49_346 nanoseconds.
|
||||
Weight::from_ref_time(50_242_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -101,11 +105,14 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: Crowdloan Funds (r:2 w:2)
|
||||
// Storage: Slots Leases (r:2 w:2)
|
||||
fn swap() -> Weight {
|
||||
Weight::from_ref_time(42_298_000 as u64)
|
||||
// Minimum execution time: 44_290 nanoseconds.
|
||||
Weight::from_ref_time(44_983_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
// Storage: Paras FutureCodeHash (r:1 w:1)
|
||||
// Storage: Paras UpgradeRestrictionSignal (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Paras CurrentCodeHash (r:1 w:0)
|
||||
// Storage: Paras UpgradeCooldowns (r:1 w:1)
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
|
||||
@@ -114,19 +121,22 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: Paras CodeByHashRefs (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:0 w:1)
|
||||
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
|
||||
/// The range of component `b` is `[1, 3145728]`.
|
||||
fn schedule_code_upgrade(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
// Minimum execution time: 41_975 nanoseconds.
|
||||
Weight::from_ref_time(42_390_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_483 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
/// The range of component `b` is `[1, 1048576]`.
|
||||
fn set_current_head(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(5_494_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 14_431 nanoseconds.
|
||||
Weight::from_ref_time(14_559_000 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(1_072 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_common::slots`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_common::slots`.
|
||||
@@ -47,7 +47,8 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_lease() -> Weight {
|
||||
Weight::from_ref_time(29_433_000 as u64)
|
||||
// Minimum execution time: 32_032 nanoseconds.
|
||||
Weight::from_ref_time(32_759_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -60,11 +61,12 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
/// The range of component `c` is `[1, 100]`.
|
||||
/// The range of component `t` is `[1, 100]`.
|
||||
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add(Weight::from_ref_time(5_768_000 as u64).saturating_mul(c as u64))
|
||||
// Standard Error: 15_000
|
||||
.saturating_add(Weight::from_ref_time(15_445_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 557_429 nanoseconds.
|
||||
Weight::from_ref_time(565_348_000 as u64)
|
||||
// Standard Error: 70_889
|
||||
.saturating_add(Weight::from_ref_time(2_056_680 as u64).saturating_mul(c as u64))
|
||||
// Standard Error: 70_889
|
||||
.saturating_add(Weight::from_ref_time(12_087_471 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(t as u64)))
|
||||
@@ -75,7 +77,8 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:8 w:8)
|
||||
fn clear_all_leases() -> Weight {
|
||||
Weight::from_ref_time(90_622_000 as u64)
|
||||
// Minimum execution time: 94_049 nanoseconds.
|
||||
Weight::from_ref_time(95_684_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as u64))
|
||||
}
|
||||
@@ -85,7 +88,8 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
fn trigger_onboard() -> Weight {
|
||||
Weight::from_ref_time(28_143_000 as u64)
|
||||
// Minimum execution time: 28_824 nanoseconds.
|
||||
Weight::from_ref_time(29_892_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_parachains::configuration`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::configuration`.
|
||||
@@ -49,7 +49,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_block_number() -> Weight {
|
||||
Weight::from_ref_time(10_912_000 as u64)
|
||||
// Minimum execution time: 11_517 nanoseconds.
|
||||
Weight::from_ref_time(12_084_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -58,7 +59,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_u32() -> Weight {
|
||||
Weight::from_ref_time(10_724_000 as u64)
|
||||
// Minimum execution time: 11_579 nanoseconds.
|
||||
Weight::from_ref_time(11_966_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -67,7 +69,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_option_u32() -> Weight {
|
||||
Weight::from_ref_time(10_750_000 as u64)
|
||||
// Minimum execution time: 11_441 nanoseconds.
|
||||
Weight::from_ref_time(11_834_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -76,12 +79,14 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_weight() -> Weight {
|
||||
Weight::from_ref_time(10_812_000 as u64)
|
||||
// Minimum execution time: 11_406 nanoseconds.
|
||||
Weight::from_ref_time(11_717_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn set_hrmp_open_request_ttl() -> Weight {
|
||||
// Minimum execution time: 2_000_000_000 nanoseconds.
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
@@ -89,7 +94,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_balance() -> Weight {
|
||||
Weight::from_ref_time(11_100_000 as u64)
|
||||
// Minimum execution time: 11_631 nanoseconds.
|
||||
Weight::from_ref_time(11_937_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_parachains::disputes`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::disputes`.
|
||||
@@ -46,7 +46,8 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::disputes::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ParasDisputes Frozen (r:0 w:1)
|
||||
fn force_unfreeze() -> Weight {
|
||||
Weight::from_ref_time(3_751_000 as u64)
|
||||
// Minimum execution time: 4_367 nanoseconds.
|
||||
Weight::from_ref_time(4_690_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,23 +16,23 @@
|
||||
//! Autogenerated weights for `runtime_parachains::hrmp`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2021-11-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// pallet
|
||||
// --chain=polkadot-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=runtime_parachains::hrmp
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/runtime_parachains_hrmp.rs
|
||||
|
||||
// --output=./runtime/polkadot/src/weights/runtime_parachains_hrmp.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -54,7 +54,8 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_init_open_channel() -> Weight {
|
||||
Weight::from_ref_time(54_952_000 as u64)
|
||||
// Minimum execution time: 41_505 nanoseconds.
|
||||
Weight::from_ref_time(42_119_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -66,7 +67,8 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_accept_open_channel() -> Weight {
|
||||
Weight::from_ref_time(47_965_000 as u64)
|
||||
// Minimum execution time: 41_067 nanoseconds.
|
||||
Weight::from_ref_time(41_634_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -77,7 +79,8 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_close_channel() -> Weight {
|
||||
Weight::from_ref_time(44_369_000 as u64)
|
||||
// Minimum execution time: 37_960 nanoseconds.
|
||||
Weight::from_ref_time(38_224_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -87,12 +90,15 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:0 w:1)
|
||||
// Storage: Hrmp HrmpChannelContents (r:0 w:127)
|
||||
// Storage: Hrmp HrmpOpenChannelRequestCount (r:0 w:1)
|
||||
/// The range of component `i` is `[0, 127]`.
|
||||
/// The range of component `e` is `[0, 127]`.
|
||||
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add(Weight::from_ref_time(15_959_000 as u64).saturating_mul(i as u64))
|
||||
// Standard Error: 17_000
|
||||
.saturating_add(Weight::from_ref_time(16_048_000 as u64).saturating_mul(e as u64))
|
||||
// Minimum execution time: 877_471 nanoseconds.
|
||||
Weight::from_ref_time(886_196_000 as u64)
|
||||
// Standard Error: 79_424
|
||||
.saturating_add(Weight::from_ref_time(2_738_544 as u64).saturating_mul(i as u64))
|
||||
// Standard Error: 79_424
|
||||
.saturating_add(Weight::from_ref_time(2_749_789 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(i as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(e as u64)))
|
||||
@@ -109,10 +115,12 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpOpenChannelRequestCount (r:2 w:2)
|
||||
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:2 w:2)
|
||||
// Storage: Hrmp HrmpChannels (r:0 w:2)
|
||||
/// The range of component `c` is `[0, 128]`.
|
||||
fn force_process_hrmp_open(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 26_000
|
||||
.saturating_add(Weight::from_ref_time(35_598_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 9_479 nanoseconds.
|
||||
Weight::from_ref_time(9_641_000 as u64)
|
||||
// Standard Error: 9_212
|
||||
.saturating_add(Weight::from_ref_time(15_726_613 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -124,37 +132,44 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpIngressChannelsIndex (r:2 w:2)
|
||||
// Storage: Hrmp HrmpCloseChannelRequests (r:0 w:2)
|
||||
// Storage: Hrmp HrmpChannelContents (r:0 w:2)
|
||||
/// The range of component `c` is `[0, 128]`.
|
||||
fn force_process_hrmp_close(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add(Weight::from_ref_time(20_510_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 6_452 nanoseconds.
|
||||
Weight::from_ref_time(6_591_000 as u64)
|
||||
// Standard Error: 7_889
|
||||
.saturating_add(Weight::from_ref_time(9_705_589 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
|
||||
/// The range of component `c` is `[0, 128]`.
|
||||
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_749_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(59_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 26_109 nanoseconds.
|
||||
Weight::from_ref_time(31_555_015 as u64)
|
||||
// Standard Error: 1_534
|
||||
.saturating_add(Weight::from_ref_time(90_940 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
|
||||
/// The range of component `c` is `[0, 128]`.
|
||||
fn clean_open_channel_requests(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(5_781_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 4_551 nanoseconds.
|
||||
Weight::from_ref_time(2_251_955 as u64)
|
||||
// Standard Error: 3_808
|
||||
.saturating_add(Weight::from_ref_time(2_597_436 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
// Storage: Paras ParaLifecycles (r:2 w:0)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannels (r:1 w:0)
|
||||
// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0)
|
||||
@@ -165,8 +180,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0)
|
||||
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1)
|
||||
fn force_open_hrmp_channel() -> Weight {
|
||||
Weight::from_ref_time(104_771_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
// Minimum execution time: 52_512 nanoseconds.
|
||||
Weight::from_ref_time(53_287_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(14 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_parachains::initializer`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::initializer`.
|
||||
@@ -47,9 +47,10 @@ impl<T: frame_system::Config> runtime_parachains::initializer::WeightInfo for We
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
/// The range of component `d` is `[0, 65536]`.
|
||||
fn force_approve(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_756_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 8_089 nanoseconds.
|
||||
Weight::from_ref_time(10_807_136 as u64)
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(1_318 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_parachains::paras`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::paras`.
|
||||
@@ -52,18 +52,20 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras CodeByHash (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 3145728]`.
|
||||
fn force_set_current_code(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 38_052 nanoseconds.
|
||||
Weight::from_ref_time(38_343_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_470 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 1048576]`.
|
||||
fn force_set_current_head(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 12_951 nanoseconds.
|
||||
Weight::from_ref_time(13_054_000 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(1_071 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
@@ -79,9 +81,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 3145728]`.
|
||||
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 62_248 nanoseconds.
|
||||
Weight::from_ref_time(62_476_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_494 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
@@ -90,16 +93,18 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 1048576]`.
|
||||
fn force_note_new_head(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 18_755 nanoseconds.
|
||||
Weight::from_ref_time(19_028_000 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(1_069 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
fn force_queue_action() -> Weight {
|
||||
Weight::from_ref_time(23_313_000 as u64)
|
||||
// Minimum execution time: 24_134 nanoseconds.
|
||||
Weight::from_ref_time(24_730_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -107,16 +112,18 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras CodeByHash (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 3145728]`.
|
||||
fn add_trusted_validation_code(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 8_618 nanoseconds.
|
||||
Weight::from_ref_time(8_808_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_473 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Paras CodeByHashRefs (r:1 w:0)
|
||||
// Storage: Paras CodeByHash (r:0 w:1)
|
||||
fn poke_unused_validation_code() -> Weight {
|
||||
Weight::from_ref_time(6_423_000 as u64)
|
||||
// Minimum execution time: 6_839 nanoseconds.
|
||||
Weight::from_ref_time(6_966_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -125,7 +132,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
|
||||
fn include_pvf_check_statement() -> Weight {
|
||||
Weight::from_ref_time(95_444_000 as u64)
|
||||
// Minimum execution time: 92_622 nanoseconds.
|
||||
Weight::from_ref_time(94_867_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -138,7 +146,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:0 w:100)
|
||||
fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight {
|
||||
Weight::from_ref_time(629_670_000 as u64)
|
||||
// Minimum execution time: 637_636 nanoseconds.
|
||||
Weight::from_ref_time(647_421_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(104 as u64))
|
||||
}
|
||||
@@ -152,7 +161,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:100)
|
||||
// Storage: Paras FutureCodeHash (r:0 w:100)
|
||||
fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight {
|
||||
Weight::from_ref_time(594_898_000 as u64)
|
||||
// Minimum execution time: 593_660 nanoseconds.
|
||||
Weight::from_ref_time(601_930_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(204 as u64))
|
||||
}
|
||||
@@ -163,7 +173,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras PvfActiveVoteList (r:1 w:1)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight {
|
||||
Weight::from_ref_time(497_417_000 as u64)
|
||||
// Minimum execution time: 498_509 nanoseconds.
|
||||
Weight::from_ref_time(505_284_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -178,7 +189,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:100)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:100)
|
||||
fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight {
|
||||
Weight::from_ref_time(667_000_000 as u64)
|
||||
// Minimum execution time: 669_947 nanoseconds.
|
||||
Weight::from_ref_time(676_418_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(304 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `runtime_parachains::paras_inherent`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::paras_inherent`.
|
||||
@@ -60,6 +60,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
@@ -77,10 +78,11 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// The range of component `v` is `[10, 200]`.
|
||||
fn enter_variable_disputes(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(323_064_000 as u64)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(48_113_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(29 as u64))
|
||||
// Minimum execution time: 826_168 nanoseconds.
|
||||
Weight::from_ref_time(364_874_705 as u64)
|
||||
// Standard Error: 23_955
|
||||
.saturating_add(Weight::from_ref_time(47_989_024 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(30 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(18 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
@@ -95,6 +97,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
@@ -114,8 +117,9 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn enter_bitfields() -> Weight {
|
||||
Weight::from_ref_time(322_987_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(26 as u64))
|
||||
// Minimum execution time: 343_456 nanoseconds.
|
||||
Weight::from_ref_time(351_684_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(27 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(17 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
@@ -130,6 +134,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
@@ -151,10 +156,11 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// The range of component `v` is `[101, 200]`.
|
||||
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(820_412_000 as u64)
|
||||
// Standard Error: 38_000
|
||||
.saturating_add(Weight::from_ref_time(47_835_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(29 as u64))
|
||||
// Minimum execution time: 5_667_234 nanoseconds.
|
||||
Weight::from_ref_time(962_138_267 as u64)
|
||||
// Standard Error: 46_800
|
||||
.saturating_add(Weight::from_ref_time(47_508_067 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(30 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
@@ -169,6 +175,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
@@ -191,8 +198,9 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn enter_backed_candidate_code_upgrade() -> Weight {
|
||||
Weight::from_ref_time(38_004_269_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(31 as u64))
|
||||
// Minimum execution time: 40_991_691 nanoseconds.
|
||||
Weight::from_ref_time(41_457_004_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(32 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,10 +10,14 @@ smallvec = "1.8.0"
|
||||
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
primitives = { package = "polkadot-primitives", path = "../../../primitives", default-features = false }
|
||||
runtime-common = { package = "polkadot-runtime-common", path = "../../common", default-features = false }
|
||||
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
||||
sp-weights = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
||||
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"sp-runtime/std"
|
||||
"sp-core/std",
|
||||
"sp-runtime/std",
|
||||
"sp-weights/std"
|
||||
]
|
||||
|
||||
@@ -1,28 +1,26 @@
|
||||
// This file is part of Substrate.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Copyright (C) 2022 Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Polkadot is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// 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: 2022-08-19 (Y/M/D)
|
||||
//! DATE: 2022-11-16 (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`
|
||||
//! WEIGHT-PATH: `runtime/rococo/constants/src/weights/`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot
|
||||
@@ -34,32 +32,31 @@
|
||||
// --weight-path=runtime/rococo/constants/src/weights/
|
||||
// --warmup=10
|
||||
// --repeat=100
|
||||
// --header=./file_header.txt
|
||||
|
||||
use frame_support::{
|
||||
parameter_types,
|
||||
weights::{constants::WEIGHT_PER_NANOS, Weight},
|
||||
};
|
||||
use sp_core::parameter_types;
|
||||
use sp_weights::{constants::WEIGHT_PER_NANOS, Weight};
|
||||
|
||||
parameter_types! {
|
||||
/// Time to execute an empty block.
|
||||
/// Calculated by multiplying the *Average* with `1` and adding `0`.
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 4_039_227, 4_394_160
|
||||
/// Average: 4_084_738
|
||||
/// Median: 4_077_180
|
||||
/// Std-Dev: 44325.29
|
||||
/// Min, Max: 5_285_413, 5_582_840
|
||||
/// Average: 5_334_883
|
||||
/// Median: 5_320_357
|
||||
/// Std-Dev: 54133.56
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 4_189_094
|
||||
/// 95th: 4_152_261
|
||||
/// 75th: 4_098_529
|
||||
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(4_084_738);
|
||||
/// 99th: 5_495_378
|
||||
/// 95th: 5_453_765
|
||||
/// 75th: 5_352_587
|
||||
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(5_334_883);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test_weights {
|
||||
use frame_support::weights::constants;
|
||||
use sp_weights::constants;
|
||||
|
||||
/// Checks that the weight exists and is sane.
|
||||
// NOTE: If this test fails but you are sure that the generated values are fine,
|
||||
|
||||
@@ -1,27 +1,26 @@
|
||||
// This file is part of Substrate.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Copyright (C) 2022 Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Polkadot is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// 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: 2022-05-25 (Y/M/D)
|
||||
//! DATE: 2022-11-16 (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`
|
||||
//! WEIGHT-PATH: `runtime/rococo/constants/src/weights/`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot
|
||||
@@ -33,32 +32,31 @@
|
||||
// --weight-path=runtime/rococo/constants/src/weights/
|
||||
// --warmup=10
|
||||
// --repeat=100
|
||||
// --header=./file_header.txt
|
||||
|
||||
use frame_support::{
|
||||
parameter_types,
|
||||
weights::{constants::WEIGHT_PER_NANOS, Weight},
|
||||
};
|
||||
use sp_core::parameter_types;
|
||||
use sp_weights::{constants::WEIGHT_PER_NANOS, Weight};
|
||||
|
||||
parameter_types! {
|
||||
/// Time to execute a NO-OP extrinsic, for example `System::remark`.
|
||||
/// Calculated by multiplying the *Average* with `1` and adding `0`.
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 77_945, 79_607
|
||||
/// Average: 78_269
|
||||
/// Median: 78_211
|
||||
/// Std-Dev: 259.27
|
||||
/// Min, Max: 86_780, 87_929
|
||||
/// Average: 87_092
|
||||
/// Median: 87_029
|
||||
/// Std-Dev: 244.16
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 79_591
|
||||
/// 95th: 78_730
|
||||
/// 75th: 78_272
|
||||
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(78_269);
|
||||
/// 99th: 87_916
|
||||
/// 95th: 87_727
|
||||
/// 75th: 87_112
|
||||
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(87_092);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test_weights {
|
||||
use frame_support::weights::constants;
|
||||
use sp_weights::constants;
|
||||
|
||||
/// Checks that the weight exists and is sane.
|
||||
// NOTE: If this test fails but you are sure that the generated values are fine,
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
//! Autogenerated weights for `frame_benchmarking::baseline`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-06-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -46,46 +46,52 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn addition(_i: u32, ) -> Weight {
|
||||
(126_000 as Weight)
|
||||
// Minimum execution time: 104 nanoseconds.
|
||||
Weight::from_ref_time(136_098 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn subtraction(_i: u32, ) -> Weight {
|
||||
(117_000 as Weight)
|
||||
// Minimum execution time: 101 nanoseconds.
|
||||
Weight::from_ref_time(141_859 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn multiplication(_i: u32, ) -> Weight {
|
||||
(132_000 as Weight)
|
||||
// Minimum execution time: 106 nanoseconds.
|
||||
Weight::from_ref_time(142_767 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn division(_i: u32, ) -> Weight {
|
||||
(132_000 as Weight)
|
||||
// Minimum execution time: 107 nanoseconds.
|
||||
Weight::from_ref_time(145_251 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn hashing(i: u32, ) -> Weight {
|
||||
(19_331_786_000 as Weight)
|
||||
// Standard Error: 113_000
|
||||
.saturating_add((410_000 as Weight).saturating_mul(i as Weight))
|
||||
fn hashing(_i: u32, ) -> Weight {
|
||||
// Minimum execution time: 19_899_457 nanoseconds.
|
||||
Weight::from_ref_time(20_127_184_762 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[1, 100]`.
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn sr25519_verification(i: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add((47_597_000 as Weight).saturating_mul(i as Weight))
|
||||
// Minimum execution time: 140 nanoseconds.
|
||||
Weight::from_ref_time(160_000 as u64)
|
||||
// Standard Error: 8_692
|
||||
.saturating_add(Weight::from_ref_time(47_038_394 as u64).saturating_mul(i as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_read(i: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((2_126_000 as Weight).saturating_mul(i as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight)))
|
||||
// Minimum execution time: 107 nanoseconds.
|
||||
Weight::from_ref_time(117_000 as u64)
|
||||
// Standard Error: 4_352
|
||||
.saturating_add(Weight::from_ref_time(1_945_080 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_write(i: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((328_000 as Weight).saturating_mul(i as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
||||
// Minimum execution time: 112 nanoseconds.
|
||||
Weight::from_ref_time(118_000 as u64)
|
||||
// Standard Error: 835
|
||||
.saturating_add(Weight::from_ref_time(321_096 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `frame_system`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,51 +38,59 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_system`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark(_b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 4_020 nanoseconds.
|
||||
Weight::from_ref_time(4_086_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(409 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Minimum execution time: 12_989 nanoseconds.
|
||||
Weight::from_ref_time(13_133_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_758 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||
fn set_heap_pages() -> Weight {
|
||||
Weight::from_ref_time(8_025_000 as u64)
|
||||
// Minimum execution time: 8_329 nanoseconds.
|
||||
Weight::from_ref_time(8_576_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(602_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 4_069 nanoseconds.
|
||||
Weight::from_ref_time(4_172_000 as u64)
|
||||
// Standard Error: 2_158
|
||||
.saturating_add(Weight::from_ref_time(598_068 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(456_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 4_023 nanoseconds.
|
||||
Weight::from_ref_time(4_103_000 as u64)
|
||||
// Standard Error: 875
|
||||
.saturating_add(Weight::from_ref_time(427_793 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `p` is `[1, 1000]`.
|
||||
/// The range of component `p` is `[0, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(1_010_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 5_435 nanoseconds.
|
||||
Weight::from_ref_time(5_565_000 as u64)
|
||||
// Standard Error: 1_137
|
||||
.saturating_add(Weight::from_ref_time(970_252 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_balances`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -38,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_balances`.
|
||||
@@ -46,43 +46,50 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(40_460_000 as u64)
|
||||
// Minimum execution time: 40_106 nanoseconds.
|
||||
Weight::from_ref_time(40_750_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
Weight::from_ref_time(29_508_000 as u64)
|
||||
// Minimum execution time: 30_737 nanoseconds.
|
||||
Weight::from_ref_time(31_295_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_creating() -> Weight {
|
||||
Weight::from_ref_time(22_142_000 as u64)
|
||||
// Minimum execution time: 23_902 nanoseconds.
|
||||
Weight::from_ref_time(24_338_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_killing() -> Weight {
|
||||
Weight::from_ref_time(25_653_000 as u64)
|
||||
// Minimum execution time: 26_492 nanoseconds.
|
||||
Weight::from_ref_time(26_866_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(39_913_000 as u64)
|
||||
// Minimum execution time: 40_384 nanoseconds.
|
||||
Weight::from_ref_time(41_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_all() -> Weight {
|
||||
Weight::from_ref_time(34_497_000 as u64)
|
||||
// Minimum execution time: 35_115 nanoseconds.
|
||||
Weight::from_ref_time(35_696_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_unreserve() -> Weight {
|
||||
Weight::from_ref_time(19_749_000 as u64)
|
||||
// Minimum execution time: 20_274 nanoseconds.
|
||||
Weight::from_ref_time(20_885_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_bounties`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,7 +32,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/rococo/src/weights/pallet_bounties.rs
|
||||
// --output=./runtime/rococo/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -50,43 +50,49 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Bounties Bounties (r:0 w:1)
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn propose_bounty(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_654_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 29_250 nanoseconds.
|
||||
Weight::from_ref_time(39_490_219 as u64)
|
||||
// Standard Error: 63
|
||||
.saturating_add(Weight::from_ref_time(127 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
fn approve_bounty() -> Weight {
|
||||
Weight::from_ref_time(9_776_000 as u64)
|
||||
// Minimum execution time: 12_228 nanoseconds.
|
||||
Weight::from_ref_time(12_490_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(8_350_000 as u64)
|
||||
// Minimum execution time: 11_809 nanoseconds.
|
||||
Weight::from_ref_time(12_202_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(34_804_000 as u64)
|
||||
// Minimum execution time: 40_307 nanoseconds.
|
||||
Weight::from_ref_time(41_570_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(23_414_000 as u64)
|
||||
// Minimum execution time: 28_140 nanoseconds.
|
||||
Weight::from_ref_time(28_829_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
fn award_bounty() -> Weight {
|
||||
Weight::from_ref_time(20_148_000 as u64)
|
||||
// Minimum execution time: 24_585 nanoseconds.
|
||||
Weight::from_ref_time(24_912_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -95,7 +101,8 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn claim_bounty() -> Weight {
|
||||
Weight::from_ref_time(64_115_000 as u64)
|
||||
// Minimum execution time: 67_397 nanoseconds.
|
||||
Weight::from_ref_time(67_955_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -104,7 +111,8 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_proposed() -> Weight {
|
||||
Weight::from_ref_time(39_628_000 as u64)
|
||||
// Minimum execution time: 44_196 nanoseconds.
|
||||
Weight::from_ref_time(44_904_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -113,24 +121,27 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(47_429_000 as u64)
|
||||
// Minimum execution time: 52_882 nanoseconds.
|
||||
Weight::from_ref_time(53_466_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn extend_bounty_expiry() -> Weight {
|
||||
Weight::from_ref_time(17_322_000 as u64)
|
||||
// Minimum execution time: 21_567 nanoseconds.
|
||||
Weight::from_ref_time(21_852_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `b` is `[1, 100]`.
|
||||
// Storage: Bounties Bounties (r:2 w:2)
|
||||
// Storage: System Account (r:4 w:4)
|
||||
/// The range of component `b` is `[0, 100]`.
|
||||
fn spend_funds(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 30_000
|
||||
.saturating_add(Weight::from_ref_time(30_775_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 7_400 nanoseconds.
|
||||
Weight::from_ref_time(15_331_778 as u64)
|
||||
// Standard Error: 18_361
|
||||
.saturating_add(Weight::from_ref_time(24_618_020 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_child_bounties`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,7 +32,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/rococo/src/weights/pallet_child_bounties.rs
|
||||
// --output=./runtime/rococo/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -52,9 +52,10 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ChildBounties (r:0 w:1)
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn add_child_bounty(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(48_890_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 51_894 nanoseconds.
|
||||
Weight::from_ref_time(52_400_296 as u64)
|
||||
// Standard Error: 9
|
||||
.saturating_add(Weight::from_ref_time(776 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -62,7 +63,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(14_114_000 as u64)
|
||||
// Minimum execution time: 19_145 nanoseconds.
|
||||
Weight::from_ref_time(19_689_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -70,7 +72,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(26_807_000 as u64)
|
||||
// Minimum execution time: 33_904 nanoseconds.
|
||||
Weight::from_ref_time(34_574_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -78,14 +81,16 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(39_640_000 as u64)
|
||||
// Minimum execution time: 45_501 nanoseconds.
|
||||
Weight::from_ref_time(46_140_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
fn award_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(21_445_000 as u64)
|
||||
// Minimum execution time: 27_533 nanoseconds.
|
||||
Weight::from_ref_time(27_896_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -94,7 +99,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn claim_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(65_771_000 as u64)
|
||||
// Minimum execution time: 66_026 nanoseconds.
|
||||
Weight::from_ref_time(68_035_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -105,7 +111,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_added() -> Weight {
|
||||
Weight::from_ref_time(46_230_000 as u64)
|
||||
// Minimum execution time: 50_711 nanoseconds.
|
||||
Weight::from_ref_time(51_291_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -116,7 +123,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(56_148_000 as u64)
|
||||
// Minimum execution time: 60_553 nanoseconds.
|
||||
Weight::from_ref_time(61_323_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user