diff --git a/runtime/kusama/constants/Cargo.toml b/runtime/kusama/constants/Cargo.toml
index 303ed8d9f6e7..3c9fdd1a3196 100644
--- a/runtime/kusama/constants/Cargo.toml
+++ b/runtime/kusama/constants/Cargo.toml
@@ -11,9 +11,15 @@ frame-support = { git = "https://github.com/paritytech/substrate", default-featu
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", default-features = false , branch = "polkadot-v0.9.31" }
+sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.31" }
+sp-weights = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.31" }
[features]
default = ["std"]
std = [
- "sp-runtime/std"
+ "sp-runtime/std",
+ "sp-core/std",
+ "sp-weights/std",
+ "frame-support/std",
+ "primitives/std",
]
diff --git a/runtime/kusama/constants/src/weights/block_weights.rs b/runtime/kusama/constants/src/weights/block_weights.rs
index a96b7bfc11de..aeb59e344cae 100644
--- a/runtime/kusama/constants/src/weights/block_weights.rs
+++ b/runtime/kusama/constants/src/weights/block_weights.rs
@@ -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 .
//! 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-10-21 (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/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_346_664, 6_580_384
+ /// Average: 6_413_840
+ /// Median: 6_403_880
+ /// Std-Dev: 42837.51
///
/// 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_536_632
+ /// 95th: 6_492_330
+ /// 75th: 6_436_794
+ pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(6_413_840);
}
#[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,
diff --git a/runtime/kusama/constants/src/weights/extrinsic_weights.rs b/runtime/kusama/constants/src/weights/extrinsic_weights.rs
index dfa623b6c72a..df473eacda5a 100644
--- a/runtime/kusama/constants/src/weights/extrinsic_weights.rs
+++ b/runtime/kusama/constants/src/weights/extrinsic_weights.rs
@@ -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 .
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-04-20 (Y/M/D)
+//! DATE: 2022-10-21 (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/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: 95_170, 96_709
+ /// Average: 95_599
+ /// Median: 95_544
+ /// Std-Dev: 293.98
///
- /// 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_541
+ /// 95th: 96_307
+ /// 75th: 95_644
+ pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(95_599);
}
#[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,
diff --git a/runtime/kusama/src/weights/frame_benchmarking_baseline.rs b/runtime/kusama/src/weights/frame_benchmarking_baseline.rs
index 174c8859a41e..fbd8b83c6ac0 100644
--- a/runtime/kusama/src/weights/frame_benchmarking_baseline.rs
+++ b/runtime/kusama/src/weights/frame_benchmarking_baseline.rs
@@ -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-10-20, 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("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,46 @@ pub struct WeightInfo(PhantomData);
impl frame_benchmarking::baseline::WeightInfo for WeightInfo {
/// The range of component `i` is `[0, 1000000]`.
fn addition(_i: u32, ) -> Weight {
- Weight::from_ref_time(114_000 as u64)
+ Weight::from_ref_time(103_000 as u64)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
- Weight::from_ref_time(125_000 as u64)
+ Weight::from_ref_time(101_000 as u64)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
- Weight::from_ref_time(116_000 as u64)
+ Weight::from_ref_time(97_000 as u64)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
- Weight::from_ref_time(115_000 as u64)
+ Weight::from_ref_time(105_000 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))
+ Weight::from_ref_time(19_180_361_000 as u64)
+ // Standard Error: 90_955
+ .saturating_add(Weight::from_ref_time(2_113_890 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))
+ Weight::from_ref_time(141_000 as u64)
+ // Standard Error: 8_654
+ .saturating_add(Weight::from_ref_time(47_428_845 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))
+ Weight::from_ref_time(113_000 as u64)
+ // Standard Error: 3_822
+ .saturating_add(Weight::from_ref_time(1_908_438 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))
+ Weight::from_ref_time(126_000 as u64)
+ // Standard Error: 805
+ .saturating_add(Weight::from_ref_time(320_614 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
}
}
diff --git a/runtime/kusama/src/weights/frame_election_provider_support.rs b/runtime/kusama/src/weights/frame_election_provider_support.rs
index 3b1691b5b770..839ddf7418a1 100644
--- a/runtime/kusama/src/weights/frame_election_provider_support.rs
+++ b/runtime/kusama/src/weights/frame_election_provider_support.rs
@@ -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-10-20, 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("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,20 @@ impl 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))
+ Weight::from_ref_time(5_472_372_000 as u64)
+ // Standard Error: 138_792
+ .saturating_add(Weight::from_ref_time(5_519_912 as u64).saturating_mul(v as u64))
+ // Standard Error: 14_189_642
+ .saturating_add(Weight::from_ref_time(1_536_370_329 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))
+ Weight::from_ref_time(4_270_710_000 as u64)
+ // Standard Error: 142_893
+ .saturating_add(Weight::from_ref_time(5_413_968 as u64).saturating_mul(v as u64))
+ // Standard Error: 14_608_951
+ .saturating_add(Weight::from_ref_time(1_734_116_291 as u64).saturating_mul(d as u64))
}
}
diff --git a/runtime/kusama/src/weights/frame_system.rs b/runtime/kusama/src/weights/frame_system.rs
index 022c09e7752b..78039bb830ac 100644
--- a/runtime/kusama/src/weights/frame_system.rs
+++ b/runtime/kusama/src/weights/frame_system.rs
@@ -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-10-20, 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("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,45 @@ pub struct WeightInfo(PhantomData);
impl frame_system::WeightInfo for WeightInfo {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
- Weight::from_ref_time(882_000 as u64)
+ Weight::from_ref_time(3_137_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)
+ Weight::from_ref_time(12_227_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_717 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)
+ Weight::from_ref_time(8_000_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))
+ Weight::from_ref_time(3_273_000 as u64)
+ // Standard Error: 2_117
+ .saturating_add(Weight::from_ref_time(607_797 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))
+ Weight::from_ref_time(3_374_000 as u64)
+ // Standard Error: 944
+ .saturating_add(Weight::from_ref_time(439_224 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))
+ Weight::from_ref_time(4_729_000 as u64)
+ // Standard Error: 1_349
+ .saturating_add(Weight::from_ref_time(952_539 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
}
}
diff --git a/runtime/kusama/src/weights/pallet_bags_list.rs b/runtime/kusama/src/weights/pallet_bags_list.rs
index e753f72a62ea..410f7c7299f0 100644
--- a/runtime/kusama/src/weights/pallet_bags_list.rs
+++ b/runtime/kusama/src/weights/pallet_bags_list.rs
@@ -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-10-20, 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("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,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(60_306_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
@@ -58,7 +58,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(60_532_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
@@ -68,7 +68,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(59_231_000 as u64)
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
diff --git a/runtime/kusama/src/weights/pallet_balances.rs b/runtime/kusama/src/weights/pallet_balances.rs
index adfee6ac8b23..c567765c5200 100644
--- a/runtime/kusama/src/weights/pallet_balances.rs
+++ b/runtime/kusama/src/weights/pallet_balances.rs
@@ -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-10-20, 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("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,43 @@ pub struct WeightInfo(PhantomData);
impl pallet_balances::WeightInfo for WeightInfo {
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
- Weight::from_ref_time(39_458_000 as u64)
+ Weight::from_ref_time(40_870_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)
+ Weight::from_ref_time(30_949_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)
+ Weight::from_ref_time(23_025_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)
+ Weight::from_ref_time(25_756_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)
+ Weight::from_ref_time(40_202_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)
+ Weight::from_ref_time(35_135_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)
+ Weight::from_ref_time(19_906_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
diff --git a/runtime/kusama/src/weights/pallet_bounties.rs b/runtime/kusama/src/weights/pallet_bounties.rs
index e4c633dc6114..94ffe4a8b8da 100644
--- a/runtime/kusama/src/weights/pallet_bounties.rs
+++ b/runtime/kusama/src/weights/pallet_bounties.rs
@@ -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-10-20, 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("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,43 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(27_400_000 as u64)
+ // Standard Error: 4
+ .saturating_add(Weight::from_ref_time(953 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)
+ Weight::from_ref_time(11_814_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)
+ Weight::from_ref_time(11_355_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)
+ Weight::from_ref_time(40_022_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)
+ Weight::from_ref_time(27_823_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)
+ Weight::from_ref_time(24_122_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -95,7 +95,7 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(67_610_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
@@ -104,7 +104,7 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(43_644_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -113,24 +113,24 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(52_131_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)
+ Weight::from_ref_time(21_414_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))
+ Weight::from_ref_time(6_970_000 as u64)
+ // Standard Error: 8_946
+ .saturating_add(Weight::from_ref_time(24_088_046 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))
diff --git a/runtime/kusama/src/weights/pallet_child_bounties.rs b/runtime/kusama/src/weights/pallet_child_bounties.rs
index 861d7bf92ebf..978136f0123e 100644
--- a/runtime/kusama/src/weights/pallet_child_bounties.rs
+++ b/runtime/kusama/src/weights/pallet_child_bounties.rs
@@ -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-10-20, 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("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,9 @@ impl pallet_child_bounties::WeightInfo for WeightInfo 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))
+ Weight::from_ref_time(50_479_000 as u64)
+ // Standard Error: 6
+ .saturating_add(Weight::from_ref_time(889 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 +62,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight {
- Weight::from_ref_time(18_300_000 as u64)
+ Weight::from_ref_time(18_501_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -70,7 +70,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight {
- Weight::from_ref_time(32_067_000 as u64)
+ Weight::from_ref_time(32_917_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -78,14 +78,14 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight {
- Weight::from_ref_time(43_720_000 as u64)
+ Weight::from_ref_time(44_338_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)
+ Weight::from_ref_time(26_910_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -94,7 +94,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight {
- Weight::from_ref_time(65_901_000 as u64)
+ Weight::from_ref_time(67_112_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
@@ -105,7 +105,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight {
- Weight::from_ref_time(50_101_000 as u64)
+ Weight::from_ref_time(52_015_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
@@ -116,7 +116,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight {
- Weight::from_ref_time(61_510_000 as u64)
+ Weight::from_ref_time(61_178_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
diff --git a/runtime/kusama/src/weights/pallet_collective_council.rs b/runtime/kusama/src/weights/pallet_collective_council.rs
index 8fe7d12e04b5..ef85336409a7 100644
--- a/runtime/kusama/src/weights/pallet_collective_council.rs
+++ b/runtime/kusama/src/weights/pallet_collective_council.rs
@@ -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-10-20, 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("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,20 @@ pub struct WeightInfo(PhantomData);
impl pallet_collective::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(16_288_000 as u64)
+ // Standard Error: 46_587
+ .saturating_add(Weight::from_ref_time(5_308_407 as u64).saturating_mul(m as u64))
+ // Standard Error: 46_587
+ .saturating_add(Weight::from_ref_time(7_352_491 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 +71,11 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(19_486_000 as u64)
+ // Standard Error: 12
+ .saturating_add(Weight::from_ref_time(1_115 as u64).saturating_mul(b as u64))
+ // Standard Error: 128
+ .saturating_add(Weight::from_ref_time(8_602 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 +85,11 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(21_467_000 as u64)
+ // Standard Error: 12
+ .saturating_add(Weight::from_ref_time(981 as u64).saturating_mul(b as u64))
+ // Standard Error: 128
+ .saturating_add(Weight::from_ref_time(15_729 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 +104,13 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(27_438_000 as u64)
+ // Standard Error: 39
+ .saturating_add(Weight::from_ref_time(3_117 as u64).saturating_mul(b as u64))
+ // Standard Error: 412
+ .saturating_add(Weight::from_ref_time(18_348 as u64).saturating_mul(m as u64))
+ // Standard Error: 410
+ .saturating_add(Weight::from_ref_time(104_833 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 +119,9 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(27_266_000 as u64)
+ // Standard Error: 198
+ .saturating_add(Weight::from_ref_time(40_906 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 +134,11 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(30_004_000 as u64)
+ // Standard Error: 281
+ .saturating_add(Weight::from_ref_time(33_127 as u64).saturating_mul(m as u64))
+ // Standard Error: 282
+ .saturating_add(Weight::from_ref_time(93_443 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 +153,13 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(40_247_000 as u64)
+ // Standard Error: 34
+ .saturating_add(Weight::from_ref_time(1_746 as u64).saturating_mul(b as u64))
+ // Standard Error: 360
+ .saturating_add(Weight::from_ref_time(23_875 as u64).saturating_mul(m as u64))
+ // Standard Error: 356
+ .saturating_add(Weight::from_ref_time(96_033 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 +173,11 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(32_870_000 as u64)
+ // Standard Error: 248
+ .saturating_add(Weight::from_ref_time(30_640 as u64).saturating_mul(m as u64))
+ // Standard Error: 249
+ .saturating_add(Weight::from_ref_time(88_312 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 +193,13 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(42_250_000 as u64)
+ // Standard Error: 39
+ .saturating_add(Weight::from_ref_time(1_784 as u64).saturating_mul(b as u64))
+ // Standard Error: 407
+ .saturating_add(Weight::from_ref_time(25_388 as u64).saturating_mul(m as u64))
+ // Standard Error: 403
+ .saturating_add(Weight::from_ref_time(97_820 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 +209,9 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(18_657_000 as u64)
+ // Standard Error: 862
+ .saturating_add(Weight::from_ref_time(138_213 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))
}
diff --git a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs
index 149a26d54b0e..246c1e6e97ac 100644
--- a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs
+++ b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs
@@ -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-10-20, 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("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,20 @@ pub struct WeightInfo(PhantomData);
impl pallet_collective::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(16_918_000 as u64)
+ // Standard Error: 47_641
+ .saturating_add(Weight::from_ref_time(5_467_169 as u64).saturating_mul(m as u64))
+ // Standard Error: 47_641
+ .saturating_add(Weight::from_ref_time(7_509_448 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 +71,11 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(20_138_000 as u64)
+ // Standard Error: 11
+ .saturating_add(Weight::from_ref_time(969 as u64).saturating_mul(b as u64))
+ // Standard Error: 119
+ .saturating_add(Weight::from_ref_time(8_227 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 +85,11 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(22_120_000 as u64)
+ // Standard Error: 11
+ .saturating_add(Weight::from_ref_time(1_023 as u64).saturating_mul(b as u64))
+ // Standard Error: 115
+ .saturating_add(Weight::from_ref_time(14_536 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 +104,13 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(28_232_000 as u64)
+ // Standard Error: 36
+ .saturating_add(Weight::from_ref_time(3_483 as u64).saturating_mul(b as u64))
+ // Standard Error: 377
+ .saturating_add(Weight::from_ref_time(17_323 as u64).saturating_mul(m as u64))
+ // Standard Error: 375
+ .saturating_add(Weight::from_ref_time(112_365 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 +119,9 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(28_655_000 as u64)
+ // Standard Error: 226
+ .saturating_add(Weight::from_ref_time(43_783 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 +134,11 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(31_893_000 as u64)
+ // Standard Error: 218
+ .saturating_add(Weight::from_ref_time(26_663 as u64).saturating_mul(m as u64))
+ // Standard Error: 219
+ .saturating_add(Weight::from_ref_time(86_194 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 +153,13 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(41_631_000 as u64)
+ // Standard Error: 31
+ .saturating_add(Weight::from_ref_time(1_511 as u64).saturating_mul(b as u64))
+ // Standard Error: 326
+ .saturating_add(Weight::from_ref_time(22_506 as u64).saturating_mul(m as u64))
+ // Standard Error: 322
+ .saturating_add(Weight::from_ref_time(93_442 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 +173,11 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(33_958_000 as u64)
+ // Standard Error: 222
+ .saturating_add(Weight::from_ref_time(31_797 as u64).saturating_mul(m as u64))
+ // Standard Error: 223
+ .saturating_add(Weight::from_ref_time(85_339 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 +193,13 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(43_314_000 as u64)
+ // Standard Error: 33
+ .saturating_add(Weight::from_ref_time(1_683 as u64).saturating_mul(b as u64))
+ // Standard Error: 345
+ .saturating_add(Weight::from_ref_time(25_291 as u64).saturating_mul(m as u64))
+ // Standard Error: 341
+ .saturating_add(Weight::from_ref_time(96_873 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 +209,9 @@ impl pallet_collective::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(19_133_000 as u64)
+ // Standard Error: 870
+ .saturating_add(Weight::from_ref_time(140_476 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))
}
diff --git a/runtime/kusama/src/weights/pallet_conviction_voting.rs b/runtime/kusama/src/weights/pallet_conviction_voting.rs
index fbbb0d6529b5..c3fd913398e7 100644
--- a/runtime/kusama/src/weights/pallet_conviction_voting.rs
+++ b/runtime/kusama/src/weights/pallet_conviction_voting.rs
@@ -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-10-20, 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("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,11 @@ impl 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))
+ Weight::from_ref_time(132_388_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 +60,7 @@ impl 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)
+ Weight::from_ref_time(159_199_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
@@ -69,14 +68,14 @@ impl 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)
+ Weight::from_ref_time(135_307_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)
+ Weight::from_ref_time(73_188_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -87,9 +86,9 @@ impl 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))
+ Weight::from_ref_time(80_027_000 as u64)
+ // Standard Error: 56_286
+ .saturating_add(Weight::from_ref_time(30_535_452 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))
@@ -100,9 +99,9 @@ impl 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))
+ Weight::from_ref_time(57_179_000 as u64)
+ // Standard Error: 56_075
+ .saturating_add(Weight::from_ref_time(30_490_043 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))
@@ -112,7 +111,7 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
// 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)
+ Weight::from_ref_time(91_110_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
diff --git a/runtime/kusama/src/weights/pallet_democracy.rs b/runtime/kusama/src/weights/pallet_democracy.rs
index b9b4127c597e..abbfc4d6e706 100644
--- a/runtime/kusama/src/weights/pallet_democracy.rs
+++ b/runtime/kusama/src/weights/pallet_democracy.rs
@@ -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-10-20, 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("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,13 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(42_374_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)
+ Weight::from_ref_time(39_635_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -63,7 +63,7 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(49_434_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -71,14 +71,14 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(49_800_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)
+ Weight::from_ref_time(21_063_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -89,39 +89,39 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(77_811_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)
+ Weight::from_ref_time(15_801_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)
+ Weight::from_ref_time(4_544_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)
+ Weight::from_ref_time(4_428_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)
+ Weight::from_ref_time(20_129_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)
+ Weight::from_ref_time(25_893_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -129,13 +129,13 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(64_569_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)
+ Weight::from_ref_time(13_084_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
@@ -143,9 +143,9 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(6_157_000 as u64)
+ // Standard Error: 2_204
+ .saturating_add(Weight::from_ref_time(2_079_999 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 +158,9 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(8_387_000 as u64)
+ // Standard Error: 2_413
+ .saturating_add(Weight::from_ref_time(2_080_788 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 +170,9 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(41_895_000 as u64)
+ // Standard Error: 3_136
+ .saturating_add(Weight::from_ref_time(2_994_875 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 +182,9 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(24_471_000 as u64)
+ // Standard Error: 3_975
+ .saturating_add(Weight::from_ref_time(2_974_942 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 +192,7 @@ impl pallet_democracy::WeightInfo for WeightInfo {
}
// Storage: Democracy PublicProps (r:0 w:1)
fn clear_public_proposals() -> Weight {
- Weight::from_ref_time(5_200_000 as u64)
+ Weight::from_ref_time(5_064_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Democracy VotingOf (r:1 w:1)
@@ -200,9 +200,9 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(23_725_000 as u64)
+ // Standard Error: 2_929
+ .saturating_add(Weight::from_ref_time(138_905 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 +211,9 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(29_298_000 as u64)
+ // Standard Error: 725
+ .saturating_add(Weight::from_ref_time(87_778 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 +221,9 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(15_638_000 as u64)
+ // Standard Error: 930
+ .saturating_add(Weight::from_ref_time(100_757 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 +231,9 @@ impl pallet_democracy::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(15_244_000 as u64)
+ // Standard Error: 1_108
+ .saturating_add(Weight::from_ref_time(108_675 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))
}
diff --git a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs
index e388d4bce642..e948e77cc21f 100644
--- a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs
+++ b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs
@@ -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-10-20, 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("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,33 @@ impl 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)
+ Weight::from_ref_time(15_540_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)
+ Weight::from_ref_time(14_436_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)
+ Weight::from_ref_time(14_507_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)
+ Weight::from_ref_time(28_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(22_410_000 as u64)
+ Weight::from_ref_time(22_826_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -88,12 +88,10 @@ impl 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(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))
+ fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight {
+ Weight::from_ref_time(633_183_000 as u64)
+ // Standard Error: 6_648
+ .saturating_add(Weight::from_ref_time(396_437 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
@@ -108,12 +106,10 @@ impl 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 {
+ Weight::from_ref_time(389_938_000 as u64)
+ // Standard Error: 8_284
+ .saturating_add(Weight::from_ref_time(568_644 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 +120,7 @@ impl 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)
+ Weight::from_ref_time(51_580_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -139,16 +135,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f
/// The range of component `t` is `[500, 1000]`.
/// The range of component `a` is `[500, 800]`.
/// The range of component `d` is `[200, 400]`.
- fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
- 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 {
+ Weight::from_ref_time(6_923_558_000 as u64)
+ // Standard Error: 59_946
+ .saturating_add(Weight::from_ref_time(7_023_534 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 +150,12 @@ impl pallet_election_provider_multi_phase::WeightInfo f
/// The range of component `t` is `[500, 1000]`.
/// The range of component `a` is `[500, 800]`.
/// The range of component `d` is `[200, 400]`.
- fn 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 {
+ Weight::from_ref_time(6_146_628_000 as u64)
+ // Standard Error: 20_034
+ .saturating_add(Weight::from_ref_time(401_117 as u64).saturating_mul(v as u64))
+ // Standard Error: 59_370
+ .saturating_add(Weight::from_ref_time(4_713_541 as u64).saturating_mul(a as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
}
}
diff --git a/runtime/kusama/src/weights/pallet_elections_phragmen.rs b/runtime/kusama/src/weights/pallet_elections_phragmen.rs
index 8d5db5a31006..ef520225ec6e 100644
--- a/runtime/kusama/src/weights/pallet_elections_phragmen.rs
+++ b/runtime/kusama/src/weights/pallet_elections_phragmen.rs
@@ -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-10-20, 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("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,9 @@ impl 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))
+ Weight::from_ref_time(30_954_000 as u64)
+ // Standard Error: 2_910
+ .saturating_add(Weight::from_ref_time(310_670 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 +64,9 @@ impl 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))
+ Weight::from_ref_time(41_419_000 as u64)
+ // Standard Error: 4_473
+ .saturating_add(Weight::from_ref_time(234_468 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 +77,16 @@ impl 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))
+ Weight::from_ref_time(40_792_000 as u64)
+ // Standard Error: 2_481
+ .saturating_add(Weight::from_ref_time(274_603 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)
+ Weight::from_ref_time(39_693_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -95,18 +95,18 @@ impl 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))
+ Weight::from_ref_time(36_693_000 as u64)
+ // Standard Error: 620
+ .saturating_add(Weight::from_ref_time(78_334 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))
+ Weight::from_ref_time(31_853_000 as u64)
+ // Standard Error: 617
+ .saturating_add(Weight::from_ref_time(60_039 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,13 +116,13 @@ impl 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)
+ Weight::from_ref_time(45_121_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)
+ Weight::from_ref_time(34_996_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -137,7 +137,7 @@ impl 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)
+ Weight::from_ref_time(59_687_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
@@ -148,16 +148,15 @@ impl 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))
- .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)))
+ /// The range of component `d` is `[0, 5000]`.
+ fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
+ Weight::from_ref_time(276_752_156_000 as u64)
+ // Standard Error: 241_202
+ .saturating_add(Weight::from_ref_time(34_222_817 as u64).saturating_mul(v as u64))
+ .saturating_add(T::DbWeight::get().reads(15004 as u64))
+ .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(v as u64)))
+ .saturating_add(T::DbWeight::get().writes(15000 as u64))
+ .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(v as u64)))
}
// Storage: PhragmenElection Candidates (r:1 w:1)
// Storage: PhragmenElection Members (r:1 w:1)
@@ -172,14 +171,14 @@ impl 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))
- .saturating_add(T::DbWeight::get().reads(265 as u64))
- .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
+ Weight::from_ref_time(28_217_856_000 as u64)
+ // Standard Error: 536_832
+ .saturating_add(Weight::from_ref_time(45_128_837 as u64).saturating_mul(v as u64))
+ // Standard Error: 34_450
+ .saturating_add(Weight::from_ref_time(2_320_288 as u64).saturating_mul(e as u64))
+ .saturating_add(T::DbWeight::get().reads(1968 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)))
}
}
diff --git a/runtime/kusama/src/weights/pallet_fast_unstake.rs b/runtime/kusama/src/weights/pallet_fast_unstake.rs
index b7b6008fcc7e..d821b26d992e 100644
--- a/runtime/kusama/src/weights/pallet_fast_unstake.rs
+++ b/runtime/kusama/src/weights/pallet_fast_unstake.rs
@@ -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-10-20, 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("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/
@@ -59,7 +58,7 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo
// Storage: Staking Ledger (r:0 w:1)
// Storage: Staking Payee (r:0 w:1)
fn on_idle_unstake() -> Weight {
- Weight::from_ref_time(64_798_000 as u64)
+ Weight::from_ref_time(72_565_000 as u64)
.saturating_add(T::DbWeight::get().reads(11 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
@@ -73,13 +72,14 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo
// 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))
+ Weight::from_ref_time(431_232_000 as u64)
+ // Standard Error: 17_209
+ .saturating_add(Weight::from_ref_time(11_304_676 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(64 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))
}
+ // 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)
@@ -93,22 +93,23 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo
// 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))
+ Weight::from_ref_time(94_396_000 as u64)
+ .saturating_add(T::DbWeight::get().reads(13 as u64))
.saturating_add(T::DbWeight::get().writes(9 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))
+ Weight::from_ref_time(41_022_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)
+ Weight::from_ref_time(3_813_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
diff --git a/runtime/kusama/src/weights/pallet_gilt.rs b/runtime/kusama/src/weights/pallet_gilt.rs
index 3ab2d6d41709..3658df6c0623 100644
--- a/runtime/kusama/src/weights/pallet_gilt.rs
+++ b/runtime/kusama/src/weights/pallet_gilt.rs
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_gilt`
//!
//! 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-10-20, 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("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_gilt`.
@@ -48,16 +48,16 @@ impl pallet_gilt::WeightInfo for WeightInfo {
// Storage: Gilt QueueTotals (r:1 w:1)
/// The range of component `l` is `[0, 999]`.
fn place_bid(l: u32, ) -> Weight {
- Weight::from_ref_time(33_022_000 as u64)
- // Standard Error: 0
- .saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(l as u64))
+ Weight::from_ref_time(35_194_000 as u64)
+ // Standard Error: 360
+ .saturating_add(Weight::from_ref_time(67_248 as u64).saturating_mul(l as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Gilt Queues (r:1 w:1)
// Storage: Gilt QueueTotals (r:1 w:1)
fn place_bid_max() -> Weight {
- Weight::from_ref_time(105_031_000 as u64)
+ Weight::from_ref_time(100_033_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -65,52 +65,52 @@ impl pallet_gilt::WeightInfo for WeightInfo {
// Storage: Gilt QueueTotals (r:1 w:1)
/// The range of component `l` is `[1, 1000]`.
fn retract_bid(l: u32, ) -> Weight {
- Weight::from_ref_time(33_573_000 as u64)
- // Standard Error: 0
- .saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(l as u64))
+ Weight::from_ref_time(37_145_000 as u64)
+ // Standard Error: 364
+ .saturating_add(Weight::from_ref_time(55_685 as u64).saturating_mul(l as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Gilt ActiveTotal (r:1 w:1)
fn set_target() -> Weight {
- Weight::from_ref_time(6_386_000 as u64)
+ Weight::from_ref_time(6_311_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Gilt Active (r:1 w:1)
// Storage: Gilt ActiveTotal (r:1 w:1)
fn thaw() -> Weight {
- Weight::from_ref_time(45_459_000 as u64)
+ Weight::from_ref_time(45_834_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Gilt ActiveTotal (r:1 w:0)
fn pursue_target_noop() -> Weight {
- Weight::from_ref_time(2_669_000 as u64)
+ Weight::from_ref_time(2_660_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: Gilt ActiveTotal (r:1 w:1)
// Storage: Gilt QueueTotals (r:1 w:1)
// Storage: Gilt Queues (r:1 w:1)
- // Storage: Gilt Active (r:0 w:1)
- /// The range of component `b` is `[1, 1000]`.
+ // Storage: Gilt Active (r:0 w:20)
+ /// The range of component `b` is `[0, 1000]`.
fn pursue_target_per_item(b: u32, ) -> Weight {
- Weight::from_ref_time(33_549_000 as u64)
- // Standard Error: 2_000
- .saturating_add(Weight::from_ref_time(3_979_000 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().writes(3 as u64))
+ Weight::from_ref_time(27_583_000 as u64)
+ // Standard Error: 1_260
+ .saturating_add(Weight::from_ref_time(3_830_208 as u64).saturating_mul(b 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(b as u64)))
}
// Storage: Gilt ActiveTotal (r:1 w:1)
// Storage: Gilt QueueTotals (r:1 w:1)
- // Storage: Gilt Queues (r:1 w:1)
- // Storage: Gilt Active (r:0 w:1)
- /// The range of component `q` is `[1, 300]`.
+ // Storage: Gilt Queues (r:6 w:6)
+ // Storage: Gilt Active (r:0 w:6)
+ /// The range of component `q` is `[0, 300]`.
fn pursue_target_per_queue(q: u32, ) -> Weight {
- Weight::from_ref_time(28_306_000 as u64)
- // Standard Error: 6_000
- .saturating_add(Weight::from_ref_time(6_651_000 as u64).saturating_mul(q as u64))
+ Weight::from_ref_time(27_934_000 as u64)
+ // Standard Error: 2_612
+ .saturating_add(Weight::from_ref_time(6_322_688 as u64).saturating_mul(q as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(q as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
diff --git a/runtime/kusama/src/weights/pallet_identity.rs b/runtime/kusama/src/weights/pallet_identity.rs
index 050a3b10db8e..eec366563d1b 100644
--- a/runtime/kusama/src/weights/pallet_identity.rs
+++ b/runtime/kusama/src/weights/pallet_identity.rs
@@ -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-10-20, 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("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,32 @@ impl pallet_identity::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(16_732_000 as u64)
+ // Standard Error: 2_375
+ .saturating_add(Weight::from_ref_time(233_817 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))
+ Weight::from_ref_time(35_651_000 as u64)
+ // Standard Error: 1_783
+ .saturating_add(Weight::from_ref_time(65_742 as u64).saturating_mul(r as u64))
+ // Standard Error: 356
+ .saturating_add(Weight::from_ref_time(290_409 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))
+ Weight::from_ref_time(9_570_000 as u64)
+ // Standard Error: 8_060
+ .saturating_add(Weight::from_ref_time(2_388_496 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 +80,12 @@ impl pallet_identity::WeightInfo for WeightInfo {
}
// 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))
+ Weight::from_ref_time(10_012_000 as u64)
+ // Standard Error: 7_265
+ .saturating_add(Weight::from_ref_time(1_188_369 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,82 +94,80 @@ impl pallet_identity::WeightInfo for WeightInfo {
// 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]`.
- 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))
+ /// 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(51_000_000 as u64)
+ // Standard Error: 1_427
+ .saturating_add(Weight::from_ref_time(823_625 as u64).saturating_mul(s as u64))
+ // Standard Error: 1_427
+ .saturating_add(Weight::from_ref_time(102_556 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_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// 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))
+ Weight::from_ref_time(37_663_000 as u64)
+ // Standard Error: 2_367
+ .saturating_add(Weight::from_ref_time(67_711 as u64).saturating_mul(r as u64))
+ // Standard Error: 473
+ .saturating_add(Weight::from_ref_time(307_568 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))
+ Weight::from_ref_time(34_086_000 as u64)
+ // Standard Error: 1_994
+ .saturating_add(Weight::from_ref_time(69_091 as u64).saturating_mul(r as u64))
+ // Standard Error: 398
+ .saturating_add(Weight::from_ref_time(308_600 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))
+ Weight::from_ref_time(8_792_000 as u64)
+ // Standard Error: 1_596
+ .saturating_add(Weight::from_ref_time(180_110 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))
+ Weight::from_ref_time(8_747_000 as u64)
+ // Standard Error: 2_243
+ .saturating_add(Weight::from_ref_time(182_177 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))
+ Weight::from_ref_time(8_600_000 as u64)
+ // Standard Error: 1_678
+ .saturating_add(Weight::from_ref_time(179_397 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))
+ Weight::from_ref_time(27_914_000 as u64)
+ // Standard Error: 9_545
+ .saturating_add(Weight::from_ref_time(58_476 as u64).saturating_mul(r as u64))
+ // Standard Error: 1_812
+ .saturating_add(Weight::from_ref_time(543_650 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,28 +176,26 @@ impl pallet_identity::WeightInfo for WeightInfo {
// 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_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))
+ /// 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(62_140_000 as u64)
+ // Standard Error: 1_253
+ .saturating_add(Weight::from_ref_time(844_971 as u64).saturating_mul(s as u64))
+ // Standard Error: 1_253
+ .saturating_add(Weight::from_ref_time(98_834 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(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
// 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))
+ Weight::from_ref_time(31_116_000 as u64)
+ // Standard Error: 2_739
+ .saturating_add(Weight::from_ref_time(168_861 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 +203,9 @@ impl pallet_identity::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(13_473_000 as u64)
+ // Standard Error: 969
+ .saturating_add(Weight::from_ref_time(61_012 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 +214,19 @@ impl pallet_identity::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(35_046_000 as u64)
+ // Standard Error: 1_544
+ .saturating_add(Weight::from_ref_time(118_406 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))
+ Weight::from_ref_time(25_137_000 as u64)
+ // Standard Error: 1_463
+ .saturating_add(Weight::from_ref_time(113_599 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))
}
diff --git a/runtime/kusama/src/weights/pallet_im_online.rs b/runtime/kusama/src/weights/pallet_im_online.rs
index 0c11f749e439..6da35263c6c3 100644
--- a/runtime/kusama/src/weights/pallet_im_online.rs
+++ b/runtime/kusama/src/weights/pallet_im_online.rs
@@ -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-10-20, 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("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,11 @@ impl pallet_im_online::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(97_214_000 as u64)
+ // Standard Error: 249
+ .saturating_add(Weight::from_ref_time(9_867 as u64).saturating_mul(k as u64))
+ // Standard Error: 2_499
+ .saturating_add(Weight::from_ref_time(174_649 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))
}
diff --git a/runtime/kusama/src/weights/pallet_indices.rs b/runtime/kusama/src/weights/pallet_indices.rs
index b0f0fc563044..4d0245913d05 100644
--- a/runtime/kusama/src/weights/pallet_indices.rs
+++ b/runtime/kusama/src/weights/pallet_indices.rs
@@ -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-10-20, 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("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,33 @@ pub struct WeightInfo(PhantomData);
impl pallet_indices::WeightInfo for WeightInfo {
// Storage: Indices Accounts (r:1 w:1)
fn claim() -> Weight {
- Weight::from_ref_time(25_146_000 as u64)
+ Weight::from_ref_time(26_172_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)
+ Weight::from_ref_time(31_551_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)
+ Weight::from_ref_time(26_443_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)
+ Weight::from_ref_time(27_368_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)
+ Weight::from_ref_time(32_319_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
diff --git a/runtime/kusama/src/weights/pallet_membership.rs b/runtime/kusama/src/weights/pallet_membership.rs
index 1994c517a4d3..8d3ff714114e 100644
--- a/runtime/kusama/src/weights/pallet_membership.rs
+++ b/runtime/kusama/src/weights/pallet_membership.rs
@@ -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-10-20, 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("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,9 @@ impl pallet_membership::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(19_122_000 as u64)
+ // Standard Error: 326
+ .saturating_add(Weight::from_ref_time(47_818 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 +63,9 @@ impl pallet_membership::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(21_942_000 as u64)
+ // Standard Error: 243
+ .saturating_add(Weight::from_ref_time(39_203 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 +76,9 @@ impl pallet_membership::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(22_025_000 as u64)
+ // Standard Error: 254
+ .saturating_add(Weight::from_ref_time(51_552 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 +89,9 @@ impl pallet_membership::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(21_241_000 as u64)
+ // Standard Error: 552
+ .saturating_add(Weight::from_ref_time(166_304 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 +102,9 @@ impl pallet_membership::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(22_265_000 as u64)
+ // Standard Error: 389
+ .saturating_add(Weight::from_ref_time(57_167 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 +113,19 @@ impl pallet_membership::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(7_572_000 as u64)
+ // Standard Error: 185
+ .saturating_add(Weight::from_ref_time(15_978 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 {
+ Weight::from_ref_time(4_391_000 as u64)
+ // Standard Error: 99
+ .saturating_add(Weight::from_ref_time(3_096 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
}
diff --git a/runtime/kusama/src/weights/pallet_multisig.rs b/runtime/kusama/src/weights/pallet_multisig.rs
index 8734b8800cfa..3e46dd8834a5 100644
--- a/runtime/kusama/src/weights/pallet_multisig.rs
+++ b/runtime/kusama/src/weights/pallet_multisig.rs
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
+//! DATE: 2022-10-20, 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("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_multisig`.
@@ -46,115 +46,74 @@ pub struct WeightInfo(PhantomData);
impl pallet_multisig::WeightInfo for WeightInfo {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
- Weight::from_ref_time(14_892_000 as u64)
- // Standard Error: 0
- .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
+ Weight::from_ref_time(14_270_000 as u64)
+ // Standard Error: 1
+ .saturating_add(Weight::from_ref_time(595 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 {
- Weight::from_ref_time(36_762_000 as u64)
- // Standard Error: 0
- .saturating_add(Weight::from_ref_time(61_000 as u64).saturating_mul(s as u64))
- // Standard Error: 0
- .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
+ Weight::from_ref_time(43_455_000 as u64)
+ // Standard Error: 1_026
+ .saturating_add(Weight::from_ref_time(33_918 as u64).saturating_mul(s as u64))
+ // Standard Error: 10
+ .saturating_add(Weight::from_ref_time(979 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))
}
// Storage: Multisig Multisigs (r:1 w:1)
- // Storage: Multisig Calls (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_store(s: u32, z: u32, ) -> Weight {
- Weight::from_ref_time(38_454_000 as u64)
- // Standard Error: 1_000
- .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64))
- // Standard Error: 0
- .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
- }
- // Storage: Multisig Multisigs (r:1 w:1)
/// 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 {
- Weight::from_ref_time(27_278_000 as u64)
- // Standard Error: 0
- .saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64))
- // Standard Error: 0
- .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
+ Weight::from_ref_time(33_361_000 as u64)
+ // Standard Error: 942
+ .saturating_add(Weight::from_ref_time(34_241 as u64).saturating_mul(s as u64))
+ // Standard Error: 9
+ .saturating_add(Weight::from_ref_time(1_002 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))
}
// Storage: Multisig Multisigs (r:1 w:1)
- // Storage: Multisig Calls (r:1 w:1)
- /// The range of component `s` is `[3, 100]`.
- /// The range of component `z` is `[0, 10000]`.
- fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
- Weight::from_ref_time(39_820_000 as u64)
- // Standard Error: 1_000
- .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64))
- // Standard Error: 0
- .saturating_add(Weight::from_ref_time(2_000 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))
- }
- // Storage: Multisig Multisigs (r:1 w:1)
- // Storage: Multisig Calls (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// 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 {
- Weight::from_ref_time(48_748_000 as u64)
- // Standard Error: 1_000
- .saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(s as u64))
- // Standard Error: 0
- .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().writes(3 as u64))
+ Weight::from_ref_time(47_617_000 as u64)
+ // Standard Error: 1_186
+ .saturating_add(Weight::from_ref_time(40_691 as u64).saturating_mul(s as u64))
+ // Standard Error: 11
+ .saturating_add(Weight::from_ref_time(908 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))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
- Weight::from_ref_time(32_837_000 as u64)
- // Standard Error: 1_000
- .saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(s as u64))
+ Weight::from_ref_time(30_973_000 as u64)
+ // Standard Error: 1_117
+ .saturating_add(Weight::from_ref_time(130_605 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)
- // Storage: Multisig Calls (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
- Weight::from_ref_time(23_222_000 as u64)
- // Standard Error: 0
- .saturating_add(Weight::from_ref_time(92_000 as u64).saturating_mul(s as u64))
+ Weight::from_ref_time(22_453_000 as u64)
+ // Standard Error: 741
+ .saturating_add(Weight::from_ref_time(108_247 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)
- // Storage: Multisig Calls (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- /// The range of component `s` is `[2, 100]`.
- fn approve_as_multi_complete(s: u32, ) -> Weight {
- Weight::from_ref_time(60_799_000 as u64)
- // Standard Error: 1_000
- .saturating_add(Weight::from_ref_time(117_000 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))
- }
- // Storage: Multisig Multisigs (r:1 w:1)
- // Storage: Multisig Calls (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
- Weight::from_ref_time(49_388_000 as u64)
- // Standard Error: 1_000
- .saturating_add(Weight::from_ref_time(95_000 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))
+ Weight::from_ref_time(32_180_000 as u64)
+ // Standard Error: 907
+ .saturating_add(Weight::from_ref_time(115_554 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))
}
}
diff --git a/runtime/kusama/src/weights/pallet_nomination_pools.rs b/runtime/kusama/src/weights/pallet_nomination_pools.rs
index 96ebdf4dec37..6dd047e3dba7 100644
--- a/runtime/kusama/src/weights/pallet_nomination_pools.rs
+++ b/runtime/kusama/src/weights/pallet_nomination_pools.rs
@@ -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-10-20, 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("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`.
@@ -58,7 +58,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
// 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)
+ Weight::from_ref_time(138_618_000 as u64)
.saturating_add(T::DbWeight::get().reads(17 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
}
@@ -72,7 +72,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
// 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)
+ Weight::from_ref_time(138_467_000 as u64)
.saturating_add(T::DbWeight::get().reads(14 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
}
@@ -86,7 +86,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
// 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)
+ Weight::from_ref_time(139_326_000 as u64)
.saturating_add(T::DbWeight::get().reads(13 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
}
@@ -95,7 +95,7 @@ impl 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)
+ Weight::from_ref_time(54_997_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -114,7 +114,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
// 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)
+ Weight::from_ref_time(138_204_000 as u64)
.saturating_add(T::DbWeight::get().reads(18 as u64))
.saturating_add(T::DbWeight::get().writes(13 as u64))
}
@@ -124,9 +124,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
// 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))
+ Weight::from_ref_time(50_714_000 as u64)
+ // Standard Error: 570
+ .saturating_add(Weight::from_ref_time(30_159 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -140,9 +140,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
// 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))
+ Weight::from_ref_time(90_658_000 as u64)
+ // Standard Error: 956
+ .saturating_add(Weight::from_ref_time(44_762 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
@@ -167,8 +167,10 @@ impl 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(146_714_000 as u64)
+ fn withdraw_unbonded_kill(s: u32, ) -> Weight {
+ Weight::from_ref_time(143_737_000 as u64)
+ // Standard Error: 1_408
+ .saturating_add(Weight::from_ref_time(34_981 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))
}
@@ -186,7 +188,6 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: Staking Ledger (r:1 w:1)
// Storage: Staking Bonded (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,8 +196,8 @@ impl 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))
+ Weight::from_ref_time(128_429_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)
@@ -213,17 +214,17 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
// 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))
- .saturating_add(T::DbWeight::get().reads(12 as u64))
+ Weight::from_ref_time(61_780_000 as u64)
+ // Standard Error: 2_149
+ .saturating_add(Weight::from_ref_time(1_005_426 as u64).saturating_mul(n as u64))
+ .saturating_add(T::DbWeight::get().reads(13 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 Ledger (r:1 w:0)
fn set_state() -> Weight {
- Weight::from_ref_time(34_144_000 as u64)
+ Weight::from_ref_time(34_855_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -232,9 +233,9 @@ impl 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))
+ Weight::from_ref_time(16_294_000 as u64)
+ // Standard Error: 97
+ .saturating_add(Weight::from_ref_time(3_560 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,12 +245,12 @@ impl 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)
+ Weight::from_ref_time(7_344_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)
+ Weight::from_ref_time(26_511_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -262,7 +263,7 @@ impl 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)
+ Weight::from_ref_time(60_600_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
diff --git a/runtime/kusama/src/weights/pallet_preimage.rs b/runtime/kusama/src/weights/pallet_preimage.rs
index 2fc3687f4581..d78684cb13b9 100644
--- a/runtime/kusama/src/weights/pallet_preimage.rs
+++ b/runtime/kusama/src/weights/pallet_preimage.rs
@@ -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-10-20, 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("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,9 @@ impl pallet_preimage::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(28_187_000 as u64)
+ // Standard Error: 1
+ .saturating_add(Weight::from_ref_time(2_276 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 +58,9 @@ impl pallet_preimage::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(19_612_000 as u64)
+ // Standard Error: 1
+ .saturating_add(Weight::from_ref_time(2_278 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 +68,66 @@ impl pallet_preimage::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(18_255_000 as u64)
+ // Standard Error: 1
+ .saturating_add(Weight::from_ref_time(2_279 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)
+ Weight::from_ref_time(40_524_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)
+ Weight::from_ref_time(29_046_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)
+ Weight::from_ref_time(26_412_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)
+ Weight::from_ref_time(13_673_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)
+ Weight::from_ref_time(17_302_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)
+ Weight::from_ref_time(8_139_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)
+ Weight::from_ref_time(28_194_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)
+ Weight::from_ref_time(8_159_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)
+ Weight::from_ref_time(8_435_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
diff --git a/runtime/kusama/src/weights/pallet_proxy.rs b/runtime/kusama/src/weights/pallet_proxy.rs
index 2ea546eed2fa..fdd10c4456a8 100644
--- a/runtime/kusama/src/weights/pallet_proxy.rs
+++ b/runtime/kusama/src/weights/pallet_proxy.rs
@@ -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-10-20, 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("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,9 @@ impl pallet_proxy::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(20_693_000 as u64)
+ // Standard Error: 810
+ .saturating_add(Weight::from_ref_time(58_673 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 +58,11 @@ impl pallet_proxy::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(38_266_000 as u64)
+ // Standard Error: 875
+ .saturating_add(Weight::from_ref_time(138_866 as u64).saturating_mul(a as u64))
+ // Standard Error: 872
+ .saturating_add(Weight::from_ref_time(31_259 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 +71,11 @@ impl pallet_proxy::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(26_948_000 as u64)
+ // Standard Error: 873
+ .saturating_add(Weight::from_ref_time(139_059 as u64).saturating_mul(a as u64))
+ // Standard Error: 870
+ .saturating_add(Weight::from_ref_time(20_690 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 +84,11 @@ impl pallet_proxy::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(26_825_000 as u64)
+ // Standard Error: 1_074
+ .saturating_add(Weight::from_ref_time(149_464 as u64).saturating_mul(a as u64))
+ // Standard Error: 1_070
+ .saturating_add(Weight::from_ref_time(9_622 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 +98,38 @@ impl pallet_proxy::WeightInfo for WeightInfo {
/// 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))
+ Weight::from_ref_time(34_505_000 as u64)
+ // Standard Error: 956
+ .saturating_add(Weight::from_ref_time(136_390 as u64).saturating_mul(a as u64))
+ // Standard Error: 953
+ .saturating_add(Weight::from_ref_time(47_321 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))
+ Weight::from_ref_time(27_796_000 as u64)
+ // Standard Error: 2_352
+ .saturating_add(Weight::from_ref_time(126_128 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))
+ Weight::from_ref_time(28_101_000 as u64)
+ // Standard Error: 2_294
+ .saturating_add(Weight::from_ref_time(112_638 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))
+ Weight::from_ref_time(24_096_000 as u64)
+ // Standard Error: 1_403
+ .saturating_add(Weight::from_ref_time(92_408 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 +137,18 @@ impl pallet_proxy::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(31_049_000 as u64)
+ // Standard Error: 1_478
+ .saturating_add(Weight::from_ref_time(60_451 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))
+ Weight::from_ref_time(25_503_000 as u64)
+ // Standard Error: 1_373
+ .saturating_add(Weight::from_ref_time(87_194 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))
}
diff --git a/runtime/kusama/src/weights/pallet_ranked_collective.rs b/runtime/kusama/src/weights/pallet_ranked_collective.rs
index 33b62a7db764..c92d66545dfc 100644
--- a/runtime/kusama/src/weights/pallet_ranked_collective.rs
+++ b/runtime/kusama/src/weights/pallet_ranked_collective.rs
@@ -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-10-20, 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("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,7 @@ impl 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)
+ Weight::from_ref_time(20_511_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -60,9 +59,9 @@ impl 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))
+ Weight::from_ref_time(30_794_000 as u64)
+ // Standard Error: 12_360
+ .saturating_add(Weight::from_ref_time(9_774_819 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 +73,9 @@ impl 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))
+ Weight::from_ref_time(22_309_000 as u64)
+ // Standard Error: 4_483
+ .saturating_add(Weight::from_ref_time(526_350 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 +85,9 @@ impl 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))
+ Weight::from_ref_time(30_699_000 as u64)
+ // Standard Error: 11_468
+ .saturating_add(Weight::from_ref_time(908_466 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 +96,19 @@ impl 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)
+ Weight::from_ref_time(45_962_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))
+ Weight::from_ref_time(14_271_000 as u64)
+ // Standard Error: 1_747
+ .saturating_add(Weight::from_ref_time(930_012 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)))
}
}
diff --git a/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs b/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs
index ca52d8044bbf..0f3f7e7224d5 100644
--- a/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs
+++ b/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs
@@ -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-10-20, 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("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,14 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(32_939_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)
+ Weight::from_ref_time(49_056_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -65,7 +64,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(89_259_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -73,7 +72,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(88_458_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -82,7 +81,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(199_363_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -90,34 +89,34 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(44_871_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)
+ Weight::from_ref_time(31_684_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// 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)
+ Weight::from_ref_time(39_450_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)
+ Weight::from_ref_time(67_773_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)
+ Weight::from_ref_time(11_374_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -126,7 +125,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(124_780_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -135,61 +134,61 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(126_236_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)
+ Weight::from_ref_time(91_437_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)
+ Weight::from_ref_time(91_787_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)
+ Weight::from_ref_time(94_497_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)
+ Weight::from_ref_time(93_371_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)
+ Weight::from_ref_time(29_619_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)
+ Weight::from_ref_time(30_858_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)
+ Weight::from_ref_time(23_018_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -198,7 +197,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(43_101_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -207,7 +206,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(92_641_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -215,7 +214,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(171_700_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -223,7 +222,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(172_288_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -231,7 +230,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(166_471_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -239,7 +238,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(85_364_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -247,17 +246,16 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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))
+ Weight::from_ref_time(178_911_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)
+ Weight::from_ref_time(169_091_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
diff --git a/runtime/kusama/src/weights/pallet_referenda_referenda.rs b/runtime/kusama/src/weights/pallet_referenda_referenda.rs
index 8d8fc6ecbd61..a4ecaf974767 100644
--- a/runtime/kusama/src/weights/pallet_referenda_referenda.rs
+++ b/runtime/kusama/src/weights/pallet_referenda_referenda.rs
@@ -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-10-20, 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("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,14 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(37_811_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)
+ Weight::from_ref_time(48_204_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -64,7 +63,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(49_566_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -72,7 +71,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(49_092_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -80,41 +79,41 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(61_441_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)
+ Weight::from_ref_time(43_739_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)
+ Weight::from_ref_time(31_488_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// 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)
+ Weight::from_ref_time(38_687_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)
+ Weight::from_ref_time(78_266_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)
+ Weight::from_ref_time(11_308_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -122,7 +121,7 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(78_460_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -130,61 +129,61 @@ impl pallet_referenda::WeightInfo for WeightInfo {
// 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)
+ Weight::from_ref_time(80_498_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)
+ Weight::from_ref_time(55_516_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)
+ Weight::from_ref_time(55_185_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)
+ Weight::from_ref_time(57_144_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)
+ Weight::from_ref_time(56_862_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)
+ Weight::from_ref_time(29_018_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)
+ Weight::from_ref_time(30_136_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)
+ Weight::from_ref_time(22_504_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -192,7 +191,7 @@ impl