mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 05:11:02 +00:00
update weights (sync with 0.9.33) (#6362)
* update weights (0.9.33) (#6299) * kusama: update weights * polkadot: update weights * rococo: update weights * westend: update weights * fix deps * Resolve merge Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Reset Kusama whitelist weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_collective`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -27,6 +27,7 @@
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_collective
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -37,7 +38,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collective`.
|
||||
@@ -45,20 +46,21 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Council Members (r:1 w:1)
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Voting (r:100 w:100)
|
||||
// Storage: Council Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
// Storage: Council Voting (r:100 w:100)
|
||||
/// The range of component `m` is `[0, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
/// The range of component `m` is `[0, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(9_709_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(11_829_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 16_447 nanoseconds.
|
||||
Weight::from_ref_time(16_856_000 as u64)
|
||||
// Standard Error: 46_757
|
||||
.saturating_add(Weight::from_ref_time(5_281_186 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 46_757
|
||||
.saturating_add(Weight::from_ref_time(7_500_991 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -70,11 +72,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_472_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 19_949 nanoseconds.
|
||||
Weight::from_ref_time(19_368_834 as u64)
|
||||
// Standard Error: 22
|
||||
.saturating_add(Weight::from_ref_time(1_917 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 229
|
||||
.saturating_add(Weight::from_ref_time(13_967 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
@@ -84,11 +87,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_282_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 22_295 nanoseconds.
|
||||
Weight::from_ref_time(21_517_404 as u64)
|
||||
// Standard Error: 26
|
||||
.saturating_add(Weight::from_ref_time(1_856 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 271
|
||||
.saturating_add(Weight::from_ref_time(22_820 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
@@ -103,13 +107,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_141_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(22_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(102_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 27_745 nanoseconds.
|
||||
Weight::from_ref_time(28_146_412 as u64)
|
||||
// Standard Error: 71
|
||||
.saturating_add(Weight::from_ref_time(3_378 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 749
|
||||
.saturating_add(Weight::from_ref_time(22_179 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 739
|
||||
.saturating_add(Weight::from_ref_time(108_349 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -118,9 +123,10 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_680_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 27_772 nanoseconds.
|
||||
Weight::from_ref_time(28_486_180 as u64)
|
||||
// Standard Error: 376
|
||||
.saturating_add(Weight::from_ref_time(38_162 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -133,11 +139,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_379_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 30_430 nanoseconds.
|
||||
Weight::from_ref_time(32_906_376 as u64)
|
||||
// Standard Error: 538
|
||||
.saturating_add(Weight::from_ref_time(20_866 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 525
|
||||
.saturating_add(Weight::from_ref_time(84_112 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -152,13 +159,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_122_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 41_328 nanoseconds.
|
||||
Weight::from_ref_time(41_331_557 as u64)
|
||||
// Standard Error: 60
|
||||
.saturating_add(Weight::from_ref_time(1_828 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 645
|
||||
.saturating_add(Weight::from_ref_time(26_460 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 628
|
||||
.saturating_add(Weight::from_ref_time(96_432 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -172,11 +180,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_590_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_541 nanoseconds.
|
||||
Weight::from_ref_time(34_963_525 as u64)
|
||||
// Standard Error: 517
|
||||
.saturating_add(Weight::from_ref_time(26_814 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 505
|
||||
.saturating_add(Weight::from_ref_time(84_716 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -192,13 +201,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_120_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(91_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 42_833 nanoseconds.
|
||||
Weight::from_ref_time(44_229_039 as u64)
|
||||
// Standard Error: 67
|
||||
.saturating_add(Weight::from_ref_time(1_742 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 713
|
||||
.saturating_add(Weight::from_ref_time(22_234 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 695
|
||||
.saturating_add(Weight::from_ref_time(96_563 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -208,9 +218,10 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_325_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 19_172 nanoseconds.
|
||||
Weight::from_ref_time(22_273_247 as u64)
|
||||
// Standard Error: 664
|
||||
.saturating_add(Weight::from_ref_time(95_163 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