Commit 690fdb65 authored by Parity Benchmarking Bot's avatar Parity Benchmarking Bot
Browse files

cargo run --quiet --release --features=runtime-benchmarks -- benchmark...

cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_collective_council --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
parent 9d983790
Pipeline #153827 failed with stages
in 10 minutes and 59 seconds
......@@ -13,10 +13,10 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_collective
//! Autogenerated weights for `pallet_collective_council`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2021-08-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
// Executed Command:
......@@ -25,7 +25,7 @@
// --chain=polkadot-dev
// --steps=50
// --repeat=20
// --pallet=pallet_collective
// --pallet=pallet_collective_council
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
......@@ -33,106 +33,143 @@
// --header=./file_header.txt
// --output=./runtime/polkadot/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;
/// Weight functions for pallet_collective.
/// Weight functions for pallet_collective_council.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn set_members(m: u32, n: u32, p: u32) -> Weight {
impl<T: frame_system::Config> pallet_collective_council::WeightInfo for WeightInfo<T> {
// Storage: Instance1Collective Members (r:1 w:1)
// Storage: Instance1Collective Proposals (r:1 w:0)
// Storage: Instance1Collective Voting (r:100 w:100)
// Storage: Instance1Collective Prime (r:0 w:1)
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 8_000
.saturating_add((13_547_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 8_000
.saturating_add((55_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 8_000
.saturating_add((18_718_000 as Weight).saturating_mul(p as Weight))
// Standard Error: 9_000
.saturating_add((13_562_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 9_000
.saturating_add((92_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 9_000
.saturating_add((18_581_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 {
(20_424_000 as Weight)
// Storage: Instance1Collective Members (r:1 w:0)
fn execute(b: u32, m: u32, ) -> Weight {
(20_932_000 as Weight)
// Standard Error: 0
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0
.saturating_add((82_000 as Weight).saturating_mul(m as Weight))
.saturating_add((83_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 {
(24_961_000 as Weight)
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective ProposalOf (r:1 w:0)
fn propose_execute(b: u32, m: u32, ) -> Weight {
(25_173_000 as Weight)
// Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0
.saturating_add((161_000 as Weight).saturating_mul(m as Weight))
.saturating_add((163_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 {
(41_826_000 as Weight)
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective ProposalOf (r:1 w:1)
// Storage: Instance1Collective Proposals (r:1 w:1)
// Storage: Instance1Collective ProposalCount (r:1 w:1)
// Storage: Instance1Collective Voting (r:0 w:1)
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
(40_324_000 as Weight)
// Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0
.saturating_add((88_000 as Weight).saturating_mul(m as Weight))
.saturating_add((86_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0
.saturating_add((360_000 as Weight).saturating_mul(p as Weight))
.saturating_add((364_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 {
(31_640_000 as Weight)
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective Voting (r:1 w:1)
fn vote(m: u32, ) -> Weight {
(31_400_000 as Weight)
// Standard Error: 0
.saturating_add((196_000 as Weight).saturating_mul(m as Weight))
.saturating_add((198_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 {
(40_355_000 as Weight)
// Standard Error: 0
.saturating_add((170_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0
.saturating_add((333_000 as Weight).saturating_mul(p as Weight))
// Storage: Instance1Collective Voting (r:1 w:1)
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective Proposals (r:1 w:1)
// Storage: Instance1Collective ProposalOf (r:0 w:1)
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
(39_537_000 as Weight)
// Standard Error: 1_000
.saturating_add((169_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 1_000
.saturating_add((340_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 {
(55_837_000 as Weight)
// Storage: Instance1Collective Voting (r:1 w:1)
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective ProposalOf (r:1 w:1)
// Storage: Instance1Collective Proposals (r:1 w:1)
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
(55_434_000 as Weight)
// Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0
.saturating_add((169_000 as Weight).saturating_mul(m as Weight))
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 1_000
.saturating_add((167_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0
.saturating_add((340_000 as Weight).saturating_mul(p as Weight))
.saturating_add((348_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 {
(44_700_000 as Weight)
// Storage: Instance1Collective Voting (r:1 w:1)
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective Prime (r:1 w:0)
// Storage: Instance1Collective Proposals (r:1 w:1)
// Storage: Instance1Collective ProposalOf (r:0 w:1)
fn close_disapproved(m: u32, p: u32, ) -> Weight {
(43_827_000 as Weight)
// Standard Error: 0
.saturating_add((168_000 as Weight).saturating_mul(m as Weight))
.saturating_add((169_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0
.saturating_add((332_000 as Weight).saturating_mul(p as Weight))
.saturating_add((339_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 {
(60_051_000 as Weight)
// Storage: Instance1Collective Voting (r:1 w:1)
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective Prime (r:1 w:0)
// Storage: Instance1Collective ProposalOf (r:1 w:1)
// Storage: Instance1Collective Proposals (r:1 w:1)
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
(58_395_000 as Weight)
// Standard Error: 0
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0
.saturating_add((168_000 as Weight).saturating_mul(m as Weight))
.saturating_add((169_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0
.saturating_add((337_000 as Weight).saturating_mul(p as Weight))
.saturating_add((351_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 {
(24_750_000 as Weight)
// Storage: Instance1Collective Proposals (r:1 w:1)
// Storage: Instance1Collective Voting (r:0 w:1)
// Storage: Instance1Collective ProposalOf (r:0 w:1)
fn disapprove_proposal(p: u32, ) -> Weight {
(24_352_000 as Weight)
// Standard Error: 0
.saturating_add((337_000 as Weight).saturating_mul(p as Weight))
.saturating_add((341_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))
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment