mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
[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:
@@ -15,8 +15,8 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for pallet_balances
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,27 +44,27 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
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().writes(1 as 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().writes(1 as 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().writes(1 as 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().writes(1 as 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().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.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Polkadot is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for pallet_bounties
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-11-20, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
// target/release/substrate
|
||||
// target/release/polkadot
|
||||
// benchmark
|
||||
// --chain=dev
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_bounties
|
||||
@@ -32,8 +30,9 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/bounties/src/weights.rs
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
@@ -41,65 +40,65 @@
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
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>);
|
||||
impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
fn propose_bounty(d: u32, ) -> Weight {
|
||||
(64_778_000 as Weight)
|
||||
(44_992_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.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().writes(4 as 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().writes(2 as 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().writes(1 as 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().writes(2 as 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().writes(2 as 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().writes(1 as 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().writes(5 as 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().writes(3 as 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().writes(4 as 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().writes(1 as Weight))
|
||||
}
|
||||
fn spend_funds(b: u32, ) -> Weight {
|
||||
(7_562_000 as Weight)
|
||||
(0 as Weight)
|
||||
// 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((3 as Weight).saturating_mul(b 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/>.
|
||||
//! Autogenerated weights for pallet_collective
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// 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 {
|
||||
(0 as Weight)
|
||||
// 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
|
||||
.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
|
||||
.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((1 as Weight).saturating_mul(p 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)))
|
||||
}
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
(30_949_000 as Weight)
|
||||
(23_189_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
|
||||
// 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))
|
||||
}
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
(37_904_000 as Weight)
|
||||
(28_292_000 as Weight)
|
||||
// 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
|
||||
.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))
|
||||
}
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
(62_075_000 as Weight)
|
||||
(45_630_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((5_000 as Weight).saturating_mul(b as Weight))
|
||||
// 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
|
||||
.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().writes(4 as Weight))
|
||||
}
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
(43_811_000 as Weight)
|
||||
(34_523_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
(59_086_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((222_000 as Weight).saturating_mul(m as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((542_000 as Weight).saturating_mul(p as Weight))
|
||||
(43_335_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((225_000 as Weight).saturating_mul(m as Weight))
|
||||
// Standard Error: 0
|
||||
.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().writes(3 as 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
|
||||
.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
|
||||
.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
|
||||
.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().writes(3 as Weight))
|
||||
}
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
(65_098_000 as Weight)
|
||||
(48_551_000 as Weight)
|
||||
// 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
|
||||
.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().writes(3 as Weight))
|
||||
}
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
(90_884_000 as Weight)
|
||||
(68_054_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((4_000 as Weight).saturating_mul(b as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((221_000 as Weight).saturating_mul(m as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((558_000 as Weight).saturating_mul(p as Weight))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((216_000 as Weight).saturating_mul(m as Weight))
|
||||
// Standard Error: 2_000
|
||||
.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().writes(3 as Weight))
|
||||
}
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
(34_674_000 as Weight)
|
||||
(26_524_000 as Weight)
|
||||
// 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().writes(3 as Weight))
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for pallet_democracy
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,163 +44,163 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
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().writes(3 as Weight))
|
||||
}
|
||||
fn second(s: u32, ) -> Weight {
|
||||
(50_536_000 as Weight)
|
||||
(41_623_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn vote_new(r: u32, ) -> Weight {
|
||||
(60_328_000 as Weight)
|
||||
(49_012_000 as Weight)
|
||||
// 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().writes(3 as Weight))
|
||||
}
|
||||
fn vote_existing(r: u32, ) -> Weight {
|
||||
(60_063_000 as Weight)
|
||||
(48_645_000 as Weight)
|
||||
// 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().writes(3 as 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().writes(2 as Weight))
|
||||
}
|
||||
fn blacklist(p: u32, ) -> Weight {
|
||||
(121_082_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((816_000 as Weight).saturating_mul(p as Weight))
|
||||
(86_946_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.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().writes(6 as Weight))
|
||||
}
|
||||
fn external_propose(v: u32, ) -> Weight {
|
||||
(18_656_000 as Weight)
|
||||
(14_551_000 as Weight)
|
||||
// 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().writes(1 as 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))
|
||||
}
|
||||
fn external_propose_default() -> Weight {
|
||||
(4_484_000 as Weight)
|
||||
(3_002_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as 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().writes(3 as Weight))
|
||||
}
|
||||
fn veto_external(v: u32, ) -> Weight {
|
||||
(39_271_000 as Weight)
|
||||
(29_559_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
fn cancel_proposal(p: u32, ) -> Weight {
|
||||
(84_923_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((879_000 as Weight).saturating_mul(p as Weight))
|
||||
(60_242_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.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().writes(3 as Weight))
|
||||
}
|
||||
fn cancel_referendum() -> Weight {
|
||||
(22_591_000 as Weight)
|
||||
(17_442_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn cancel_queued(r: u32, ) -> Weight {
|
||||
(42_351_000 as Weight)
|
||||
(33_867_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
(16_859_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((6_940_000 as Weight).saturating_mul(r as Weight))
|
||||
(11_959_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.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((1 as Weight).saturating_mul(r as Weight)))
|
||||
}
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
(81_043_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((10_032_000 as Weight).saturating_mul(r as Weight))
|
||||
(63_264_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.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((1 as Weight).saturating_mul(r 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)))
|
||||
}
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
(40_537_000 as Weight)
|
||||
(30_529_000 as Weight)
|
||||
// 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((1 as Weight).saturating_mul(r 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)))
|
||||
}
|
||||
fn clear_public_proposals() -> Weight {
|
||||
(3_649_000 as Weight)
|
||||
(2_791_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn note_preimage(b: u32, ) -> Weight {
|
||||
(57_601_000 as Weight)
|
||||
(45_588_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.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().writes(1 as Weight))
|
||||
}
|
||||
fn note_imminent_preimage(b: u32, ) -> Weight {
|
||||
(39_448_000 as Weight)
|
||||
(29_161_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.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().writes(1 as Weight))
|
||||
}
|
||||
fn reap_preimage(b: u32, ) -> Weight {
|
||||
(53_441_000 as Weight)
|
||||
(40_951_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.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().writes(1 as Weight))
|
||||
}
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
(50_814_000 as Weight)
|
||||
(42_656_000 as Weight)
|
||||
// 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().writes(3 as Weight))
|
||||
}
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
(46_171_000 as Weight)
|
||||
(38_985_000 as Weight)
|
||||
// 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().writes(3 as Weight))
|
||||
}
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
(28_134_000 as Weight)
|
||||
(21_437_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
(28_233_000 as Weight)
|
||||
(21_621_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
//! Autogenerated weights for pallet_election_provider_multi_phase
|
||||
//!
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,47 +44,47 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> {
|
||||
fn on_initialize_nothing() -> Weight {
|
||||
(21_355_000 as Weight)
|
||||
(20_876_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as 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().writes(4 as 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().writes(4 as 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().writes(1 as Weight))
|
||||
}
|
||||
fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 22_000
|
||||
// Standard Error: 21_000
|
||||
.saturating_add((4_142_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 76_000
|
||||
.saturating_add((181_000 as Weight).saturating_mul(t as Weight))
|
||||
// Standard Error: 22_000
|
||||
.saturating_add((13_682_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 114_000
|
||||
.saturating_add((4_802_000 as Weight).saturating_mul(d as Weight))
|
||||
// Standard Error: 70_000
|
||||
.saturating_add((246_000 as Weight).saturating_mul(t as Weight))
|
||||
// Standard Error: 21_000
|
||||
.saturating_add((13_612_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 105_000
|
||||
.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().writes(1 as Weight))
|
||||
}
|
||||
fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add((4_247_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 44_000
|
||||
.saturating_add((744_000 as Weight).saturating_mul(t as Weight))
|
||||
// Standard Error: 13_000
|
||||
.saturating_add((10_137_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 67_000
|
||||
.saturating_add((4_516_000 as Weight).saturating_mul(d as Weight))
|
||||
// Standard Error: 12_000
|
||||
.saturating_add((4_236_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 41_000
|
||||
.saturating_add((716_000 as Weight).saturating_mul(t as Weight))
|
||||
// Standard Error: 12_000
|
||||
.saturating_add((10_065_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 61_000
|
||||
.saturating_add((4_384_000 as Weight).saturating_mul(d 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/>.
|
||||
//! Autogenerated weights for pallet_identity
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,135 +44,135 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
fn add_registrar(r: u32, ) -> Weight {
|
||||
(28_419_000 as Weight)
|
||||
(22_292_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn set_identity(r: u32, x: u32, ) -> Weight {
|
||||
(73_891_000 as Weight)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add((279_000 as Weight).saturating_mul(r as Weight))
|
||||
(56_596_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((255_000 as Weight).saturating_mul(r as Weight))
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn set_subs_new(s: u32, ) -> Weight {
|
||||
(52_415_000 as Weight)
|
||||
(43_029_000 as Weight)
|
||||
// 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((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_mul(s as Weight)))
|
||||
}
|
||||
fn set_subs_old(p: u32, ) -> Weight {
|
||||
(48_406_000 as Weight)
|
||||
(44_071_000 as Weight)
|
||||
// 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().writes(1 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 {
|
||||
(61_817_000 as Weight)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add((202_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((3_417_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((1_075_000 as Weight).saturating_mul(x as Weight))
|
||||
(54_654_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((153_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_302_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 0
|
||||
.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().writes(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
fn request_judgement(r: u32, x: u32, ) -> Weight {
|
||||
(73_843_000 as Weight)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add((348_000 as Weight).saturating_mul(r as Weight))
|
||||
(57_560_000 as Weight)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add((329_000 as Weight).saturating_mul(r as Weight))
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn cancel_request(r: u32, x: u32, ) -> Weight {
|
||||
(63_423_000 as Weight)
|
||||
// Standard Error: 11_000
|
||||
.saturating_add((237_000 as Weight).saturating_mul(r as Weight))
|
||||
(53_481_000 as Weight)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add((189_000 as Weight).saturating_mul(r as Weight))
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn set_fee(r: u32, ) -> Weight {
|
||||
(10_954_000 as Weight)
|
||||
(8_550_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn set_account_id(r: u32, ) -> Weight {
|
||||
(12_327_000 as Weight)
|
||||
(9_669_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn set_fields(r: u32, ) -> Weight {
|
||||
(11_006_000 as Weight)
|
||||
(8_551_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn provide_judgement(r: u32, x: u32, ) -> Weight {
|
||||
(49_635_000 as Weight)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add((296_000 as Weight).saturating_mul(r as Weight))
|
||||
(37_602_000 as Weight)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add((287_000 as Weight).saturating_mul(r as Weight))
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
(101_563_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((207_000 as Weight).saturating_mul(r as Weight))
|
||||
(74_948_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((101_000 as Weight).saturating_mul(r as Weight))
|
||||
// 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
|
||||
.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().writes(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
fn add_sub(s: u32, ) -> Weight {
|
||||
(73_298_000 as Weight)
|
||||
(57_904_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
fn rename_sub(s: u32, ) -> Weight {
|
||||
(23_667_000 as Weight)
|
||||
(18_169_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.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().writes(1 as Weight))
|
||||
}
|
||||
fn remove_sub(s: u32, ) -> Weight {
|
||||
(69_636_000 as Weight)
|
||||
(59_031_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
fn quit_sub(s: u32, ) -> Weight {
|
||||
(45_890_000 as Weight)
|
||||
(35_933_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for pallet_im_online
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,11 +44,11 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
|
||||
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
|
||||
(112_814_000 as Weight)
|
||||
(97_790_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((215_000 as Weight).saturating_mul(k as Weight))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((491_000 as Weight).saturating_mul(e as Weight))
|
||||
.saturating_add((209_000 as Weight).saturating_mul(k as Weight))
|
||||
// Standard Error: 1_000
|
||||
.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().writes(1 as Weight))
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for pallet_indices
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,27 +44,27 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
|
||||
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().writes(1 as 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().writes(2 as 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().writes(1 as 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().writes(2 as 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().writes(1 as Weight))
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for pallet_multisig
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,80 +44,80 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||
(12_476_000 as Weight)
|
||||
(13_201_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
||||
}
|
||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||
(69_580_000 as Weight)
|
||||
(54_671_000 as Weight)
|
||||
// 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
|
||||
.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().writes(1 as Weight))
|
||||
}
|
||||
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
||||
(78_436_000 as Weight)
|
||||
(60_759_000 as Weight)
|
||||
// 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
|
||||
.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().writes(2 as Weight))
|
||||
}
|
||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||
(41_554_000 as Weight)
|
||||
(31_428_000 as Weight)
|
||||
// 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
|
||||
.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().writes(1 as Weight))
|
||||
}
|
||||
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
||||
(74_444_000 as Weight)
|
||||
(57_832_000 as Weight)
|
||||
// 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
|
||||
.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().writes(2 as Weight))
|
||||
}
|
||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||
(85_497_000 as Weight)
|
||||
(74_181_000 as Weight)
|
||||
// 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
|
||||
.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().writes(3 as Weight))
|
||||
}
|
||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||
(69_232_000 as Weight)
|
||||
(54_473_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
(40_932_000 as Weight)
|
||||
(31_380_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
||||
(157_594_000 as Weight)
|
||||
(148_536_000 as Weight)
|
||||
// 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().writes(3 as Weight))
|
||||
}
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
(109_613_000 as Weight)
|
||||
(100_803_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for pallet_proxy
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,79 +44,79 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
fn proxy(p: u32, ) -> Weight {
|
||||
(30_904_000 as Weight)
|
||||
(24_549_000 as Weight)
|
||||
// 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))
|
||||
}
|
||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||
(65_146_000 as Weight)
|
||||
(55_117_000 as Weight)
|
||||
// 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
|
||||
.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().writes(2 as Weight))
|
||||
}
|
||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||
(41_395_000 as Weight)
|
||||
(38_414_000 as Weight)
|
||||
// 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
|
||||
.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().writes(2 as Weight))
|
||||
}
|
||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||
(41_431_000 as Weight)
|
||||
(38_621_000 as Weight)
|
||||
// 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
|
||||
.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().writes(2 as Weight))
|
||||
}
|
||||
fn announce(a: u32, p: u32, ) -> Weight {
|
||||
(65_751_000 as Weight)
|
||||
(52_301_000 as Weight)
|
||||
// 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
|
||||
.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().writes(2 as Weight))
|
||||
}
|
||||
fn add_proxy(p: u32, ) -> Weight {
|
||||
(44_708_000 as Weight)
|
||||
(37_321_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn remove_proxy(p: u32, ) -> Weight {
|
||||
(40_043_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((235_000 as Weight).saturating_mul(p as Weight))
|
||||
(37_047_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.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().writes(1 as Weight))
|
||||
}
|
||||
fn remove_proxies(p: u32, ) -> Weight {
|
||||
(38_286_000 as Weight)
|
||||
(35_847_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn anonymous(p: u32, ) -> Weight {
|
||||
(63_581_000 as Weight)
|
||||
(51_127_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.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().writes(1 as Weight))
|
||||
}
|
||||
fn kill_anonymous(p: u32, ) -> Weight {
|
||||
(41_113_000 as Weight)
|
||||
(37_752_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for pallet_scheduler
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,30 +44,30 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
fn schedule(s: u32, ) -> Weight {
|
||||
(34_006_000 as Weight)
|
||||
(25_567_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn cancel(s: u32, ) -> Weight {
|
||||
(30_954_000 as Weight)
|
||||
(23_036_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
fn schedule_named(s: u32, ) -> Weight {
|
||||
(44_217_000 as Weight)
|
||||
(32_467_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
fn cancel_named(s: u32, ) -> Weight {
|
||||
(35_521_000 as Weight)
|
||||
(26_743_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for pallet_session
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,13 +44,13 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
fn set_keys() -> Weight {
|
||||
(91_470_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
(76_221_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as 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().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/>.
|
||||
//! Autogenerated weights for pallet_staking
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.1
|
||||
//! DATE: 2021-01-21, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,155 +44,155 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
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().writes(4 as 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().writes(2 as 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().writes(3 as Weight))
|
||||
}
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
(53_996_000 as Weight)
|
||||
(57_447_000 as Weight)
|
||||
// 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().writes(3 as Weight))
|
||||
}
|
||||
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
|
||||
(84_773_000 as Weight)
|
||||
(89_916_000 as Weight)
|
||||
// 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().writes(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as 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().writes(2 as Weight))
|
||||
}
|
||||
fn kick(k: u32, ) -> Weight {
|
||||
(12_616_000 as Weight)
|
||||
// Standard Error: 11_000
|
||||
.saturating_add((17_372_000 as Weight).saturating_mul(k as Weight))
|
||||
(16_802_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.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((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 {
|
||||
(27_069_000 as Weight)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add((5_466_000 as Weight).saturating_mul(n as Weight))
|
||||
(28_768_000 as Weight)
|
||||
// Standard Error: 9_000
|
||||
.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((1 as Weight).saturating_mul(n as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as 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().writes(2 as 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().writes(1 as 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().writes(3 as 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))
|
||||
}
|
||||
fn force_no_eras() -> Weight {
|
||||
(2_393_000 as Weight)
|
||||
(2_466_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as 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))
|
||||
}
|
||||
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))
|
||||
}
|
||||
fn set_invulnerables(v: u32, ) -> Weight {
|
||||
(2_414_000 as Weight)
|
||||
(2_425_000 as Weight)
|
||||
// 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))
|
||||
}
|
||||
fn force_unstake(s: u32, ) -> Weight {
|
||||
(56_566_000 as Weight)
|
||||
(60_423_000 as Weight)
|
||||
// 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().writes(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
fn cancel_deferred_slash(s: u32, ) -> Weight {
|
||||
(5_903_566_000 as Weight)
|
||||
// Standard Error: 392_000
|
||||
.saturating_add((34_783_000 as Weight).saturating_mul(s as Weight))
|
||||
(5_903_335_000 as Weight)
|
||||
// Standard Error: 389_000
|
||||
.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().writes(1 as Weight))
|
||||
}
|
||||
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
|
||||
(115_889_000 as Weight)
|
||||
// Standard Error: 18_000
|
||||
.saturating_add((47_622_000 as Weight).saturating_mul(n as Weight))
|
||||
(121_563_000 as Weight)
|
||||
// Standard Error: 12_000
|
||||
.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((3 as Weight).saturating_mul(n 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)))
|
||||
}
|
||||
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
|
||||
(138_310_000 as Weight)
|
||||
// Standard Error: 20_000
|
||||
.saturating_add((61_127_000 as Weight).saturating_mul(n as Weight))
|
||||
(147_113_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.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((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_mul(n as Weight)))
|
||||
}
|
||||
fn rebond(l: u32, ) -> Weight {
|
||||
(36_732_000 as Weight)
|
||||
(39_119_000 as Weight)
|
||||
// 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().writes(3 as Weight))
|
||||
}
|
||||
fn set_history_depth(e: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 66_000
|
||||
.saturating_add((30_731_000 as Weight).saturating_mul(e as Weight))
|
||||
// Standard Error: 69_000
|
||||
.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().writes(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight)))
|
||||
}
|
||||
fn reap_stash(s: u32, ) -> Weight {
|
||||
(59_595_000 as Weight)
|
||||
(64_045_000 as Weight)
|
||||
// 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().writes(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
fn new_era(v: u32, n: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 789_000
|
||||
.saturating_add((548_828_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 39_000
|
||||
.saturating_add((77_717_000 as Weight).saturating_mul(n as Weight))
|
||||
// Standard Error: 669_000
|
||||
.saturating_add((575_719_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 33_000
|
||||
.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((4 as Weight).saturating_mul(v 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 {
|
||||
(0 as Weight)
|
||||
// Standard Error: 43_000
|
||||
.saturating_add((1_426_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((588_000 as Weight).saturating_mul(n as Weight))
|
||||
// Standard Error: 43_000
|
||||
.saturating_add((69_239_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 90_000
|
||||
.saturating_add((8_062_000 as Weight).saturating_mul(w as Weight))
|
||||
// Standard Error: 46_000
|
||||
.saturating_add((712_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 18_000
|
||||
.saturating_add((434_000 as Weight).saturating_mul(n as Weight))
|
||||
// Standard Error: 46_000
|
||||
.saturating_add((72_940_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 97_000
|
||||
.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((4 as Weight).saturating_mul(a 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/>.
|
||||
//! Autogenerated weights for pallet_timestamp
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,11 +44,11 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
fn set() -> Weight {
|
||||
(11_338_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
(10_737_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as 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.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// Polkadot is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for pallet_tips
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-20, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
// target/release/substrate
|
||||
// target/release/polkadot
|
||||
// benchmark
|
||||
// --chain=dev
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_tips
|
||||
@@ -32,8 +30,8 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/tips/src/weights.rs
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
|
||||
#![allow(unused_parens)]
|
||||
@@ -42,48 +40,48 @@
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
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>);
|
||||
impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
fn report_awesome(r: u32, ) -> Weight {
|
||||
(73_795_000 as Weight)
|
||||
(52_076_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.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().writes(2 as 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().writes(2 as Weight))
|
||||
}
|
||||
fn tip_new(r: u32, t: u32, ) -> Weight {
|
||||
(47_731_000 as Weight)
|
||||
(31_658_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_000 as Weight).saturating_mul(r as Weight))
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
fn tip(t: u32, ) -> Weight {
|
||||
(35_215_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((712_000 as Weight).saturating_mul(t as Weight))
|
||||
(20_387_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.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().writes(1 as Weight))
|
||||
}
|
||||
fn close_tip(t: u32, ) -> Weight {
|
||||
(117_027_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((375_000 as Weight).saturating_mul(t as Weight))
|
||||
(87_990_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.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().writes(3 as Weight))
|
||||
}
|
||||
fn slash_tip(t: u32, ) -> Weight {
|
||||
(37_184_000 as Weight)
|
||||
(26_079_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for pallet_treasury
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,26 +44,27 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
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().writes(2 as 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().writes(2 as 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().writes(1 as Weight))
|
||||
}
|
||||
fn on_initialize_proposals(p: u32, ) -> Weight {
|
||||
(74_689_000 as Weight)
|
||||
.saturating_add((71_943_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
(87_297_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.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().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)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for pallet_utility
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,16 +44,16 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
(19_612_000 as Weight)
|
||||
(15_197_000 as Weight)
|
||||
// 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 {
|
||||
(5_849_000 as Weight)
|
||||
(4_083_000 as Weight)
|
||||
}
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
(21_934_000 as Weight)
|
||||
(15_979_000 as Weight)
|
||||
// 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/>.
|
||||
//! Autogenerated weights for pallet_vesting
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,44 +44,44 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
fn vest_locked(l: u32, ) -> Weight {
|
||||
(54_809_000 as Weight)
|
||||
(44_832_000 as Weight)
|
||||
// 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().writes(1 as Weight))
|
||||
}
|
||||
fn vest_unlocked(l: u32, ) -> Weight {
|
||||
(59_001_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((107_000 as Weight).saturating_mul(l as Weight))
|
||||
(47_566_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.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().writes(2 as Weight))
|
||||
}
|
||||
fn vest_other_locked(l: u32, ) -> Weight {
|
||||
(54_779_000 as Weight)
|
||||
(44_580_000 as Weight)
|
||||
// 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().writes(2 as Weight))
|
||||
}
|
||||
fn vest_other_unlocked(l: u32, ) -> Weight {
|
||||
(58_762_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((109_000 as Weight).saturating_mul(l as Weight))
|
||||
(47_416_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.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().writes(3 as Weight))
|
||||
}
|
||||
fn vested_transfer(l: u32, ) -> Weight {
|
||||
(119_976_000 as Weight)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add((174_000 as Weight).saturating_mul(l as Weight))
|
||||
(100_439_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.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().writes(3 as Weight))
|
||||
}
|
||||
fn force_vested_transfer(l: u32, ) -> Weight {
|
||||
(119_342_000 as Weight)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add((168_000 as Weight).saturating_mul(l as Weight))
|
||||
(99_867_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.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().writes(4 as Weight))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user