mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 05:11:02 +00:00
update weights (sync with v0.9.29) (#5989)
* kusama: update weights * polkadot: update weights * westend: update weights * rococo: update weights * fixup * revert block weights
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,12 +16,14 @@
|
||||
//! Autogenerated weights for `pallet_collective`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2021-08-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
@@ -29,147 +31,187 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collective`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Instance2Collective Members (r:1 w:1)
|
||||
// Storage: Instance2Collective Proposals (r:1 w:0)
|
||||
// Storage: Instance2Collective Voting (r:100 w:100)
|
||||
// Storage: Instance2Collective Prime (r:0 w:1)
|
||||
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
|
||||
// Storage: TechnicalCommittee Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Voting (r:100 w:100)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(14_473_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(73_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(19_551_000 as u64).saturating_mul(p as u64))
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(9_293_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(11_556_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:1 w:0)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_690_000 as u64)
|
||||
Weight::from_ref_time(18_967_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective ProposalOf (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:1 w:0)
|
||||
// Storage: TechnicalCommittee ProposalOf (r:1 w:0)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_473_000 as u64)
|
||||
Weight::from_ref_time(20_872_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: TechnicalCommittee Members (r:1 w:0)
|
||||
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:1)
|
||||
// Storage: TechnicalCommittee ProposalCount (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Voting (r:0 w:1)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_426_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(159_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective ProposalOf (r:1 w:1)
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance2Collective ProposalCount (r:1 w:1)
|
||||
// Storage: Instance2Collective Voting (r:0 w:1)
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_047_000 as u64)
|
||||
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(360_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(Weight::from_ref_time(104_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Members (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Voting (r:1 w:1)
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_023_000 as u64)
|
||||
Weight::from_ref_time(28_138_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(Weight::from_ref_time(38_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance2Collective ProposalOf (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Voting (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Members (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:1)
|
||||
// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_107_000 as u64)
|
||||
Weight::from_ref_time(31_287_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(332_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective ProposalOf (r:1 w:1)
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Voting (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Members (r:1 w:0)
|
||||
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:1)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(57_783_000 as u64)
|
||||
Weight::from_ref_time(40_722_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(167_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(336_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective Prime (r:1 w:0)
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance2Collective ProposalOf (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Voting (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Members (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Prime (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:1)
|
||||
// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(45_646_000 as u64)
|
||||
Weight::from_ref_time(33_303_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(Weight::from_ref_time(30_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(335_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Voting (r:1 w:1)
|
||||
// Storage: Instance2Collective Members (r:1 w:0)
|
||||
// Storage: Instance2Collective Prime (r:1 w:0)
|
||||
// Storage: Instance2Collective ProposalOf (r:1 w:1)
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Voting (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Members (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Prime (r:1 w:0)
|
||||
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:1)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(61_376_000 as u64)
|
||||
Weight::from_ref_time(42_826_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(339_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(Weight::from_ref_time(93_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Instance2Collective Proposals (r:1 w:1)
|
||||
// Storage: Instance2Collective Voting (r:0 w:1)
|
||||
// Storage: Instance2Collective ProposalOf (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Voting (r:0 w:1)
|
||||
// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_286_000 as u64)
|
||||
Weight::from_ref_time(21_772_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(336_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user