[release] Prep for v0.8.29 (#2497)

* bump version and substrate

* update weights

* bump substrate

* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/

* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/

* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/

* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/

Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
This commit is contained in:
Martin Pugh
2021-02-24 20:32:34 +01:00
committed by GitHub
parent 4675a784a8
commit 5ffb8cb463
68 changed files with 1077 additions and 1071 deletions
+17 -17
View File
@@ -2779,7 +2779,7 @@ dependencies = [
[[package]] [[package]]
name = "kusama-runtime" name = "kusama-runtime"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"bitvec", "bitvec",
"frame-benchmarking", "frame-benchmarking",
@@ -5026,7 +5026,7 @@ checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325"
[[package]] [[package]]
name = "polkadot" name = "polkadot"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"assert_cmd", "assert_cmd",
"color-eyre", "color-eyre",
@@ -5137,7 +5137,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-cli" name = "polkadot-cli"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"frame-benchmarking-cli", "frame-benchmarking-cli",
"futures 0.3.12", "futures 0.3.12",
@@ -5193,7 +5193,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-erasure-coding" name = "polkadot-erasure-coding"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"polkadot-primitives", "polkadot-primitives",
@@ -5613,7 +5613,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-parachain" name = "polkadot-parachain"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"derive_more", "derive_more",
"futures 0.3.12", "futures 0.3.12",
@@ -5659,7 +5659,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-primitives" name = "polkadot-primitives"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"bitvec", "bitvec",
"frame-system", "frame-system",
@@ -5688,7 +5688,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-rpc" name = "polkadot-rpc"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"jsonrpc-core", "jsonrpc-core",
"pallet-transaction-payment-rpc", "pallet-transaction-payment-rpc",
@@ -5717,7 +5717,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-runtime" name = "polkadot-runtime"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"bitvec", "bitvec",
"frame-benchmarking", "frame-benchmarking",
@@ -5795,7 +5795,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-runtime-common" name = "polkadot-runtime-common"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"bitvec", "bitvec",
"frame-benchmarking", "frame-benchmarking",
@@ -6001,7 +6001,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-statement-table" name = "polkadot-statement-table"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"polkadot-primitives", "polkadot-primitives",
@@ -6010,7 +6010,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-test-client" name = "polkadot-test-client"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"polkadot-node-subsystem", "polkadot-node-subsystem",
@@ -6035,7 +6035,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-test-runtime" name = "polkadot-test-runtime"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"bitvec", "bitvec",
"frame-executive", "frame-executive",
@@ -6095,7 +6095,7 @@ dependencies = [
[[package]] [[package]]
name = "polkadot-test-service" name = "polkadot-test-service"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-system", "frame-system",
@@ -6802,7 +6802,7 @@ dependencies = [
[[package]] [[package]]
name = "rococo-runtime" name = "rococo-runtime"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"frame-executive", "frame-executive",
"frame-support", "frame-support",
@@ -9291,7 +9291,7 @@ dependencies = [
[[package]] [[package]]
name = "test-parachain-adder" name = "test-parachain-adder"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"dlmalloc", "dlmalloc",
"parity-scale-codec", "parity-scale-codec",
@@ -9330,7 +9330,7 @@ dependencies = [
[[package]] [[package]]
name = "test-parachain-halt" name = "test-parachain-halt"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"substrate-wasm-builder", "substrate-wasm-builder",
] ]
@@ -10496,7 +10496,7 @@ dependencies = [
[[package]] [[package]]
name = "westend-runtime" name = "westend-runtime"
version = "0.8.28" version = "0.8.29"
dependencies = [ dependencies = [
"bitvec", "bitvec",
"frame-benchmarking", "frame-benchmarking",
+1 -1
View File
@@ -6,7 +6,7 @@ path = "src/main.rs"
name = "polkadot" name = "polkadot"
description = "Implementation of a https://polkadot.network node in Rust based on the Substrate framework." description = "Implementation of a https://polkadot.network node in Rust based on the Substrate framework."
license = "GPL-3.0-only" license = "GPL-3.0-only"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
readme = "README.md" readme = "README.md"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "polkadot-cli" name = "polkadot-cli"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Polkadot Relay-chain Client Node" description = "Polkadot Relay-chain Client Node"
edition = "2018" edition = "2018"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "polkadot-erasure-coding" name = "polkadot-erasure-coding"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "polkadot-test-client" name = "polkadot-test-client"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "polkadot-test-service" name = "polkadot-test-service"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "polkadot-parachain" name = "polkadot-parachain"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Types and utilities for creating and working with parachains" description = "Types and utilities for creating and working with parachains"
edition = "2018" edition = "2018"
@@ -1,6 +1,6 @@
[package] [package]
name = "test-parachain-adder" name = "test-parachain-adder"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Test parachain which adds to a number as its state transition" description = "Test parachain which adds to a number as its state transition"
edition = "2018" edition = "2018"
@@ -1,6 +1,6 @@
[package] [package]
name = "test-parachain-halt" name = "test-parachain-halt"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Test parachain which executes forever" description = "Test parachain which executes forever"
edition = "2018" edition = "2018"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "polkadot-primitives" name = "polkadot-primitives"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "polkadot-rpc" name = "polkadot-rpc"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "polkadot-runtime-common" name = "polkadot-runtime-common"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "kusama-runtime" name = "kusama-runtime"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_balances //! Autogenerated weights for pallet_balances
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,27 +44,27 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
fn transfer() -> Weight { fn transfer() -> Weight {
(93_087_000 as Weight) (76_727_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn transfer_keep_alive() -> Weight { fn transfer_keep_alive() -> Weight {
(63_971_000 as Weight) (57_428_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_balance_creating() -> Weight { fn set_balance_creating() -> Weight {
(35_018_000 as Weight) (30_604_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_balance_killing() -> Weight { fn set_balance_killing() -> Weight {
(44_144_000 as Weight) (36_518_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_transfer() -> Weight { fn force_transfer() -> Weight {
(91_707_000 as Weight) (76_004_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -1,30 +1,28 @@
// This file is part of Substrate. // Copyright 2017-2020 Parity Technologies (UK) Ltd.
// This file is part of Polkadot.
// Copyright (C) 2020 Parity Technologies (UK) Ltd. // Polkadot is free software: you can redistribute it and/or modify
// SPDX-License-Identifier: Apache-2.0 // 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"); // Polkadot is distributed in the hope that it will be useful,
// you may not use this file except in compliance with the License. // but WITHOUT ANY WARRANTY; without even the implied warranty of
// You may obtain a copy of the License at // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// // GNU General Public License for more details.
// 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.
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_bounties //! Autogenerated weights for pallet_bounties
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-11-20, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
// target/release/substrate // target/release/polkadot
// benchmark // benchmark
// --chain=dev // --chain=kusama-dev
// --steps=50 // --steps=50
// --repeat=20 // --repeat=20
// --pallet=pallet_bounties // --pallet=pallet_bounties
@@ -32,8 +30,9 @@
// --execution=wasm // --execution=wasm
// --wasm-execution=compiled // --wasm-execution=compiled
// --heap-pages=4096 // --heap-pages=4096
// --output=./frame/bounties/src/weights.rs // --header=./file_header.txt
// --template=./.maintain/frame-weight-template.hbs // --output=./runtime/kusama/src/weights/
#![allow(unused_parens)] #![allow(unused_parens)]
#![allow(unused_imports)] #![allow(unused_imports)]
@@ -41,65 +40,65 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weights for pallet_bounties using the Substrate node and recommended hardware. /// Weight functions for pallet_bounties.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
fn propose_bounty(d: u32, ) -> Weight { fn propose_bounty(d: u32, ) -> Weight {
(64_778_000 as Weight) (44_992_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(d as Weight)) .saturating_add((1_000 as Weight).saturating_mul(d as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn approve_bounty() -> Weight { fn approve_bounty() -> Weight {
(18_293_000 as Weight) (11_809_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn propose_curator() -> Weight { fn propose_curator() -> Weight {
(14_248_000 as Weight) (9_140_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn unassign_curator() -> Weight { fn unassign_curator() -> Weight {
(52_100_000 as Weight) (60_609_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn accept_curator() -> Weight { fn accept_curator() -> Weight {
(52_564_000 as Weight) (38_892_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn award_bounty() -> Weight { fn award_bounty() -> Weight {
(37_426_000 as Weight) (25_715_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn claim_bounty() -> Weight { fn claim_bounty() -> Weight {
(176_077_000 as Weight) (134_204_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight))
} }
fn close_bounty_proposed() -> Weight { fn close_bounty_proposed() -> Weight {
(51_162_000 as Weight) (60_031_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn close_bounty_active() -> Weight { fn close_bounty_active() -> Weight {
(116_907_000 as Weight) (88_137_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn extend_bounty_expiry() -> Weight { fn extend_bounty_expiry() -> Weight {
(36_419_000 as Weight) (25_063_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn spend_funds(b: u32, ) -> Weight { fn spend_funds(b: u32, ) -> Weight {
(7_562_000 as Weight) (0 as Weight)
// Standard Error: 16_000 // Standard Error: 16_000
.saturating_add((77_328_000 as Weight).saturating_mul(b as Weight)) .saturating_add((63_032_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(b as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_collective //! Autogenerated weights for pallet_collective
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -46,94 +46,94 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn set_members(m: u32, n: u32, p: u32, ) -> Weight { fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 9_000 // Standard Error: 9_000
.saturating_add((20_739_000 as Weight).saturating_mul(m as Weight)) .saturating_add((20_755_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 9_000 // Standard Error: 9_000
.saturating_add((50_000 as Weight).saturating_mul(n as Weight)) .saturating_add((140_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 9_000 // Standard Error: 9_000
.saturating_add((28_199_000 as Weight).saturating_mul(p as Weight)) .saturating_add((26_023_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
} }
fn execute(b: u32, m: u32, ) -> Weight { fn execute(b: u32, m: u32, ) -> Weight {
(30_949_000 as Weight) (23_189_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add((3_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((111_000 as Weight).saturating_mul(m as Weight)) .saturating_add((114_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
} }
fn propose_execute(b: u32, m: u32, ) -> Weight { fn propose_execute(b: u32, m: u32, ) -> Weight {
(37_904_000 as Weight) (28_292_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add((3_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((220_000 as Weight).saturating_mul(m as Weight)) .saturating_add((221_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
} }
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
(62_075_000 as Weight) (45_630_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((5_000 as Weight).saturating_mul(b as Weight)) .saturating_add((5_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((115_000 as Weight).saturating_mul(m as Weight)) .saturating_add((114_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((588_000 as Weight).saturating_mul(p as Weight)) .saturating_add((475_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn vote(m: u32, ) -> Weight { fn vote(m: u32, ) -> Weight {
(43_811_000 as Weight) (34_523_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((281_000 as Weight).saturating_mul(m as Weight)) .saturating_add((306_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn close_early_disapproved(m: u32, p: u32, ) -> Weight { fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
(59_086_000 as Weight) (43_335_000 as Weight)
// Standard Error: 1_000 // Standard Error: 0
.saturating_add((222_000 as Weight).saturating_mul(m as Weight)) .saturating_add((225_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 1_000 // Standard Error: 0
.saturating_add((542_000 as Weight).saturating_mul(p as Weight)) .saturating_add((440_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
(84_535_000 as Weight) (62_754_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add((4_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((221_000 as Weight).saturating_mul(m as Weight)) .saturating_add((229_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((557_000 as Weight).saturating_mul(p as Weight)) .saturating_add((451_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn close_disapproved(m: u32, p: u32, ) -> Weight { fn close_disapproved(m: u32, p: u32, ) -> Weight {
(65_098_000 as Weight) (48_551_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((221_000 as Weight).saturating_mul(m as Weight)) .saturating_add((226_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((552_000 as Weight).saturating_mul(p as Weight)) .saturating_add((440_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
(90_884_000 as Weight) (68_054_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add((4_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0 // Standard Error: 2_000
.saturating_add((221_000 as Weight).saturating_mul(m as Weight)) .saturating_add((216_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0 // Standard Error: 2_000
.saturating_add((558_000 as Weight).saturating_mul(p as Weight)) .saturating_add((455_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn disapprove_proposal(p: u32, ) -> Weight { fn disapprove_proposal(p: u32, ) -> Weight {
(34_674_000 as Weight) (26_524_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((552_000 as Weight).saturating_mul(p as Weight)) .saturating_add((439_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_democracy //! Autogenerated weights for pallet_democracy
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,163 +44,163 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn propose() -> Weight { fn propose() -> Weight {
(76_513_000 as Weight) (62_202_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn second(s: u32, ) -> Weight { fn second(s: u32, ) -> Weight {
(50_536_000 as Weight) (41_623_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((194_000 as Weight).saturating_mul(s as Weight)) .saturating_add((218_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn vote_new(r: u32, ) -> Weight { fn vote_new(r: u32, ) -> Weight {
(60_328_000 as Weight) (49_012_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((227_000 as Weight).saturating_mul(r as Weight)) .saturating_add((253_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn vote_existing(r: u32, ) -> Weight { fn vote_existing(r: u32, ) -> Weight {
(60_063_000 as Weight) (48_645_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((232_000 as Weight).saturating_mul(r as Weight)) .saturating_add((258_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn emergency_cancel() -> Weight { fn emergency_cancel() -> Weight {
(37_941_000 as Weight) (29_206_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn blacklist(p: u32, ) -> Weight { fn blacklist(p: u32, ) -> Weight {
(121_082_000 as Weight) (86_946_000 as Weight)
// Standard Error: 7_000 // Standard Error: 5_000
.saturating_add((816_000 as Weight).saturating_mul(p as Weight)) .saturating_add((717_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight))
} }
fn external_propose(v: u32, ) -> Weight { fn external_propose(v: u32, ) -> Weight {
(18_656_000 as Weight) (14_551_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((107_000 as Weight).saturating_mul(v as Weight)) .saturating_add((110_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn external_propose_majority() -> Weight { fn external_propose_majority() -> Weight {
(4_291_000 as Weight) (2_990_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn external_propose_default() -> Weight { fn external_propose_default() -> Weight {
(4_484_000 as Weight) (3_002_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn fast_track() -> Weight { fn fast_track() -> Weight {
(38_722_000 as Weight) (28_615_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn veto_external(v: u32, ) -> Weight { fn veto_external(v: u32, ) -> Weight {
(39_271_000 as Weight) (29_559_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((187_000 as Weight).saturating_mul(v as Weight)) .saturating_add((208_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn cancel_proposal(p: u32, ) -> Weight { fn cancel_proposal(p: u32, ) -> Weight {
(84_923_000 as Weight) (60_242_000 as Weight)
// Standard Error: 0 // Standard Error: 1_000
.saturating_add((879_000 as Weight).saturating_mul(p as Weight)) .saturating_add((689_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn cancel_referendum() -> Weight { fn cancel_referendum() -> Weight {
(22_591_000 as Weight) (17_442_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn cancel_queued(r: u32, ) -> Weight { fn cancel_queued(r: u32, ) -> Weight {
(42_351_000 as Weight) (33_867_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((3_421_000 as Weight).saturating_mul(r as Weight)) .saturating_add((3_155_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn on_initialize_base(r: u32, ) -> Weight { fn on_initialize_base(r: u32, ) -> Weight {
(16_859_000 as Weight) (11_959_000 as Weight)
// Standard Error: 3_000 // Standard Error: 2_000
.saturating_add((6_940_000 as Weight).saturating_mul(r as Weight)) .saturating_add((5_443_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
} }
fn delegate(r: u32, ) -> Weight { fn delegate(r: u32, ) -> Weight {
(81_043_000 as Weight) (63_264_000 as Weight)
// Standard Error: 2_000 // Standard Error: 3_000
.saturating_add((10_032_000 as Weight).saturating_mul(r as Weight)) .saturating_add((7_720_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
} }
fn undelegate(r: u32, ) -> Weight { fn undelegate(r: u32, ) -> Weight {
(40_537_000 as Weight) (30_529_000 as Weight)
// Standard Error: 2_000 // Standard Error: 2_000
.saturating_add((10_019_000 as Weight).saturating_mul(r as Weight)) .saturating_add((7_685_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
} }
fn clear_public_proposals() -> Weight { fn clear_public_proposals() -> Weight {
(3_649_000 as Weight) (2_791_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn note_preimage(b: u32, ) -> Weight { fn note_preimage(b: u32, ) -> Weight {
(57_601_000 as Weight) (45_588_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add((4_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn note_imminent_preimage(b: u32, ) -> Weight { fn note_imminent_preimage(b: u32, ) -> Weight {
(39_448_000 as Weight) (29_161_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add((3_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn reap_preimage(b: u32, ) -> Weight { fn reap_preimage(b: u32, ) -> Weight {
(53_441_000 as Weight) (40_951_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add((3_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn unlock_remove(r: u32, ) -> Weight { fn unlock_remove(r: u32, ) -> Weight {
(50_814_000 as Weight) (42_656_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((39_000 as Weight).saturating_mul(r as Weight)) .saturating_add((40_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn unlock_set(r: u32, ) -> Weight { fn unlock_set(r: u32, ) -> Weight {
(46_171_000 as Weight) (38_985_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((222_000 as Weight).saturating_mul(r as Weight)) .saturating_add((248_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn remove_vote(r: u32, ) -> Weight { fn remove_vote(r: u32, ) -> Weight {
(28_134_000 as Weight) (21_437_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((217_000 as Weight).saturating_mul(r as Weight)) .saturating_add((241_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn remove_other_vote(r: u32, ) -> Weight { fn remove_other_vote(r: u32, ) -> Weight {
(28_233_000 as Weight) (21_621_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((219_000 as Weight).saturating_mul(r as Weight)) .saturating_add((240_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -16,7 +16,7 @@
//! Autogenerated weights for pallet_election_provider_multi_phase //! Autogenerated weights for pallet_election_provider_multi_phase
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-02-23, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-24, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,47 +44,47 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> {
fn on_initialize_nothing() -> Weight { fn on_initialize_nothing() -> Weight {
(21_355_000 as Weight) (20_876_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
} }
fn on_initialize_open_signed() -> Weight { fn on_initialize_open_signed() -> Weight {
(72_565_000 as Weight) (70_948_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn on_initialize_open_unsigned_with_snapshot() -> Weight { fn on_initialize_open_unsigned_with_snapshot() -> Weight {
(71_673_000 as Weight) (70_229_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn on_initialize_open_unsigned_without_snapshot() -> Weight { fn on_initialize_open_unsigned_without_snapshot() -> Weight {
(19_070_000 as Weight) (18_689_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 22_000 // Standard Error: 21_000
.saturating_add((4_142_000 as Weight).saturating_mul(v as Weight)) .saturating_add((4_142_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 76_000 // Standard Error: 70_000
.saturating_add((181_000 as Weight).saturating_mul(t as Weight)) .saturating_add((246_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 22_000 // Standard Error: 21_000
.saturating_add((13_682_000 as Weight).saturating_mul(a as Weight)) .saturating_add((13_612_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 114_000 // Standard Error: 105_000
.saturating_add((4_802_000 as Weight).saturating_mul(d as Weight)) .saturating_add((4_637_000 as Weight).saturating_mul(d as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 13_000 // Standard Error: 12_000
.saturating_add((4_247_000 as Weight).saturating_mul(v as Weight)) .saturating_add((4_236_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 44_000 // Standard Error: 41_000
.saturating_add((744_000 as Weight).saturating_mul(t as Weight)) .saturating_add((716_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 13_000 // Standard Error: 12_000
.saturating_add((10_137_000 as Weight).saturating_mul(a as Weight)) .saturating_add((10_065_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 67_000 // Standard Error: 61_000
.saturating_add((4_516_000 as Weight).saturating_mul(d as Weight)) .saturating_add((4_384_000 as Weight).saturating_mul(d as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
} }
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_identity //! Autogenerated weights for pallet_identity
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,135 +44,135 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn add_registrar(r: u32, ) -> Weight { fn add_registrar(r: u32, ) -> Weight {
(28_419_000 as Weight) (22_292_000 as Weight)
// Standard Error: 2_000 // Standard Error: 2_000
.saturating_add((289_000 as Weight).saturating_mul(r as Weight)) .saturating_add((356_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_identity(r: u32, x: u32, ) -> Weight { fn set_identity(r: u32, x: u32, ) -> Weight {
(73_891_000 as Weight) (56_596_000 as Weight)
// Standard Error: 19_000 // Standard Error: 17_000
.saturating_add((279_000 as Weight).saturating_mul(r as Weight)) .saturating_add((255_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 2_000 // Standard Error: 2_000
.saturating_add((1_819_000 as Weight).saturating_mul(x as Weight)) .saturating_add((1_139_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_subs_new(s: u32, ) -> Weight { fn set_subs_new(s: u32, ) -> Weight {
(52_415_000 as Weight) (43_029_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((9_876_000 as Weight).saturating_mul(s as Weight)) .saturating_add((6_826_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn set_subs_old(p: u32, ) -> Weight { fn set_subs_old(p: u32, ) -> Weight {
(48_406_000 as Weight) (44_071_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_392_000 as Weight).saturating_mul(p as Weight)) .saturating_add((2_307_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
} }
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
(61_817_000 as Weight) (54_654_000 as Weight)
// Standard Error: 8_000 // Standard Error: 7_000
.saturating_add((202_000 as Weight).saturating_mul(r as Weight)) .saturating_add((153_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000 // Standard Error: 0
.saturating_add((3_417_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_302_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 1_000 // Standard Error: 0
.saturating_add((1_075_000 as Weight).saturating_mul(x as Weight)) .saturating_add((740_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn request_judgement(r: u32, x: u32, ) -> Weight { fn request_judgement(r: u32, x: u32, ) -> Weight {
(73_843_000 as Weight) (57_560_000 as Weight)
// Standard Error: 9_000 // Standard Error: 8_000
.saturating_add((348_000 as Weight).saturating_mul(r as Weight)) .saturating_add((329_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_085_000 as Weight).saturating_mul(x as Weight)) .saturating_add((1_450_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn cancel_request(r: u32, x: u32, ) -> Weight { fn cancel_request(r: u32, x: u32, ) -> Weight {
(63_423_000 as Weight) (53_481_000 as Weight)
// Standard Error: 11_000 // Standard Error: 10_000
.saturating_add((237_000 as Weight).saturating_mul(r as Weight)) .saturating_add((189_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_067_000 as Weight).saturating_mul(x as Weight)) .saturating_add((1_435_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_fee(r: u32, ) -> Weight { fn set_fee(r: u32, ) -> Weight {
(10_954_000 as Weight) (8_550_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((255_000 as Weight).saturating_mul(r as Weight)) .saturating_add((317_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_account_id(r: u32, ) -> Weight { fn set_account_id(r: u32, ) -> Weight {
(12_327_000 as Weight) (9_669_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((263_000 as Weight).saturating_mul(r as Weight)) .saturating_add((315_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_fields(r: u32, ) -> Weight { fn set_fields(r: u32, ) -> Weight {
(11_006_000 as Weight) (8_551_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((255_000 as Weight).saturating_mul(r as Weight)) .saturating_add((313_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn provide_judgement(r: u32, x: u32, ) -> Weight { fn provide_judgement(r: u32, x: u32, ) -> Weight {
(49_635_000 as Weight) (37_602_000 as Weight)
// Standard Error: 9_000 // Standard Error: 8_000
.saturating_add((296_000 as Weight).saturating_mul(r as Weight)) .saturating_add((287_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_075_000 as Weight).saturating_mul(x as Weight)) .saturating_add((1_435_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
(101_563_000 as Weight) (74_948_000 as Weight)
// Standard Error: 6_000 // Standard Error: 5_000
.saturating_add((207_000 as Weight).saturating_mul(r as Weight)) .saturating_add((101_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_404_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_320_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((8_000 as Weight).saturating_mul(x as Weight)) .saturating_add((5_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn add_sub(s: u32, ) -> Weight { fn add_sub(s: u32, ) -> Weight {
(73_298_000 as Weight) (57_904_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((183_000 as Weight).saturating_mul(s as Weight)) .saturating_add((213_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn rename_sub(s: u32, ) -> Weight { fn rename_sub(s: u32, ) -> Weight {
(23_667_000 as Weight) (18_169_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((25_000 as Weight).saturating_mul(s as Weight)) .saturating_add((25_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn remove_sub(s: u32, ) -> Weight { fn remove_sub(s: u32, ) -> Weight {
(69_636_000 as Weight) (59_031_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((160_000 as Weight).saturating_mul(s as Weight)) .saturating_add((192_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn quit_sub(s: u32, ) -> Weight { fn quit_sub(s: u32, ) -> Weight {
(45_890_000 as Weight) (35_933_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((156_000 as Weight).saturating_mul(s as Weight)) .saturating_add((190_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_im_online //! Autogenerated weights for pallet_im_online
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,11 +44,11 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
(112_814_000 as Weight) (97_790_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((215_000 as Weight).saturating_mul(k as Weight)) .saturating_add((209_000 as Weight).saturating_mul(k as Weight))
// Standard Error: 2_000 // Standard Error: 1_000
.saturating_add((491_000 as Weight).saturating_mul(e as Weight)) .saturating_add((430_000 as Weight).saturating_mul(e as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_indices //! Autogenerated weights for pallet_indices
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,27 +44,27 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
fn claim() -> Weight { fn claim() -> Weight {
(53_201_000 as Weight) (42_772_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn transfer() -> Weight { fn transfer() -> Weight {
(59_579_000 as Weight) (51_790_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn free() -> Weight { fn free() -> Weight {
(47_496_000 as Weight) (42_186_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_transfer() -> Weight { fn force_transfer() -> Weight {
(49_084_000 as Weight) (43_127_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn freeze() -> Weight { fn freeze() -> Weight {
(44_478_000 as Weight) (40_593_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_multisig //! Autogenerated weights for pallet_multisig
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,80 +44,80 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_threshold_1(z: u32, ) -> Weight { fn as_multi_threshold_1(z: u32, ) -> Weight {
(12_476_000 as Weight) (13_201_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add((1_000 as Weight).saturating_mul(z as Weight))
} }
fn as_multi_create(s: u32, z: u32, ) -> Weight { fn as_multi_create(s: u32, z: u32, ) -> Weight {
(69_580_000 as Weight) (54_671_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((89_000 as Weight).saturating_mul(s as Weight)) .saturating_add((121_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add((1_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn as_multi_create_store(s: u32, z: u32, ) -> Weight { fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
(78_436_000 as Weight) (60_759_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((92_000 as Weight).saturating_mul(s as Weight)) .saturating_add((125_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add((3_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn as_multi_approve(s: u32, z: u32, ) -> Weight { fn as_multi_approve(s: u32, z: u32, ) -> Weight {
(41_554_000 as Weight) (31_428_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((108_000 as Weight).saturating_mul(s as Weight)) .saturating_add((143_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add((1_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
(74_444_000 as Weight) (57_832_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((124_000 as Weight).saturating_mul(s as Weight)) .saturating_add((157_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add((3_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn as_multi_complete(s: u32, z: u32, ) -> Weight { fn as_multi_complete(s: u32, z: u32, ) -> Weight {
(85_497_000 as Weight) (74_181_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((245_000 as Weight).saturating_mul(s as Weight)) .saturating_add((276_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((5_000 as Weight).saturating_mul(z as Weight)) .saturating_add((5_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn approve_as_multi_create(s: u32, ) -> Weight { fn approve_as_multi_create(s: u32, ) -> Weight {
(69_232_000 as Weight) (54_473_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((86_000 as Weight).saturating_mul(s as Weight)) .saturating_add((119_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn approve_as_multi_approve(s: u32, ) -> Weight { fn approve_as_multi_approve(s: u32, ) -> Weight {
(40_932_000 as Weight) (31_380_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((107_000 as Weight).saturating_mul(s as Weight)) .saturating_add((141_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn approve_as_multi_complete(s: u32, ) -> Weight { fn approve_as_multi_complete(s: u32, ) -> Weight {
(157_594_000 as Weight) (148_536_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((245_000 as Weight).saturating_mul(s as Weight)) .saturating_add((279_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn cancel_as_multi(s: u32, ) -> Weight { fn cancel_as_multi(s: u32, ) -> Weight {
(109_613_000 as Weight) (100_803_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((89_000 as Weight).saturating_mul(s as Weight)) .saturating_add((130_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_proxy //! Autogenerated weights for pallet_proxy
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,79 +44,79 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn proxy(p: u32, ) -> Weight { fn proxy(p: u32, ) -> Weight {
(30_904_000 as Weight) (24_549_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((196_000 as Weight).saturating_mul(p as Weight)) .saturating_add((185_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
} }
fn proxy_announced(a: u32, p: u32, ) -> Weight { fn proxy_announced(a: u32, p: u32, ) -> Weight {
(65_146_000 as Weight) (55_117_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((825_000 as Weight).saturating_mul(a as Weight)) .saturating_add((629_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((185_000 as Weight).saturating_mul(p as Weight)) .saturating_add((194_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn remove_announcement(a: u32, p: u32, ) -> Weight { fn remove_announcement(a: u32, p: u32, ) -> Weight {
(41_395_000 as Weight) (38_414_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((818_000 as Weight).saturating_mul(a as Weight)) .saturating_add((626_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((11_000 as Weight).saturating_mul(p as Weight)) .saturating_add((12_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn reject_announcement(a: u32, p: u32, ) -> Weight { fn reject_announcement(a: u32, p: u32, ) -> Weight {
(41_431_000 as Weight) (38_621_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((820_000 as Weight).saturating_mul(a as Weight)) .saturating_add((619_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((13_000 as Weight).saturating_mul(p as Weight)) .saturating_add((10_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn announce(a: u32, p: u32, ) -> Weight { fn announce(a: u32, p: u32, ) -> Weight {
(65_751_000 as Weight) (52_301_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((703_000 as Weight).saturating_mul(a as Weight)) .saturating_add((630_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((186_000 as Weight).saturating_mul(p as Weight)) .saturating_add((192_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn add_proxy(p: u32, ) -> Weight { fn add_proxy(p: u32, ) -> Weight {
(44_708_000 as Weight) (37_321_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((196_000 as Weight).saturating_mul(p as Weight)) .saturating_add((248_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn remove_proxy(p: u32, ) -> Weight { fn remove_proxy(p: u32, ) -> Weight {
(40_043_000 as Weight) (37_047_000 as Weight)
// Standard Error: 1_000 // Standard Error: 2_000
.saturating_add((235_000 as Weight).saturating_mul(p as Weight)) .saturating_add((276_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn remove_proxies(p: u32, ) -> Weight { fn remove_proxies(p: u32, ) -> Weight {
(38_286_000 as Weight) (35_847_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((189_000 as Weight).saturating_mul(p as Weight)) .saturating_add((186_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn anonymous(p: u32, ) -> Weight { fn anonymous(p: u32, ) -> Weight {
(63_581_000 as Weight) (51_127_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((25_000 as Weight).saturating_mul(p as Weight)) .saturating_add((25_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn kill_anonymous(p: u32, ) -> Weight { fn kill_anonymous(p: u32, ) -> Weight {
(41_113_000 as Weight) (37_752_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((187_000 as Weight).saturating_mul(p as Weight)) .saturating_add((191_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_scheduler //! Autogenerated weights for pallet_scheduler
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,30 +44,30 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn schedule(s: u32, ) -> Weight { fn schedule(s: u32, ) -> Weight {
(34_006_000 as Weight) (25_567_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((47_000 as Weight).saturating_mul(s as Weight)) .saturating_add((49_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn cancel(s: u32, ) -> Weight { fn cancel(s: u32, ) -> Weight {
(30_954_000 as Weight) (23_036_000 as Weight)
// Standard Error: 6_000 // Standard Error: 6_000
.saturating_add((3_073_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_952_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn schedule_named(s: u32, ) -> Weight { fn schedule_named(s: u32, ) -> Weight {
(44_217_000 as Weight) (32_467_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((66_000 as Weight).saturating_mul(s as Weight)) .saturating_add((64_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn cancel_named(s: u32, ) -> Weight { fn cancel_named(s: u32, ) -> Weight {
(35_521_000 as Weight) (26_743_000 as Weight)
// Standard Error: 6_000 // Standard Error: 6_000
.saturating_add((3_084_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_960_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_session //! Autogenerated weights for pallet_session
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,13 +44,13 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
fn set_keys() -> Weight { fn set_keys() -> Weight {
(91_470_000 as Weight) (76_221_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(8 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight))
} }
fn purge_keys() -> Weight { fn purge_keys() -> Weight {
(53_966_000 as Weight) (44_871_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight))
} }
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_staking //! Autogenerated weights for pallet_staking
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.1 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-01-21, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,155 +44,155 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn bond() -> Weight { fn bond() -> Weight {
(71_430_000 as Weight) (76_355_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn bond_extra() -> Weight { fn bond_extra() -> Weight {
(58_130_000 as Weight) (62_322_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn unbond() -> Weight { fn unbond() -> Weight {
(53_456_000 as Weight) (56_996_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn withdraw_unbonded_update(s: u32, ) -> Weight { fn withdraw_unbonded_update(s: u32, ) -> Weight {
(53_996_000 as Weight) (57_447_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((32_000 as Weight).saturating_mul(s as Weight)) .saturating_add((35_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn withdraw_unbonded_kill(s: u32, ) -> Weight { fn withdraw_unbonded_kill(s: u32, ) -> Weight {
(84_773_000 as Weight) (89_916_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_395_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_644_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn validate() -> Weight { fn validate() -> Weight {
(17_881_000 as Weight) (18_943_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn kick(k: u32, ) -> Weight { fn kick(k: u32, ) -> Weight {
(12_616_000 as Weight) (16_802_000 as Weight)
// Standard Error: 11_000 // Standard Error: 7_000
.saturating_add((17_372_000 as Weight).saturating_mul(k as Weight)) .saturating_add((18_457_000 as Weight).saturating_mul(k as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight)))
} }
fn nominate(n: u32, ) -> Weight { fn nominate(n: u32, ) -> Weight {
(27_069_000 as Weight) (28_768_000 as Weight)
// Standard Error: 10_000 // Standard Error: 9_000
.saturating_add((5_466_000 as Weight).saturating_mul(n as Weight)) .saturating_add((5_744_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn chill() -> Weight { fn chill() -> Weight {
(17_325_000 as Weight) (18_235_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn set_payee() -> Weight { fn set_payee() -> Weight {
(11_936_000 as Weight) (12_369_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_controller() -> Weight { fn set_controller() -> Weight {
(25_524_000 as Weight) (27_200_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn set_validator_count() -> Weight { fn set_validator_count() -> Weight {
(2_178_000 as Weight) (2_134_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_no_eras() -> Weight { fn force_no_eras() -> Weight {
(2_393_000 as Weight) (2_466_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_new_era() -> Weight { fn force_new_era() -> Weight {
(2_353_000 as Weight) (2_419_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_new_era_always() -> Weight { fn force_new_era_always() -> Weight {
(2_340_000 as Weight) (2_433_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_invulnerables(v: u32, ) -> Weight { fn set_invulnerables(v: u32, ) -> Weight {
(2_414_000 as Weight) (2_425_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((9_000 as Weight).saturating_mul(v as Weight)) .saturating_add((35_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_unstake(s: u32, ) -> Weight { fn force_unstake(s: u32, ) -> Weight {
(56_566_000 as Weight) (60_423_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_393_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_634_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn cancel_deferred_slash(s: u32, ) -> Weight { fn cancel_deferred_slash(s: u32, ) -> Weight {
(5_903_566_000 as Weight) (5_903_335_000 as Weight)
// Standard Error: 392_000 // Standard Error: 389_000
.saturating_add((34_783_000 as Weight).saturating_mul(s as Weight)) .saturating_add((34_608_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn payout_stakers_dead_controller(n: u32, ) -> Weight { fn payout_stakers_dead_controller(n: u32, ) -> Weight {
(115_889_000 as Weight) (121_563_000 as Weight)
// Standard Error: 18_000 // Standard Error: 12_000
.saturating_add((47_622_000 as Weight).saturating_mul(n as Weight)) .saturating_add((49_875_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight)))
} }
fn payout_stakers_alive_staked(n: u32, ) -> Weight { fn payout_stakers_alive_staked(n: u32, ) -> Weight {
(138_310_000 as Weight) (147_113_000 as Weight)
// Standard Error: 20_000 // Standard Error: 17_000
.saturating_add((61_127_000 as Weight).saturating_mul(n as Weight)) .saturating_add((64_475_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight))
.saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight)))
} }
fn rebond(l: u32, ) -> Weight { fn rebond(l: u32, ) -> Weight {
(36_732_000 as Weight) (39_119_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((81_000 as Weight).saturating_mul(l as Weight)) .saturating_add((85_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn set_history_depth(e: u32, ) -> Weight { fn set_history_depth(e: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 66_000 // Standard Error: 69_000
.saturating_add((30_731_000 as Weight).saturating_mul(e as Weight)) .saturating_add((31_394_000 as Weight).saturating_mul(e as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight))) .saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight)))
} }
fn reap_stash(s: u32, ) -> Weight { fn reap_stash(s: u32, ) -> Weight {
(59_595_000 as Weight) (64_045_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((2_378_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_643_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn new_era(v: u32, n: u32, ) -> Weight { fn new_era(v: u32, n: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 789_000 // Standard Error: 669_000
.saturating_add((548_828_000 as Weight).saturating_mul(v as Weight)) .saturating_add((575_719_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 39_000 // Standard Error: 33_000
.saturating_add((77_717_000 as Weight).saturating_mul(n as Weight)) .saturating_add((81_012_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight)))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight)))
@@ -201,14 +201,14 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
} }
fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight { fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 43_000 // Standard Error: 46_000
.saturating_add((1_426_000 as Weight).saturating_mul(v as Weight)) .saturating_add((712_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 17_000 // Standard Error: 18_000
.saturating_add((588_000 as Weight).saturating_mul(n as Weight)) .saturating_add((434_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 43_000 // Standard Error: 46_000
.saturating_add((69_239_000 as Weight).saturating_mul(a as Weight)) .saturating_add((72_940_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 90_000 // Standard Error: 97_000
.saturating_add((8_062_000 as Weight).saturating_mul(w as Weight)) .saturating_add((6_390_000 as Weight).saturating_mul(w as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight)))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight)))
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_timestamp //! Autogenerated weights for pallet_timestamp
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,11 +44,11 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
fn set() -> Weight { fn set() -> Weight {
(11_338_000 as Weight) (10_737_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn on_finalize() -> Weight { fn on_finalize() -> Weight {
(6_080_000 as Weight) (4_720_000 as Weight)
} }
} }
@@ -1,30 +1,28 @@
// This file is part of Substrate. // Copyright 2017-2020 Parity Technologies (UK) Ltd.
// This file is part of Polkadot.
// Copyright (C) 2020 Parity Technologies (UK) Ltd. // Polkadot is free software: you can redistribute it and/or modify
// SPDX-License-Identifier: Apache-2.0 // 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"); // Polkadot is distributed in the hope that it will be useful,
// you may not use this file except in compliance with the License. // but WITHOUT ANY WARRANTY; without even the implied warranty of
// You may obtain a copy of the License at // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// // GNU General Public License for more details.
// 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.
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_tips //! Autogenerated weights for pallet_tips
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-20, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
// target/release/substrate // target/release/polkadot
// benchmark // benchmark
// --chain=dev // --chain=kusama-dev
// --steps=50 // --steps=50
// --repeat=20 // --repeat=20
// --pallet=pallet_tips // --pallet=pallet_tips
@@ -32,8 +30,8 @@
// --execution=wasm // --execution=wasm
// --wasm-execution=compiled // --wasm-execution=compiled
// --heap-pages=4096 // --heap-pages=4096
// --output=./frame/tips/src/weights.rs // --header=./file_header.txt
// --template=./.maintain/frame-weight-template.hbs // --output=./runtime/kusama/src/weights/
#![allow(unused_parens)] #![allow(unused_parens)]
@@ -42,48 +40,48 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weights for pallet_tips using the Substrate node and recommended hardware. /// Weight functions for pallet_tips.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn report_awesome(r: u32, ) -> Weight { fn report_awesome(r: u32, ) -> Weight {
(73_795_000 as Weight) (52_076_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((2_000 as Weight).saturating_mul(r as Weight)) .saturating_add((2_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn retract_tip() -> Weight { fn retract_tip() -> Weight {
(61_753_000 as Weight) (48_327_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn tip_new(r: u32, t: u32, ) -> Weight { fn tip_new(r: u32, t: u32, ) -> Weight {
(47_731_000 as Weight) (31_658_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((2_000 as Weight).saturating_mul(r as Weight)) .saturating_add((2_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((154_000 as Weight).saturating_mul(t as Weight)) .saturating_add((173_000 as Weight).saturating_mul(t as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn tip(t: u32, ) -> Weight { fn tip(t: u32, ) -> Weight {
(35_215_000 as Weight) (20_387_000 as Weight)
// Standard Error: 1_000 // Standard Error: 0
.saturating_add((712_000 as Weight).saturating_mul(t as Weight)) .saturating_add((818_000 as Weight).saturating_mul(t as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn close_tip(t: u32, ) -> Weight { fn close_tip(t: u32, ) -> Weight {
(117_027_000 as Weight) (87_990_000 as Weight)
// Standard Error: 1_000 // Standard Error: 0
.saturating_add((375_000 as Weight).saturating_mul(t as Weight)) .saturating_add((392_000 as Weight).saturating_mul(t as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn slash_tip(t: u32, ) -> Weight { fn slash_tip(t: u32, ) -> Weight {
(37_184_000 as Weight) (26_079_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((11_000 as Weight).saturating_mul(t as Weight)) .saturating_add((9_000 as Weight).saturating_mul(t as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_treasury //! Autogenerated weights for pallet_treasury
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,26 +44,27 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
fn propose_spend() -> Weight { fn propose_spend() -> Weight {
(55_957_000 as Weight) (44_383_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn reject_proposal() -> Weight { fn reject_proposal() -> Weight {
(45_616_000 as Weight) (60_767_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn approve_proposal() -> Weight { fn approve_proposal() -> Weight {
(13_362_000 as Weight) (9_501_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn on_initialize_proposals(p: u32, ) -> Weight { fn on_initialize_proposals(p: u32, ) -> Weight {
(74_689_000 as Weight) (87_297_000 as Weight)
.saturating_add((71_943_000 as Weight).saturating_mul(p as Weight)) // Standard Error: 17_000
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add((65_467_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(p as Weight)))
} }
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_utility //! Autogenerated weights for pallet_utility
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,16 +44,16 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch(c: u32, ) -> Weight { fn batch(c: u32, ) -> Weight {
(19_612_000 as Weight) (15_197_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_988_000 as Weight).saturating_mul(c as Weight)) .saturating_add((2_016_000 as Weight).saturating_mul(c as Weight))
} }
fn as_derivative() -> Weight { fn as_derivative() -> Weight {
(5_849_000 as Weight) (4_083_000 as Weight)
} }
fn batch_all(c: u32, ) -> Weight { fn batch_all(c: u32, ) -> Weight {
(21_934_000 as Weight) (15_979_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_503_000 as Weight).saturating_mul(c as Weight)) .saturating_add((2_019_000 as Weight).saturating_mul(c as Weight))
} }
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_vesting //! Autogenerated weights for pallet_vesting
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,44 +44,44 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_locked(l: u32, ) -> Weight { fn vest_locked(l: u32, ) -> Weight {
(54_809_000 as Weight) (44_832_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((133_000 as Weight).saturating_mul(l as Weight)) .saturating_add((165_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn vest_unlocked(l: u32, ) -> Weight { fn vest_unlocked(l: u32, ) -> Weight {
(59_001_000 as Weight) (47_566_000 as Weight)
// Standard Error: 2_000 // Standard Error: 1_000
.saturating_add((107_000 as Weight).saturating_mul(l as Weight)) .saturating_add((153_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn vest_other_locked(l: u32, ) -> Weight { fn vest_other_locked(l: u32, ) -> Weight {
(54_779_000 as Weight) (44_580_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((130_000 as Weight).saturating_mul(l as Weight)) .saturating_add((163_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn vest_other_unlocked(l: u32, ) -> Weight { fn vest_other_unlocked(l: u32, ) -> Weight {
(58_762_000 as Weight) (47_416_000 as Weight)
// Standard Error: 2_000 // Standard Error: 1_000
.saturating_add((109_000 as Weight).saturating_mul(l as Weight)) .saturating_add((145_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn vested_transfer(l: u32, ) -> Weight { fn vested_transfer(l: u32, ) -> Weight {
(119_976_000 as Weight) (100_439_000 as Weight)
// Standard Error: 8_000 // Standard Error: 1_000
.saturating_add((174_000 as Weight).saturating_mul(l as Weight)) .saturating_add((166_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn force_vested_transfer(l: u32, ) -> Weight { fn force_vested_transfer(l: u32, ) -> Weight {
(119_342_000 as Weight) (99_867_000 as Weight)
// Standard Error: 8_000 // Standard Error: 1_000
.saturating_add((168_000 as Weight).saturating_mul(l as Weight)) .saturating_add((163_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "polkadot-runtime" name = "polkadot-runtime"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_balances //! Autogenerated weights for pallet_balances
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-08, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,27 +44,27 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
fn transfer() -> Weight { fn transfer() -> Weight {
(93_434_000 as Weight) (77_714_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn transfer_keep_alive() -> Weight { fn transfer_keep_alive() -> Weight {
(64_060_000 as Weight) (58_507_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_balance_creating() -> Weight { fn set_balance_creating() -> Weight {
(35_345_000 as Weight) (31_242_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_balance_killing() -> Weight { fn set_balance_killing() -> Weight {
(44_679_000 as Weight) (37_050_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_transfer() -> Weight { fn force_transfer() -> Weight {
(92_521_000 as Weight) (76_266_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -1,30 +1,28 @@
// This file is part of Substrate. // Copyright 2017-2020 Parity Technologies (UK) Ltd.
// This file is part of Polkadot.
// Copyright (C) 2020 Parity Technologies (UK) Ltd. // Polkadot is free software: you can redistribute it and/or modify
// SPDX-License-Identifier: Apache-2.0 // 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"); // Polkadot is distributed in the hope that it will be useful,
// you may not use this file except in compliance with the License. // but WITHOUT ANY WARRANTY; without even the implied warranty of
// You may obtain a copy of the License at // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// // GNU General Public License for more details.
// 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.
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_bounties //! Autogenerated weights for pallet_bounties
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-11-20, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
// target/release/substrate // target/release/polkadot
// benchmark // benchmark
// --chain=dev // --chain=polkadot-dev
// --steps=50 // --steps=50
// --repeat=20 // --repeat=20
// --pallet=pallet_bounties // --pallet=pallet_bounties
@@ -32,8 +30,8 @@
// --execution=wasm // --execution=wasm
// --wasm-execution=compiled // --wasm-execution=compiled
// --heap-pages=4096 // --heap-pages=4096
// --output=./frame/bounties/src/weights.rs // --header=./file_header.txt
// --template=./.maintain/frame-weight-template.hbs // --output=./runtime/polkadot/src/weights/
#![allow(unused_parens)] #![allow(unused_parens)]
@@ -42,65 +40,65 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weights for pallet_bounties using the Substrate node and recommended hardware. /// Weight functions for pallet_bounties.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
fn propose_bounty(d: u32, ) -> Weight { fn propose_bounty(d: u32, ) -> Weight {
(64_778_000 as Weight) (46_123_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(d as Weight)) .saturating_add((1_000 as Weight).saturating_mul(d as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn approve_bounty() -> Weight { fn approve_bounty() -> Weight {
(18_293_000 as Weight) (12_030_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn propose_curator() -> Weight { fn propose_curator() -> Weight {
(14_248_000 as Weight) (9_220_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn unassign_curator() -> Weight { fn unassign_curator() -> Weight {
(52_100_000 as Weight) (61_091_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn accept_curator() -> Weight { fn accept_curator() -> Weight {
(52_564_000 as Weight) (39_538_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn award_bounty() -> Weight { fn award_bounty() -> Weight {
(37_426_000 as Weight) (25_608_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn claim_bounty() -> Weight { fn claim_bounty() -> Weight {
(176_077_000 as Weight) (135_615_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight))
} }
fn close_bounty_proposed() -> Weight { fn close_bounty_proposed() -> Weight {
(51_162_000 as Weight) (60_007_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn close_bounty_active() -> Weight { fn close_bounty_active() -> Weight {
(116_907_000 as Weight) (89_471_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn extend_bounty_expiry() -> Weight { fn extend_bounty_expiry() -> Weight {
(36_419_000 as Weight) (25_014_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn spend_funds(b: u32, ) -> Weight { fn spend_funds(b: u32, ) -> Weight {
(7_562_000 as Weight) (0 as Weight)
// Standard Error: 16_000 // Standard Error: 15_000
.saturating_add((77_328_000 as Weight).saturating_mul(b as Weight)) .saturating_add((64_000_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(b as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_collective //! Autogenerated weights for pallet_collective
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-08, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -46,94 +46,94 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn set_members(m: u32, n: u32, p: u32, ) -> Weight { fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 9_000 // Standard Error: 9_000
.saturating_add((20_774_000 as Weight).saturating_mul(m as Weight)) .saturating_add((21_109_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 9_000 // Standard Error: 9_000
.saturating_add((140_000 as Weight).saturating_mul(n as Weight)) .saturating_add((132_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 9_000 // Standard Error: 9_000
.saturating_add((28_269_000 as Weight).saturating_mul(p as Weight)) .saturating_add((26_492_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
} }
fn execute(b: u32, m: u32, ) -> Weight { fn execute(b: u32, m: u32, ) -> Weight {
(31_199_000 as Weight) (23_275_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add((4_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((112_000 as Weight).saturating_mul(m as Weight)) .saturating_add((116_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
} }
fn propose_execute(b: u32, m: u32, ) -> Weight { fn propose_execute(b: u32, m: u32, ) -> Weight {
(38_299_000 as Weight) (28_343_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add((4_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((226_000 as Weight).saturating_mul(m as Weight)) .saturating_add((224_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
} }
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
(62_096_000 as Weight) (46_087_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((5_000 as Weight).saturating_mul(b as Weight)) .saturating_add((5_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((120_000 as Weight).saturating_mul(m as Weight)) .saturating_add((118_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((595_000 as Weight).saturating_mul(p as Weight)) .saturating_add((478_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn vote(m: u32, ) -> Weight { fn vote(m: u32, ) -> Weight {
(44_252_000 as Weight) (35_020_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((286_000 as Weight).saturating_mul(m as Weight)) .saturating_add((304_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn close_early_disapproved(m: u32, p: u32, ) -> Weight { fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
(59_479_000 as Weight) (43_964_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((221_000 as Weight).saturating_mul(m as Weight)) .saturating_add((221_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((549_000 as Weight).saturating_mul(p as Weight)) .saturating_add((436_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
(85_690_000 as Weight) (63_122_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add((4_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((223_000 as Weight).saturating_mul(m as Weight)) .saturating_add((223_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((555_000 as Weight).saturating_mul(p as Weight)) .saturating_add((449_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn close_disapproved(m: u32, p: u32, ) -> Weight { fn close_disapproved(m: u32, p: u32, ) -> Weight {
(65_935_000 as Weight) (49_042_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((225_000 as Weight).saturating_mul(m as Weight)) .saturating_add((222_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((554_000 as Weight).saturating_mul(p as Weight)) .saturating_add((438_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
(92_386_000 as Weight) (67_488_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add((4_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((224_000 as Weight).saturating_mul(m as Weight)) .saturating_add((224_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((562_000 as Weight).saturating_mul(p as Weight)) .saturating_add((450_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn disapprove_proposal(p: u32, ) -> Weight { fn disapprove_proposal(p: u32, ) -> Weight {
(34_916_000 as Weight) (26_767_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((557_000 as Weight).saturating_mul(p as Weight)) .saturating_add((438_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_democracy //! Autogenerated weights for pallet_democracy
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-08, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,163 +44,163 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn propose() -> Weight { fn propose() -> Weight {
(78_090_000 as Weight) (61_583_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn second(s: u32, ) -> Weight { fn second(s: u32, ) -> Weight {
(51_177_000 as Weight) (40_864_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((192_000 as Weight).saturating_mul(s as Weight)) .saturating_add((213_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn vote_new(r: u32, ) -> Weight { fn vote_new(r: u32, ) -> Weight {
(60_433_000 as Weight) (47_602_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((232_000 as Weight).saturating_mul(r as Weight)) .saturating_add((258_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn vote_existing(r: u32, ) -> Weight { fn vote_existing(r: u32, ) -> Weight {
(60_023_000 as Weight) (47_522_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((238_000 as Weight).saturating_mul(r as Weight)) .saturating_add((261_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn emergency_cancel() -> Weight { fn emergency_cancel() -> Weight {
(38_461_000 as Weight) (28_857_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn blacklist(p: u32, ) -> Weight { fn blacklist(p: u32, ) -> Weight {
(121_984_000 as Weight) (85_381_000 as Weight)
// Standard Error: 7_000 // Standard Error: 5_000
.saturating_add((836_000 as Weight).saturating_mul(p as Weight)) .saturating_add((736_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight))
} }
fn external_propose(v: u32, ) -> Weight { fn external_propose(v: u32, ) -> Weight {
(18_730_000 as Weight) (14_056_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((108_000 as Weight).saturating_mul(v as Weight)) .saturating_add((108_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn external_propose_majority() -> Weight { fn external_propose_majority() -> Weight {
(4_251_000 as Weight) (2_984_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn external_propose_default() -> Weight { fn external_propose_default() -> Weight {
(4_239_000 as Weight) (3_037_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn fast_track() -> Weight { fn fast_track() -> Weight {
(38_645_000 as Weight) (28_410_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn veto_external(v: u32, ) -> Weight { fn veto_external(v: u32, ) -> Weight {
(39_490_000 as Weight) (29_497_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((184_000 as Weight).saturating_mul(v as Weight)) .saturating_add((211_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn cancel_proposal(p: u32, ) -> Weight { fn cancel_proposal(p: u32, ) -> Weight {
(84_238_000 as Weight) (59_244_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((913_000 as Weight).saturating_mul(p as Weight)) .saturating_add((703_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn cancel_referendum() -> Weight { fn cancel_referendum() -> Weight {
(22_688_000 as Weight) (17_059_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn cancel_queued(r: u32, ) -> Weight { fn cancel_queued(r: u32, ) -> Weight {
(42_080_000 as Weight) (32_864_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((3_577_000 as Weight).saturating_mul(r as Weight)) .saturating_add((3_185_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn on_initialize_base(r: u32, ) -> Weight { fn on_initialize_base(r: u32, ) -> Weight {
(16_213_000 as Weight) (11_677_000 as Weight)
// Standard Error: 2_000 // Standard Error: 3_000
.saturating_add((7_057_000 as Weight).saturating_mul(r as Weight)) .saturating_add((5_494_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
} }
fn delegate(r: u32, ) -> Weight { fn delegate(r: u32, ) -> Weight {
(79_864_000 as Weight) (62_389_000 as Weight)
// Standard Error: 2_000 // Standard Error: 3_000
.saturating_add((10_135_000 as Weight).saturating_mul(r as Weight)) .saturating_add((7_825_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
} }
fn undelegate(r: u32, ) -> Weight { fn undelegate(r: u32, ) -> Weight {
(40_868_000 as Weight) (29_337_000 as Weight)
// Standard Error: 2_000 // Standard Error: 3_000
.saturating_add((10_138_000 as Weight).saturating_mul(r as Weight)) .saturating_add((7_829_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
} }
fn clear_public_proposals() -> Weight { fn clear_public_proposals() -> Weight {
(3_574_000 as Weight) (2_737_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn note_preimage(b: u32, ) -> Weight { fn note_preimage(b: u32, ) -> Weight {
(57_683_000 as Weight) (45_135_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add((4_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn note_imminent_preimage(b: u32, ) -> Weight { fn note_imminent_preimage(b: u32, ) -> Weight {
(39_299_000 as Weight) (29_032_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add((3_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn reap_preimage(b: u32, ) -> Weight { fn reap_preimage(b: u32, ) -> Weight {
(53_857_000 as Weight) (40_310_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add((3_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn unlock_remove(r: u32, ) -> Weight { fn unlock_remove(r: u32, ) -> Weight {
(51_271_000 as Weight) (41_609_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((38_000 as Weight).saturating_mul(r as Weight)) .saturating_add((44_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn unlock_set(r: u32, ) -> Weight { fn unlock_set(r: u32, ) -> Weight {
(46_362_000 as Weight) (37_884_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((228_000 as Weight).saturating_mul(r as Weight)) .saturating_add((253_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn remove_vote(r: u32, ) -> Weight { fn remove_vote(r: u32, ) -> Weight {
(27_825_000 as Weight) (21_046_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((223_000 as Weight).saturating_mul(r as Weight)) .saturating_add((243_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn remove_other_vote(r: u32, ) -> Weight { fn remove_other_vote(r: u32, ) -> Weight {
(27_987_000 as Weight) (21_195_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((223_000 as Weight).saturating_mul(r as Weight)) .saturating_add((243_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -44,47 +44,47 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> {
fn on_initialize_nothing() -> Weight { fn on_initialize_nothing() -> Weight {
(21_498_000 as Weight) (20_985_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
} }
fn on_initialize_open_signed() -> Weight { fn on_initialize_open_signed() -> Weight {
(73_385_000 as Weight) (70_912_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn on_initialize_open_unsigned_with_snapshot() -> Weight { fn on_initialize_open_unsigned_with_snapshot() -> Weight {
(72_735_000 as Weight) (70_069_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn on_initialize_open_unsigned_without_snapshot() -> Weight { fn on_initialize_open_unsigned_without_snapshot() -> Weight {
(19_735_000 as Weight) (18_773_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 22_000 // Standard Error: 22_000
.saturating_add((4_204_000 as Weight).saturating_mul(v as Weight)) .saturating_add((4_166_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 73_000 // Standard Error: 74_000
.saturating_add((273_000 as Weight).saturating_mul(t as Weight)) .saturating_add((116_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 22_000 // Standard Error: 22_000
.saturating_add((13_840_000 as Weight).saturating_mul(a as Weight)) .saturating_add((13_966_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 110_000 // Standard Error: 111_000
.saturating_add((4_795_000 as Weight).saturating_mul(d as Weight)) .saturating_add((4_713_000 as Weight).saturating_mul(d as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 12_000 // Standard Error: 12_000
.saturating_add((4_284_000 as Weight).saturating_mul(v as Weight)) .saturating_add((4_283_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 43_000 // Standard Error: 40_000
.saturating_add((680_000 as Weight).saturating_mul(t as Weight)) .saturating_add((763_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 12_000 // Standard Error: 12_000
.saturating_add((10_301_000 as Weight).saturating_mul(a as Weight)) .saturating_add((10_442_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 64_000 // Standard Error: 61_000
.saturating_add((4_349_000 as Weight).saturating_mul(d as Weight)) .saturating_add((4_521_000 as Weight).saturating_mul(d as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
} }
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_elections_phragmen //! Autogenerated weights for pallet_elections_phragmen
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-08, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,71 +44,80 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightInfo<T> {
fn vote_equal(v: u32, ) -> Weight { fn vote_equal(v: u32, ) -> Weight {
(54_923_000 as Weight) (45_012_000 as Weight)
.saturating_add((324_000 as Weight).saturating_mul(v as Weight)) // Standard Error: 6_000
.saturating_add((326_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn vote_more(v: u32, ) -> Weight { fn vote_more(v: u32, ) -> Weight {
(83_389_000 as Weight) (70_691_000 as Weight)
.saturating_add((341_000 as Weight).saturating_mul(v as Weight)) // Standard Error: 8_000
.saturating_add((317_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn vote_less(v: u32, ) -> Weight { fn vote_less(v: u32, ) -> Weight {
(78_865_000 as Weight) (70_750_000 as Weight)
.saturating_add((343_000 as Weight).saturating_mul(v as Weight)) // Standard Error: 8_000
.saturating_add((295_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn remove_voter() -> Weight { fn remove_voter() -> Weight {
(72_370_000 as Weight) (65_874_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn submit_candidacy(c: u32, ) -> Weight { fn submit_candidacy(c: u32, ) -> Weight {
(68_455_000 as Weight) (58_690_000 as Weight)
.saturating_add((370_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0
.saturating_add((433_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn renounce_candidacy_candidate(c: u32, ) -> Weight { fn renounce_candidacy_candidate(c: u32, ) -> Weight {
(54_009_000 as Weight) (47_878_000 as Weight)
.saturating_add((200_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0
.saturating_add((237_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn renounce_candidacy_members() -> Weight { fn renounce_candidacy_members() -> Weight {
(84_797_000 as Weight) (77_923_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn renounce_candidacy_runners_up() -> Weight { fn renounce_candidacy_runners_up() -> Weight {
(59_095_000 as Weight) (53_783_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn remove_member_with_replacement() -> Weight { fn remove_member_with_replacement() -> Weight {
(132_820_000 as Weight) (103_290_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight))
} }
fn remove_member_wrong_refund() -> Weight { fn remove_member_wrong_refund() -> Weight {
(8_551_000 as Weight) (7_268_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
} }
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
.saturating_add((151_754_000 as Weight).saturating_mul(v as Weight)) // Standard Error: 76_000
.saturating_add((119_662_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(v as Weight)))
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(v as Weight)))
} }
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
.saturating_add((134_602_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 2_724_000
.saturating_add((111_037_000 as Weight).saturating_mul(v as Weight)) .saturating_add((134_928_000 as Weight).saturating_mul(c as Weight))
.saturating_add((7_150_000 as Weight).saturating_mul(e as Weight)) // Standard Error: 1_133_000
.saturating_add((108_453_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 77_000
.saturating_add((7_125_000 as Weight).saturating_mul(e as Weight))
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_identity //! Autogenerated weights for pallet_identity
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-08, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,135 +44,135 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn add_registrar(r: u32, ) -> Weight { fn add_registrar(r: u32, ) -> Weight {
(28_261_000 as Weight) (22_048_000 as Weight)
// Standard Error: 3_000 // Standard Error: 2_000
.saturating_add((318_000 as Weight).saturating_mul(r as Weight)) .saturating_add((351_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_identity(r: u32, x: u32, ) -> Weight { fn set_identity(r: u32, x: u32, ) -> Weight {
(73_360_000 as Weight) (56_791_000 as Weight)
// Standard Error: 19_000 // Standard Error: 17_000
.saturating_add((234_000 as Weight).saturating_mul(r as Weight)) .saturating_add((301_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 2_000 // Standard Error: 2_000
.saturating_add((1_863_000 as Weight).saturating_mul(x as Weight)) .saturating_add((1_187_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_subs_new(s: u32, ) -> Weight { fn set_subs_new(s: u32, ) -> Weight {
(52_544_000 as Weight) (45_076_000 as Weight)
// Standard Error: 1_000 // Standard Error: 3_000
.saturating_add((9_959_000 as Weight).saturating_mul(s as Weight)) .saturating_add((6_973_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn set_subs_old(p: u32, ) -> Weight { fn set_subs_old(p: u32, ) -> Weight {
(48_351_000 as Weight) (44_673_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_391_000 as Weight).saturating_mul(p as Weight)) .saturating_add((2_396_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
} }
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
(62_001_000 as Weight) (54_943_000 as Weight)
// Standard Error: 8_000 // Standard Error: 15_000
.saturating_add((171_000 as Weight).saturating_mul(r as Weight)) .saturating_add((113_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0 // Standard Error: 1_000
.saturating_add((3_390_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_359_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 1_000
.saturating_add((1_089_000 as Weight).saturating_mul(x as Weight)) .saturating_add((791_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn request_judgement(r: u32, x: u32, ) -> Weight { fn request_judgement(r: u32, x: u32, ) -> Weight {
(74_257_000 as Weight) (59_053_000 as Weight)
// Standard Error: 8_000 // Standard Error: 10_000
.saturating_add((334_000 as Weight).saturating_mul(r as Weight)) .saturating_add((284_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_141_000 as Weight).saturating_mul(x as Weight)) .saturating_add((1_530_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn cancel_request(r: u32, x: u32, ) -> Weight { fn cancel_request(r: u32, x: u32, ) -> Weight {
(62_893_000 as Weight) (51_471_000 as Weight)
// Standard Error: 11_000 // Standard Error: 11_000
.saturating_add((231_000 as Weight).saturating_mul(r as Weight)) .saturating_add((310_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_117_000 as Weight).saturating_mul(x as Weight)) .saturating_add((1_515_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_fee(r: u32, ) -> Weight { fn set_fee(r: u32, ) -> Weight {
(10_890_000 as Weight) (8_618_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((268_000 as Weight).saturating_mul(r as Weight)) .saturating_add((315_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_account_id(r: u32, ) -> Weight { fn set_account_id(r: u32, ) -> Weight {
(12_410_000 as Weight) (9_544_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((268_000 as Weight).saturating_mul(r as Weight)) .saturating_add((316_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_fields(r: u32, ) -> Weight { fn set_fields(r: u32, ) -> Weight {
(10_855_000 as Weight) (8_520_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((269_000 as Weight).saturating_mul(r as Weight)) .saturating_add((317_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn provide_judgement(r: u32, x: u32, ) -> Weight { fn provide_judgement(r: u32, x: u32, ) -> Weight {
(49_519_000 as Weight) (37_702_000 as Weight)
// Standard Error: 9_000 // Standard Error: 10_000
.saturating_add((299_000 as Weight).saturating_mul(r as Weight)) .saturating_add((283_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_127_000 as Weight).saturating_mul(x as Weight)) .saturating_add((1_530_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
(103_419_000 as Weight) (73_663_000 as Weight)
// Standard Error: 5_000 // Standard Error: 14_000
.saturating_add((120_000 as Weight).saturating_mul(r as Weight)) .saturating_add((174_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0 // Standard Error: 1_000
.saturating_add((3_400_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_355_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 1_000
.saturating_add((3_000 as Weight).saturating_mul(x as Weight)) .saturating_add((4_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn add_sub(s: u32, ) -> Weight { fn add_sub(s: u32, ) -> Weight {
(72_490_000 as Weight) (58_520_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((191_000 as Weight).saturating_mul(s as Weight)) .saturating_add((218_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn rename_sub(s: u32, ) -> Weight { fn rename_sub(s: u32, ) -> Weight {
(23_454_000 as Weight) (18_391_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((25_000 as Weight).saturating_mul(s as Weight)) .saturating_add((28_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn remove_sub(s: u32, ) -> Weight { fn remove_sub(s: u32, ) -> Weight {
(69_012_000 as Weight) (59_654_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((164_000 as Weight).saturating_mul(s as Weight)) .saturating_add((195_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn quit_sub(s: u32, ) -> Weight { fn quit_sub(s: u32, ) -> Weight {
(45_725_000 as Weight) (36_557_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((158_000 as Weight).saturating_mul(s as Weight)) .saturating_add((183_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_im_online //! Autogenerated weights for pallet_im_online
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,11 +44,11 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
(111_740_000 as Weight) (96_900_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((217_000 as Weight).saturating_mul(k as Weight)) .saturating_add((209_000 as Weight).saturating_mul(k as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((510_000 as Weight).saturating_mul(e as Weight)) .saturating_add((426_000 as Weight).saturating_mul(e as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_indices //! Autogenerated weights for pallet_indices
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,27 +44,27 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
fn claim() -> Weight { fn claim() -> Weight {
(52_777_000 as Weight) (43_537_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn transfer() -> Weight { fn transfer() -> Weight {
(59_482_000 as Weight) (53_138_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn free() -> Weight { fn free() -> Weight {
(48_062_000 as Weight) (43_456_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_transfer() -> Weight { fn force_transfer() -> Weight {
(49_541_000 as Weight) (44_303_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn freeze() -> Weight { fn freeze() -> Weight {
(45_151_000 as Weight) (41_706_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_multisig //! Autogenerated weights for pallet_multisig
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,80 +44,80 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_threshold_1(z: u32, ) -> Weight { fn as_multi_threshold_1(z: u32, ) -> Weight {
(12_532_000 as Weight) (13_844_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add((1_000 as Weight).saturating_mul(z as Weight))
} }
fn as_multi_create(s: u32, z: u32, ) -> Weight { fn as_multi_create(s: u32, z: u32, ) -> Weight {
(70_460_000 as Weight) (55_452_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((86_000 as Weight).saturating_mul(s as Weight)) .saturating_add((121_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add((1_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn as_multi_create_store(s: u32, z: u32, ) -> Weight { fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
(79_056_000 as Weight) (61_233_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((90_000 as Weight).saturating_mul(s as Weight)) .saturating_add((132_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add((3_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn as_multi_approve(s: u32, z: u32, ) -> Weight { fn as_multi_approve(s: u32, z: u32, ) -> Weight {
(42_175_000 as Weight) (32_213_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((113_000 as Weight).saturating_mul(s as Weight)) .saturating_add((144_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add((1_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
(75_726_000 as Weight) (58_941_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((126_000 as Weight).saturating_mul(s as Weight)) .saturating_add((158_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add((3_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn as_multi_complete(s: u32, z: u32, ) -> Weight { fn as_multi_complete(s: u32, z: u32, ) -> Weight {
(87_543_000 as Weight) (76_173_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((247_000 as Weight).saturating_mul(s as Weight)) .saturating_add((280_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((5_000 as Weight).saturating_mul(z as Weight)) .saturating_add((5_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn approve_as_multi_create(s: u32, ) -> Weight { fn approve_as_multi_create(s: u32, ) -> Weight {
(69_831_000 as Weight) (54_804_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((89_000 as Weight).saturating_mul(s as Weight)) .saturating_add((128_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn approve_as_multi_approve(s: u32, ) -> Weight { fn approve_as_multi_approve(s: u32, ) -> Weight {
(41_395_000 as Weight) (31_803_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((111_000 as Weight).saturating_mul(s as Weight)) .saturating_add((145_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn approve_as_multi_complete(s: u32, ) -> Weight { fn approve_as_multi_complete(s: u32, ) -> Weight {
(162_511_000 as Weight) (150_305_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((249_000 as Weight).saturating_mul(s as Weight)) .saturating_add((286_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn cancel_as_multi(s: u32, ) -> Weight { fn cancel_as_multi(s: u32, ) -> Weight {
(112_698_000 as Weight) (102_884_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((90_000 as Weight).saturating_mul(s as Weight)) .saturating_add((132_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_proxy //! Autogenerated weights for pallet_proxy
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,79 +44,79 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn proxy(p: u32, ) -> Weight { fn proxy(p: u32, ) -> Weight {
(31_560_000 as Weight) (24_896_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((190_000 as Weight).saturating_mul(p as Weight)) .saturating_add((186_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
} }
fn proxy_announced(a: u32, p: u32, ) -> Weight { fn proxy_announced(a: u32, p: u32, ) -> Weight {
(65_555_000 as Weight) (56_357_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((843_000 as Weight).saturating_mul(a as Weight)) .saturating_add((651_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((194_000 as Weight).saturating_mul(p as Weight)) .saturating_add((182_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn remove_announcement(a: u32, p: u32, ) -> Weight { fn remove_announcement(a: u32, p: u32, ) -> Weight {
(41_808_000 as Weight) (39_562_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((842_000 as Weight).saturating_mul(a as Weight)) .saturating_add((635_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((10_000 as Weight).saturating_mul(p as Weight)) .saturating_add((3_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn reject_announcement(a: u32, p: u32, ) -> Weight { fn reject_announcement(a: u32, p: u32, ) -> Weight {
(41_713_000 as Weight) (39_295_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((847_000 as Weight).saturating_mul(a as Weight)) .saturating_add((640_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((12_000 as Weight).saturating_mul(p as Weight)) .saturating_add((7_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn announce(a: u32, p: u32, ) -> Weight { fn announce(a: u32, p: u32, ) -> Weight {
(66_579_000 as Weight) (53_689_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((730_000 as Weight).saturating_mul(a as Weight)) .saturating_add((648_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((199_000 as Weight).saturating_mul(p as Weight)) .saturating_add((181_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn add_proxy(p: u32, ) -> Weight { fn add_proxy(p: u32, ) -> Weight {
(44_930_000 as Weight) (37_989_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((206_000 as Weight).saturating_mul(p as Weight)) .saturating_add((250_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn remove_proxy(p: u32, ) -> Weight { fn remove_proxy(p: u32, ) -> Weight {
(40_436_000 as Weight) (37_653_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((241_000 as Weight).saturating_mul(p as Weight)) .saturating_add((277_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn remove_proxies(p: u32, ) -> Weight { fn remove_proxies(p: u32, ) -> Weight {
(38_695_000 as Weight) (36_657_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((191_000 as Weight).saturating_mul(p as Weight)) .saturating_add((189_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn anonymous(p: u32, ) -> Weight { fn anonymous(p: u32, ) -> Weight {
(64_695_000 as Weight) (51_947_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((13_000 as Weight).saturating_mul(p as Weight)) .saturating_add((30_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn kill_anonymous(p: u32, ) -> Weight { fn kill_anonymous(p: u32, ) -> Weight {
(41_503_000 as Weight) (38_680_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((192_000 as Weight).saturating_mul(p as Weight)) .saturating_add((189_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_scheduler //! Autogenerated weights for pallet_scheduler
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,30 +44,30 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn schedule(s: u32, ) -> Weight { fn schedule(s: u32, ) -> Weight {
(34_190_000 as Weight) (25_592_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((41_000 as Weight).saturating_mul(s as Weight)) .saturating_add((51_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn cancel(s: u32, ) -> Weight { fn cancel(s: u32, ) -> Weight {
(31_368_000 as Weight) (23_043_000 as Weight)
// Standard Error: 7_000 // Standard Error: 6_000
.saturating_add((3_230_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_966_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn schedule_named(s: u32, ) -> Weight { fn schedule_named(s: u32, ) -> Weight {
(44_444_000 as Weight) (32_527_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((55_000 as Weight).saturating_mul(s as Weight)) .saturating_add((65_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn cancel_named(s: u32, ) -> Weight { fn cancel_named(s: u32, ) -> Weight {
(35_660_000 as Weight) (26_773_000 as Weight)
// Standard Error: 7_000 // Standard Error: 6_000
.saturating_add((3_238_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_973_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_session //! Autogenerated weights for pallet_session
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,13 +44,13 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
fn set_keys() -> Weight { fn set_keys() -> Weight {
(95_877_000 as Weight) (76_665_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(8 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight))
} }
fn purge_keys() -> Weight { fn purge_keys() -> Weight {
(56_080_000 as Weight) (44_783_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight))
} }
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_staking //! Autogenerated weights for pallet_staking
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.1 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-01-21, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,155 +44,155 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn bond() -> Weight { fn bond() -> Weight {
(69_815_000 as Weight) (76_908_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn bond_extra() -> Weight { fn bond_extra() -> Weight {
(56_976_000 as Weight) (62_164_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn unbond() -> Weight { fn unbond() -> Weight {
(51_966_000 as Weight) (56_648_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn withdraw_unbonded_update(s: u32, ) -> Weight { fn withdraw_unbonded_update(s: u32, ) -> Weight {
(52_647_000 as Weight) (57_093_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((38_000 as Weight).saturating_mul(s as Weight)) .saturating_add((39_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn withdraw_unbonded_kill(s: u32, ) -> Weight { fn withdraw_unbonded_kill(s: u32, ) -> Weight {
(82_103_000 as Weight) (91_385_000 as Weight)
// Standard Error: 1_000 // Standard Error: 2_000
.saturating_add((2_381_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_653_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn validate() -> Weight { fn validate() -> Weight {
(17_356_000 as Weight) (19_310_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn kick(k: u32, ) -> Weight { fn kick(k: u32, ) -> Weight {
(13_472_000 as Weight) (16_186_000 as Weight)
// Standard Error: 11_000 // Standard Error: 7_000
.saturating_add((16_923_000 as Weight).saturating_mul(k as Weight)) .saturating_add((18_595_000 as Weight).saturating_mul(k as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight)))
} }
fn nominate(n: u32, ) -> Weight { fn nominate(n: u32, ) -> Weight {
(26_420_000 as Weight) (28_442_000 as Weight)
// Standard Error: 11_000 // Standard Error: 11_000
.saturating_add((5_275_000 as Weight).saturating_mul(n as Weight)) .saturating_add((5_696_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn chill() -> Weight { fn chill() -> Weight {
(16_726_000 as Weight) (18_484_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn set_payee() -> Weight { fn set_payee() -> Weight {
(11_499_000 as Weight) (12_669_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_controller() -> Weight { fn set_controller() -> Weight {
(24_784_000 as Weight) (27_387_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn set_validator_count() -> Weight { fn set_validator_count() -> Weight {
(2_084_000 as Weight) (2_185_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_no_eras() -> Weight { fn force_no_eras() -> Weight {
(2_268_000 as Weight) (2_462_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_new_era() -> Weight { fn force_new_era() -> Weight {
(2_294_000 as Weight) (2_457_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_new_era_always() -> Weight { fn force_new_era_always() -> Weight {
(2_335_000 as Weight) (2_479_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_invulnerables(v: u32, ) -> Weight { fn set_invulnerables(v: u32, ) -> Weight {
(2_304_000 as Weight) (2_587_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((9_000 as Weight).saturating_mul(v as Weight)) .saturating_add((35_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_unstake(s: u32, ) -> Weight { fn force_unstake(s: u32, ) -> Weight {
(55_142_000 as Weight) (60_870_000 as Weight)
// Standard Error: 1_000 // Standard Error: 2_000
.saturating_add((2_370_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_685_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn cancel_deferred_slash(s: u32, ) -> Weight { fn cancel_deferred_slash(s: u32, ) -> Weight {
(5_897_208_000 as Weight) (5_926_565_000 as Weight)
// Standard Error: 390_000 // Standard Error: 389_000
.saturating_add((34_801_000 as Weight).saturating_mul(s as Weight)) .saturating_add((34_615_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn payout_stakers_dead_controller(n: u32, ) -> Weight { fn payout_stakers_dead_controller(n: u32, ) -> Weight {
(115_405_000 as Weight) (117_761_000 as Weight)
// Standard Error: 18_000 // Standard Error: 12_000
.saturating_add((46_371_000 as Weight).saturating_mul(n as Weight)) .saturating_add((50_840_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight)))
} }
fn payout_stakers_alive_staked(n: u32, ) -> Weight { fn payout_stakers_alive_staked(n: u32, ) -> Weight {
(135_286_000 as Weight) (150_617_000 as Weight)
// Standard Error: 21_000 // Standard Error: 20_000
.saturating_add((59_803_000 as Weight).saturating_mul(n as Weight)) .saturating_add((65_847_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight))
.saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight)))
} }
fn rebond(l: u32, ) -> Weight { fn rebond(l: u32, ) -> Weight {
(36_194_000 as Weight) (39_745_000 as Weight)
// Standard Error: 1_000 // Standard Error: 2_000
.saturating_add((77_000 as Weight).saturating_mul(l as Weight)) .saturating_add((78_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn set_history_depth(e: u32, ) -> Weight { fn set_history_depth(e: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 69_000 // Standard Error: 64_000
.saturating_add((30_939_000 as Weight).saturating_mul(e as Weight)) .saturating_add((31_128_000 as Weight).saturating_mul(e as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight))) .saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight)))
} }
fn reap_stash(s: u32, ) -> Weight { fn reap_stash(s: u32, ) -> Weight {
(59_473_000 as Weight) (64_170_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_350_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_686_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn new_era(v: u32, n: u32, ) -> Weight { fn new_era(v: u32, n: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 782_000 // Standard Error: 1_070_000
.saturating_add((538_383_000 as Weight).saturating_mul(v as Weight)) .saturating_add((590_545_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 39_000 // Standard Error: 53_000
.saturating_add((76_207_000 as Weight).saturating_mul(n as Weight)) .saturating_add((82_290_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight)))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight)))
@@ -201,14 +201,14 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
} }
fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight { fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 48_000 // Standard Error: 53_000
.saturating_add((729_000 as Weight).saturating_mul(v as Weight)) .saturating_add((972_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 19_000 // Standard Error: 21_000
.saturating_add((341_000 as Weight).saturating_mul(n as Weight)) .saturating_add((547_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 48_000 // Standard Error: 53_000
.saturating_add((68_493_000 as Weight).saturating_mul(a as Weight)) .saturating_add((75_353_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 100_000 // Standard Error: 111_000
.saturating_add((6_236_000 as Weight).saturating_mul(w as Weight)) .saturating_add((7_477_000 as Weight).saturating_mul(w as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight)))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight)))
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_timestamp //! Autogenerated weights for pallet_timestamp
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,11 +44,11 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
fn set() -> Weight { fn set() -> Weight {
(11_397_000 as Weight) (11_153_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn on_finalize() -> Weight { fn on_finalize() -> Weight {
(6_096_000 as Weight) (4_991_000 as Weight)
} }
} }
@@ -1,30 +1,28 @@
// This file is part of Substrate. // Copyright 2017-2020 Parity Technologies (UK) Ltd.
// This file is part of Polkadot.
// Copyright (C) 2020 Parity Technologies (UK) Ltd. // Polkadot is free software: you can redistribute it and/or modify
// SPDX-License-Identifier: Apache-2.0 // 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"); // Polkadot is distributed in the hope that it will be useful,
// you may not use this file except in compliance with the License. // but WITHOUT ANY WARRANTY; without even the implied warranty of
// You may obtain a copy of the License at // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// // GNU General Public License for more details.
// 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.
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_tips //! Autogenerated weights for pallet_tips
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-20, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
// target/release/substrate // target/release/polkadot
// benchmark // benchmark
// --chain=dev // --chain=polkadot-dev
// --steps=50 // --steps=50
// --repeat=20 // --repeat=20
// --pallet=pallet_tips // --pallet=pallet_tips
@@ -32,8 +30,8 @@
// --execution=wasm // --execution=wasm
// --wasm-execution=compiled // --wasm-execution=compiled
// --heap-pages=4096 // --heap-pages=4096
// --output=./frame/tips/src/weights.rs // --header=./file_header.txt
// --template=./.maintain/frame-weight-template.hbs // --output=./runtime/polkadot/src/weights/
#![allow(unused_parens)] #![allow(unused_parens)]
@@ -42,46 +40,46 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weights for pallet_tips using the Substrate node and recommended hardware. /// Weight functions for pallet_tips.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn report_awesome(r: u32, ) -> Weight { fn report_awesome(r: u32, ) -> Weight {
(73_795_000 as Weight) (52_391_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((2_000 as Weight).saturating_mul(r as Weight)) .saturating_add((2_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn retract_tip() -> Weight { fn retract_tip() -> Weight {
(61_753_000 as Weight) (48_668_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn tip_new(r: u32, t: u32, ) -> Weight { fn tip_new(r: u32, t: u32, ) -> Weight {
(47_731_000 as Weight) (31_342_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((2_000 as Weight).saturating_mul(r as Weight)) .saturating_add((2_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((154_000 as Weight).saturating_mul(t as Weight)) .saturating_add((174_000 as Weight).saturating_mul(t as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn tip(t: u32, ) -> Weight { fn tip(t: u32, ) -> Weight {
(35_215_000 as Weight) (20_483_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((712_000 as Weight).saturating_mul(t as Weight)) .saturating_add((821_000 as Weight).saturating_mul(t as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn close_tip(t: u32, ) -> Weight { fn close_tip(t: u32, ) -> Weight {
(117_027_000 as Weight) (88_999_000 as Weight)
// Standard Error: 1_000 // Standard Error: 0
.saturating_add((375_000 as Weight).saturating_mul(t as Weight)) .saturating_add((401_000 as Weight).saturating_mul(t as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn slash_tip(t: u32, ) -> Weight { fn slash_tip(t: u32, ) -> Weight {
(37_184_000 as Weight) (25_839_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((11_000 as Weight).saturating_mul(t as Weight)) .saturating_add((11_000 as Weight).saturating_mul(t as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_treasury //! Autogenerated weights for pallet_treasury
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,23 +44,24 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
fn propose_spend() -> Weight { fn propose_spend() -> Weight {
(55_957_000 as Weight) (43_300_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn reject_proposal() -> Weight { fn reject_proposal() -> Weight {
(45_616_000 as Weight) (58_952_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn approve_proposal() -> Weight { fn approve_proposal() -> Weight {
(13_362_000 as Weight) (8_937_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn on_initialize_proposals(p: u32, ) -> Weight { fn on_initialize_proposals(p: u32, ) -> Weight {
(74_689_000 as Weight) (50_986_000 as Weight)
.saturating_add((71_943_000 as Weight).saturating_mul(p as Weight)) // Standard Error: 17_000
.saturating_add((64_739_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_utility //! Autogenerated weights for pallet_utility
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,16 +44,16 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch(c: u32, ) -> Weight { fn batch(c: u32, ) -> Weight {
(19_701_000 as Weight) (14_805_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((2_118_000 as Weight).saturating_mul(c as Weight)) .saturating_add((2_012_000 as Weight).saturating_mul(c as Weight))
} }
fn as_derivative() -> Weight { fn as_derivative() -> Weight {
(5_534_000 as Weight) (3_945_000 as Weight)
} }
fn batch_all(c: u32, ) -> Weight { fn batch_all(c: u32, ) -> Weight {
(20_354_000 as Weight) (14_754_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((2_124_000 as Weight).saturating_mul(c as Weight)) .saturating_add((2_030_000 as Weight).saturating_mul(c as Weight))
} }
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_vesting //! Autogenerated weights for pallet_vesting
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,44 +44,44 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_locked(l: u32, ) -> Weight { fn vest_locked(l: u32, ) -> Weight {
(55_961_000 as Weight) (45_678_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((138_000 as Weight).saturating_mul(l as Weight)) .saturating_add((164_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn vest_unlocked(l: u32, ) -> Weight { fn vest_unlocked(l: u32, ) -> Weight {
(60_522_000 as Weight) (48_699_000 as Weight)
// Standard Error: 2_000 // Standard Error: 1_000
.saturating_add((107_000 as Weight).saturating_mul(l as Weight)) .saturating_add((143_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn vest_other_locked(l: u32, ) -> Weight { fn vest_other_locked(l: u32, ) -> Weight {
(55_712_000 as Weight) (45_578_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((135_000 as Weight).saturating_mul(l as Weight)) .saturating_add((163_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn vest_other_unlocked(l: u32, ) -> Weight { fn vest_other_unlocked(l: u32, ) -> Weight {
(59_981_000 as Weight) (48_396_000 as Weight)
// Standard Error: 2_000 // Standard Error: 1_000
.saturating_add((113_000 as Weight).saturating_mul(l as Weight)) .saturating_add((146_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn vested_transfer(l: u32, ) -> Weight { fn vested_transfer(l: u32, ) -> Weight {
(122_684_000 as Weight) (103_034_000 as Weight)
// Standard Error: 8_000 // Standard Error: 1_000
.saturating_add((171_000 as Weight).saturating_mul(l as Weight)) .saturating_add((160_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn force_vested_transfer(l: u32, ) -> Weight { fn force_vested_transfer(l: u32, ) -> Weight {
(121_973_000 as Weight) (102_051_000 as Weight)
// Standard Error: 8_000 // Standard Error: 1_000
.saturating_add((165_000 as Weight).saturating_mul(l as Weight)) .saturating_add((164_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "rococo-runtime" name = "rococo-runtime"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "polkadot-test-runtime" name = "polkadot-test-runtime"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "westend-runtime" name = "westend-runtime"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_balances //! Autogenerated weights for pallet_balances
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,27 +44,27 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
fn transfer() -> Weight { fn transfer() -> Weight {
(95_429_000 as Weight) (75_933_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn transfer_keep_alive() -> Weight { fn transfer_keep_alive() -> Weight {
(66_088_000 as Weight) (56_442_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_balance_creating() -> Weight { fn set_balance_creating() -> Weight {
(35_936_000 as Weight) (30_021_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_balance_killing() -> Weight { fn set_balance_killing() -> Weight {
(45_397_000 as Weight) (35_816_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_transfer() -> Weight { fn force_transfer() -> Weight {
(93_993_000 as Weight) (75_272_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -16,7 +16,7 @@
//! Autogenerated weights for pallet_election_provider_multi_phase //! Autogenerated weights for pallet_election_provider_multi_phase
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-02-23, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-24, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,47 +44,47 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> {
fn on_initialize_nothing() -> Weight { fn on_initialize_nothing() -> Weight {
(21_410_000 as Weight) (21_432_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
} }
fn on_initialize_open_signed() -> Weight { fn on_initialize_open_signed() -> Weight {
(72_881_000 as Weight) (73_058_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn on_initialize_open_unsigned_with_snapshot() -> Weight { fn on_initialize_open_unsigned_with_snapshot() -> Weight {
(71_493_000 as Weight) (71_655_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn on_initialize_open_unsigned_without_snapshot() -> Weight { fn on_initialize_open_unsigned_without_snapshot() -> Weight {
(18_249_000 as Weight) (18_283_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 22_000 // Standard Error: 22_000
.saturating_add((4_209_000 as Weight).saturating_mul(v as Weight)) .saturating_add((4_140_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 75_000 // Standard Error: 73_000
.saturating_add((275_000 as Weight).saturating_mul(t as Weight)) .saturating_add((170_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 22_000 // Standard Error: 22_000
.saturating_add((14_019_000 as Weight).saturating_mul(a as Weight)) .saturating_add((13_976_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 113_000 // Standard Error: 110_000
.saturating_add((4_613_000 as Weight).saturating_mul(d as Weight)) .saturating_add((4_485_000 as Weight).saturating_mul(d as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 12_000 // Standard Error: 13_000
.saturating_add((4_292_000 as Weight).saturating_mul(v as Weight)) .saturating_add((4_287_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 41_000 // Standard Error: 44_000
.saturating_add((707_000 as Weight).saturating_mul(t as Weight)) .saturating_add((855_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 12_000 // Standard Error: 13_000
.saturating_add((10_456_000 as Weight).saturating_mul(a as Weight)) .saturating_add((10_423_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 62_000 // Standard Error: 67_000
.saturating_add((4_432_000 as Weight).saturating_mul(d as Weight)) .saturating_add((4_467_000 as Weight).saturating_mul(d as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
} }
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_identity //! Autogenerated weights for pallet_identity
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,135 +44,135 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn add_registrar(r: u32, ) -> Weight { fn add_registrar(r: u32, ) -> Weight {
(27_481_000 as Weight) (21_694_000 as Weight)
// Standard Error: 2_000 // Standard Error: 3_000
.saturating_add((300_000 as Weight).saturating_mul(r as Weight)) .saturating_add((370_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_identity(r: u32, x: u32, ) -> Weight { fn set_identity(r: u32, x: u32, ) -> Weight {
(71_220_000 as Weight) (55_674_000 as Weight)
// Standard Error: 19_000 // Standard Error: 16_000
.saturating_add((269_000 as Weight).saturating_mul(r as Weight)) .saturating_add((266_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 2_000 // Standard Error: 2_000
.saturating_add((1_814_000 as Weight).saturating_mul(x as Weight)) .saturating_add((1_156_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_subs_new(s: u32, ) -> Weight { fn set_subs_new(s: u32, ) -> Weight {
(52_505_000 as Weight) (42_274_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((9_913_000 as Weight).saturating_mul(s as Weight)) .saturating_add((6_944_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn set_subs_old(p: u32, ) -> Weight { fn set_subs_old(p: u32, ) -> Weight {
(47_853_000 as Weight) (42_689_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_432_000 as Weight).saturating_mul(p as Weight)) .saturating_add((2_326_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
} }
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
(62_074_000 as Weight) (53_275_000 as Weight)
// Standard Error: 8_000 // Standard Error: 7_000
.saturating_add((169_000 as Weight).saturating_mul(r as Weight)) .saturating_add((139_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_436_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_312_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_058_000 as Weight).saturating_mul(x as Weight)) .saturating_add((768_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn request_judgement(r: u32, x: u32, ) -> Weight { fn request_judgement(r: u32, x: u32, ) -> Weight {
(72_697_000 as Weight) (56_803_000 as Weight)
// Standard Error: 8_000 // Standard Error: 8_000
.saturating_add((316_000 as Weight).saturating_mul(r as Weight)) .saturating_add((328_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_064_000 as Weight).saturating_mul(x as Weight)) .saturating_add((1_498_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn cancel_request(r: u32, x: u32, ) -> Weight { fn cancel_request(r: u32, x: u32, ) -> Weight {
(62_349_000 as Weight) (51_948_000 as Weight)
// Standard Error: 11_000 // Standard Error: 10_000
.saturating_add((203_000 as Weight).saturating_mul(r as Weight)) .saturating_add((214_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_048_000 as Weight).saturating_mul(x as Weight)) .saturating_add((1_479_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_fee(r: u32, ) -> Weight { fn set_fee(r: u32, ) -> Weight {
(10_602_000 as Weight) (8_419_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((265_000 as Weight).saturating_mul(r as Weight)) .saturating_add((322_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_account_id(r: u32, ) -> Weight { fn set_account_id(r: u32, ) -> Weight {
(12_087_000 as Weight) (9_622_000 as Weight)
// Standard Error: 2_000 // Standard Error: 1_000
.saturating_add((264_000 as Weight).saturating_mul(r as Weight)) .saturating_add((321_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_fields(r: u32, ) -> Weight { fn set_fields(r: u32, ) -> Weight {
(10_578_000 as Weight) (8_458_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((268_000 as Weight).saturating_mul(r as Weight)) .saturating_add((326_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn provide_judgement(r: u32, x: u32, ) -> Weight { fn provide_judgement(r: u32, x: u32, ) -> Weight {
(48_552_000 as Weight) (37_345_000 as Weight)
// Standard Error: 8_000 // Standard Error: 8_000
.saturating_add((279_000 as Weight).saturating_mul(r as Weight)) .saturating_add((281_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_067_000 as Weight).saturating_mul(x as Weight)) .saturating_add((1_489_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
(60_031_000 as Weight) (54_198_000 as Weight)
// Standard Error: 4_000 // Standard Error: 5_000
.saturating_add((140_000 as Weight).saturating_mul(r as Weight)) .saturating_add((86_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_423_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_312_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(x as Weight)) .saturating_add((6_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn add_sub(s: u32, ) -> Weight { fn add_sub(s: u32, ) -> Weight {
(71_751_000 as Weight) (56_644_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((185_000 as Weight).saturating_mul(s as Weight)) .saturating_add((216_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn rename_sub(s: u32, ) -> Weight { fn rename_sub(s: u32, ) -> Weight {
(23_607_000 as Weight) (18_262_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((23_000 as Weight).saturating_mul(s as Weight)) .saturating_add((24_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn remove_sub(s: u32, ) -> Weight { fn remove_sub(s: u32, ) -> Weight {
(68_696_000 as Weight) (58_546_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((160_000 as Weight).saturating_mul(s as Weight)) .saturating_add((188_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn quit_sub(s: u32, ) -> Weight { fn quit_sub(s: u32, ) -> Weight {
(45_448_000 as Weight) (35_466_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((155_000 as Weight).saturating_mul(s as Weight)) .saturating_add((186_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_im_online //! Autogenerated weights for pallet_im_online
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,11 +44,11 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
(112_311_000 as Weight) (97_839_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((216_000 as Weight).saturating_mul(k as Weight)) .saturating_add((209_000 as Weight).saturating_mul(k as Weight))
// Standard Error: 1_000 // Standard Error: 0
.saturating_add((497_000 as Weight).saturating_mul(e as Weight)) .saturating_add((422_000 as Weight).saturating_mul(e as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_indices //! Autogenerated weights for pallet_indices
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,27 +44,27 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
fn claim() -> Weight { fn claim() -> Weight {
(52_389_000 as Weight) (43_379_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn transfer() -> Weight { fn transfer() -> Weight {
(58_943_000 as Weight) (52_145_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn free() -> Weight { fn free() -> Weight {
(47_207_000 as Weight) (42_136_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_transfer() -> Weight { fn force_transfer() -> Weight {
(48_696_000 as Weight) (43_506_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn freeze() -> Weight { fn freeze() -> Weight {
(44_096_000 as Weight) (40_728_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_multisig //! Autogenerated weights for pallet_multisig
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,80 +44,80 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_threshold_1(z: u32, ) -> Weight { fn as_multi_threshold_1(z: u32, ) -> Weight {
(12_182_000 as Weight) (13_586_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add((1_000 as Weight).saturating_mul(z as Weight))
} }
fn as_multi_create(s: u32, z: u32, ) -> Weight { fn as_multi_create(s: u32, z: u32, ) -> Weight {
(68_501_000 as Weight) (53_651_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((85_000 as Weight).saturating_mul(s as Weight)) .saturating_add((119_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add((1_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn as_multi_create_store(s: u32, z: u32, ) -> Weight { fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
(76_757_000 as Weight) (60_007_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((90_000 as Weight).saturating_mul(s as Weight)) .saturating_add((123_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add((3_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn as_multi_approve(s: u32, z: u32, ) -> Weight { fn as_multi_approve(s: u32, z: u32, ) -> Weight {
(40_987_000 as Weight) (31_325_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((110_000 as Weight).saturating_mul(s as Weight)) .saturating_add((139_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add((1_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
(73_764_000 as Weight) (57_283_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((120_000 as Weight).saturating_mul(s as Weight)) .saturating_add((154_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add((3_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn as_multi_complete(s: u32, z: u32, ) -> Weight { fn as_multi_complete(s: u32, z: u32, ) -> Weight {
(85_252_000 as Weight) (74_192_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((241_000 as Weight).saturating_mul(s as Weight)) .saturating_add((267_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0 // Standard Error: 0
.saturating_add((5_000 as Weight).saturating_mul(z as Weight)) .saturating_add((5_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn approve_as_multi_create(s: u32, ) -> Weight { fn approve_as_multi_create(s: u32, ) -> Weight {
(67_717_000 as Weight) (53_042_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((88_000 as Weight).saturating_mul(s as Weight)) .saturating_add((123_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn approve_as_multi_approve(s: u32, ) -> Weight { fn approve_as_multi_approve(s: u32, ) -> Weight {
(40_372_000 as Weight) (30_731_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((111_000 as Weight).saturating_mul(s as Weight)) .saturating_add((139_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn approve_as_multi_complete(s: u32, ) -> Weight { fn approve_as_multi_complete(s: u32, ) -> Weight {
(157_866_000 as Weight) (147_692_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((243_000 as Weight).saturating_mul(s as Weight)) .saturating_add((277_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn cancel_as_multi(s: u32, ) -> Weight { fn cancel_as_multi(s: u32, ) -> Weight {
(109_344_000 as Weight) (100_323_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((90_000 as Weight).saturating_mul(s as Weight)) .saturating_add((129_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_proxy //! Autogenerated weights for pallet_proxy
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,77 +44,79 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn proxy(p: u32, ) -> Weight { fn proxy(p: u32, ) -> Weight {
(31_451_000 as Weight) (24_208_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((190_000 as Weight).saturating_mul(p as Weight)) .saturating_add((193_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
} }
fn proxy_announced(a: u32, p: u32, ) -> Weight { fn proxy_announced(a: u32, p: u32, ) -> Weight {
(65_914_000 as Weight) (55_590_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((822_000 as Weight).saturating_mul(a as Weight)) .saturating_add((660_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((183_000 as Weight).saturating_mul(p as Weight)) .saturating_add((189_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn remove_announcement(a: u32, p: u32, ) -> Weight { fn remove_announcement(a: u32, p: u32, ) -> Weight {
(41_597_000 as Weight) (38_120_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((821_000 as Weight).saturating_mul(a as Weight)) .saturating_add((660_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((11_000 as Weight).saturating_mul(p as Weight)) .saturating_add((14_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn reject_announcement(a: u32, _p: u32, ) -> Weight { fn reject_announcement(a: u32, p: u32, ) -> Weight {
(46_884_000 as Weight) (38_176_000 as Weight)
// Standard Error: 12_000 // Standard Error: 1_000
.saturating_add((886_000 as Weight).saturating_mul(a as Weight)) .saturating_add((655_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000
.saturating_add((17_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn announce(a: u32, p: u32, ) -> Weight { fn announce(a: u32, p: u32, ) -> Weight {
(66_635_000 as Weight) (52_112_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((716_000 as Weight).saturating_mul(a as Weight)) .saturating_add((665_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((188_000 as Weight).saturating_mul(p as Weight)) .saturating_add((196_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn add_proxy(p: u32, ) -> Weight { fn add_proxy(p: u32, ) -> Weight {
(44_921_000 as Weight) (36_934_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((193_000 as Weight).saturating_mul(p as Weight)) .saturating_add((249_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn remove_proxy(p: u32, ) -> Weight { fn remove_proxy(p: u32, ) -> Weight {
(40_276_000 as Weight) (36_575_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((230_000 as Weight).saturating_mul(p as Weight)) .saturating_add((286_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn remove_proxies(p: u32, ) -> Weight { fn remove_proxies(p: u32, ) -> Weight {
(38_385_000 as Weight) (35_363_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((187_000 as Weight).saturating_mul(p as Weight)) .saturating_add((196_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn anonymous(p: u32, ) -> Weight { fn anonymous(p: u32, ) -> Weight {
(63_987_000 as Weight) (50_383_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((29_000 as Weight).saturating_mul(p as Weight)) .saturating_add((37_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn kill_anonymous(p: u32, ) -> Weight { fn kill_anonymous(p: u32, ) -> Weight {
(41_015_000 as Weight) (37_785_000 as Weight)
// Standard Error: 2_000 // Standard Error: 2_000
.saturating_add((189_000 as Weight).saturating_mul(p as Weight)) .saturating_add((193_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_scheduler //! Autogenerated weights for pallet_scheduler
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-23, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,30 +44,30 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn schedule(s: u32, ) -> Weight { fn schedule(s: u32, ) -> Weight {
(33_809_000 as Weight) (25_611_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((43_000 as Weight).saturating_mul(s as Weight)) .saturating_add((51_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn cancel(s: u32, ) -> Weight { fn cancel(s: u32, ) -> Weight {
(30_493_000 as Weight) (23_076_000 as Weight)
// Standard Error: 6_000 // Standard Error: 6_000
.saturating_add((3_041_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_936_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn schedule_named(s: u32, ) -> Weight { fn schedule_named(s: u32, ) -> Weight {
(43_391_000 as Weight) (32_213_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((62_000 as Weight).saturating_mul(s as Weight)) .saturating_add((72_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn cancel_named(s: u32, ) -> Weight { fn cancel_named(s: u32, ) -> Weight {
(34_735_000 as Weight) (26_768_000 as Weight)
// Standard Error: 6_000 // Standard Error: 6_000
.saturating_add((3_058_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_949_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_session //! Autogenerated weights for pallet_session
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-23, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,13 +44,13 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
fn set_keys() -> Weight { fn set_keys() -> Weight {
(91_654_000 as Weight) (77_281_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(8 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight))
} }
fn purge_keys() -> Weight { fn purge_keys() -> Weight {
(54_360_000 as Weight) (45_572_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight))
} }
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_staking //! Autogenerated weights for pallet_staking
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.1 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-01-21, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-23, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,128 +44,128 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn bond() -> Weight { fn bond() -> Weight {
(72_530_000 as Weight) (76_655_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
fn bond_extra() -> Weight { fn bond_extra() -> Weight {
(59_156_000 as Weight) (62_697_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn unbond() -> Weight { fn unbond() -> Weight {
(54_509_000 as Weight) (57_677_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn withdraw_unbonded_update(s: u32, ) -> Weight { fn withdraw_unbonded_update(s: u32, ) -> Weight {
(54_893_000 as Weight) (58_550_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((37_000 as Weight).saturating_mul(s as Weight)) .saturating_add((33_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn withdraw_unbonded_kill(s: u32, ) -> Weight { fn withdraw_unbonded_kill(s: u32, ) -> Weight {
(85_828_000 as Weight) (90_608_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((2_371_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_620_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn validate() -> Weight { fn validate() -> Weight {
(18_537_000 as Weight) (19_249_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn kick(k: u32, ) -> Weight { fn kick(k: u32, ) -> Weight {
(14_584_000 as Weight) (16_162_000 as Weight)
// Standard Error: 11_000 // Standard Error: 7_000
.saturating_add((17_657_000 as Weight).saturating_mul(k as Weight)) .saturating_add((18_595_000 as Weight).saturating_mul(k as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight)))
} }
fn nominate(n: u32, ) -> Weight { fn nominate(n: u32, ) -> Weight {
(28_311_000 as Weight) (29_674_000 as Weight)
// Standard Error: 10_000 // Standard Error: 12_000
.saturating_add((5_711_000 as Weight).saturating_mul(n as Weight)) .saturating_add((5_946_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn chill() -> Weight { fn chill() -> Weight {
(17_703_000 as Weight) (18_554_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn set_payee() -> Weight { fn set_payee() -> Weight {
(12_342_000 as Weight) (12_732_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_controller() -> Weight { fn set_controller() -> Weight {
(26_699_000 as Weight) (28_004_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn set_validator_count() -> Weight { fn set_validator_count() -> Weight {
(2_140_000 as Weight) (2_289_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_no_eras() -> Weight { fn force_no_eras() -> Weight {
(2_342_000 as Weight) (2_485_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_new_era() -> Weight { fn force_new_era() -> Weight {
(2_360_000 as Weight) (2_531_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_new_era_always() -> Weight { fn force_new_era_always() -> Weight {
(2_340_000 as Weight) (2_570_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn set_invulnerables(v: u32, ) -> Weight { fn set_invulnerables(v: u32, ) -> Weight {
(2_315_000 as Weight) (2_608_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((9_000 as Weight).saturating_mul(v as Weight)) .saturating_add((35_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn force_unstake(s: u32, ) -> Weight { fn force_unstake(s: u32, ) -> Weight {
(55_937_000 as Weight) (61_375_000 as Weight)
// Standard Error: 4_000 // Standard Error: 1_000
.saturating_add((2_452_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_596_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn cancel_deferred_slash(s: u32, ) -> Weight { fn cancel_deferred_slash(s: u32, ) -> Weight {
(5_877_223_000 as Weight) (5_908_427_000 as Weight)
// Standard Error: 392_000 // Standard Error: 389_000
.saturating_add((34_808_000 as Weight).saturating_mul(s as Weight)) .saturating_add((34_633_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn payout_stakers_dead_controller(n: u32, ) -> Weight { fn payout_stakers_dead_controller(n: u32, ) -> Weight {
(104_366_000 as Weight) (113_072_000 as Weight)
// Standard Error: 27_000 // Standard Error: 18_000
.saturating_add((48_004_000 as Weight).saturating_mul(n as Weight)) .saturating_add((49_690_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight)))
} }
fn payout_stakers_alive_staked(n: u32, ) -> Weight { fn payout_stakers_alive_staked(n: u32, ) -> Weight {
(132_581_000 as Weight) (139_374_000 as Weight)
// Standard Error: 26_000 // Standard Error: 20_000
.saturating_add((61_204_000 as Weight).saturating_mul(n as Weight)) .saturating_add((64_080_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight))
.saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight)))
} }
fn rebond(l: u32, ) -> Weight { fn rebond(l: u32, ) -> Weight {
(37_915_000 as Weight) (40_440_000 as Weight)
// Standard Error: 1_000 // Standard Error: 1_000
.saturating_add((82_000 as Weight).saturating_mul(l as Weight)) .saturating_add((82_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
@@ -173,26 +173,26 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
} }
fn set_history_depth(e: u32, ) -> Weight { fn set_history_depth(e: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 63_000 // Standard Error: 62_000
.saturating_add((31_581_000 as Weight).saturating_mul(e as Weight)) .saturating_add((32_193_000 as Weight).saturating_mul(e as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight))) .saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight)))
} }
fn reap_stash(s: u32, ) -> Weight { fn reap_stash(s: u32, ) -> Weight {
(61_069_000 as Weight) (65_018_000 as Weight)
// Standard Error: 0 // Standard Error: 1_000
.saturating_add((2_362_000 as Weight).saturating_mul(s as Weight)) .saturating_add((2_582_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
} }
fn new_era(v: u32, n: u32, ) -> Weight { fn new_era(v: u32, n: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 831_000 // Standard Error: 817_000
.saturating_add((546_434_000 as Weight).saturating_mul(v as Weight)) .saturating_add((579_390_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 41_000 // Standard Error: 41_000
.saturating_add((78_188_000 as Weight).saturating_mul(n as Weight)) .saturating_add((82_050_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight)))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight)))
@@ -201,14 +201,14 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
} }
fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight { fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight {
(0 as Weight) (0 as Weight)
// Standard Error: 45_000 // Standard Error: 51_000
.saturating_add((878_000 as Weight).saturating_mul(v as Weight)) .saturating_add((635_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 18_000 // Standard Error: 20_000
.saturating_add((518_000 as Weight).saturating_mul(n as Weight)) .saturating_add((334_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 45_000 // Standard Error: 51_000
.saturating_add((70_854_000 as Weight).saturating_mul(a as Weight)) .saturating_add((75_418_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 95_000 // Standard Error: 106_000
.saturating_add((6_931_000 as Weight).saturating_mul(w as Weight)) .saturating_add((6_813_000 as Weight).saturating_mul(w as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight)))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight)))
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_timestamp //! Autogenerated weights for pallet_timestamp
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-23, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,11 +44,11 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
fn set() -> Weight { fn set() -> Weight {
(11_097_000 as Weight) (10_524_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn on_finalize() -> Weight { fn on_finalize() -> Weight {
(6_159_000 as Weight) (4_453_000 as Weight)
} }
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_utility //! Autogenerated weights for pallet_utility
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-23, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,16 +44,16 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch(c: u32, ) -> Weight { fn batch(c: u32, ) -> Weight {
(19_122_000 as Weight) (14_512_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_497_000 as Weight).saturating_mul(c as Weight)) .saturating_add((1_516_000 as Weight).saturating_mul(c as Weight))
} }
fn as_derivative() -> Weight { fn as_derivative() -> Weight {
(5_668_000 as Weight) (3_956_000 as Weight)
} }
fn batch_all(c: u32, ) -> Weight { fn batch_all(c: u32, ) -> Weight {
(19_623_000 as Weight) (15_386_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((1_497_000 as Weight).saturating_mul(c as Weight)) .saturating_add((1_516_000 as Weight).saturating_mul(c as Weight))
} }
} }
@@ -15,8 +15,8 @@
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_vesting //! Autogenerated weights for pallet_vesting
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! DATE: 2021-02-23, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command: // Executed Command:
@@ -44,44 +44,44 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_locked(l: u32, ) -> Weight { fn vest_locked(l: u32, ) -> Weight {
(55_027_000 as Weight) (44_534_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((130_000 as Weight).saturating_mul(l as Weight)) .saturating_add((166_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight))
} }
fn vest_unlocked(l: u32, ) -> Weight { fn vest_unlocked(l: u32, ) -> Weight {
(59_131_000 as Weight) (47_683_000 as Weight)
// Standard Error: 2_000 // Standard Error: 1_000
.saturating_add((110_000 as Weight).saturating_mul(l as Weight)) .saturating_add((143_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn vest_other_locked(l: u32, ) -> Weight { fn vest_other_locked(l: u32, ) -> Weight {
(54_746_000 as Weight) (44_216_000 as Weight)
// Standard Error: 0 // Standard Error: 0
.saturating_add((126_000 as Weight).saturating_mul(l as Weight)) .saturating_add((166_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight))
} }
fn vest_other_unlocked(l: u32, ) -> Weight { fn vest_other_unlocked(l: u32, ) -> Weight {
(58_988_000 as Weight) (47_636_000 as Weight)
// Standard Error: 2_000 // Standard Error: 1_000
.saturating_add((106_000 as Weight).saturating_mul(l as Weight)) .saturating_add((144_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn vested_transfer(l: u32, ) -> Weight { fn vested_transfer(l: u32, ) -> Weight {
(120_685_000 as Weight) (100_857_000 as Weight)
// Standard Error: 8_000 // Standard Error: 1_000
.saturating_add((167_000 as Weight).saturating_mul(l as Weight)) .saturating_add((166_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight))
} }
fn force_vested_transfer(l: u32, ) -> Weight { fn force_vested_transfer(l: u32, ) -> Weight {
(119_814_000 as Weight) (100_229_000 as Weight)
// Standard Error: 8_000 // Standard Error: 1_000
.saturating_add((172_000 as Weight).saturating_mul(l as Weight)) .saturating_add((164_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight))
} }
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "polkadot-statement-table" name = "polkadot-statement-table"
version = "0.8.28" version = "0.8.29"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"