mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01: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,22 +16,21 @@
|
||||
//! Autogenerated weights for `pallet_ranked_collective`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-16, 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:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_ranked_collective
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_ranked_collective
|
||||
// --chain=kusama-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
@@ -39,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_ranked_collective`.
|
||||
@@ -50,7 +49,8 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
// Storage: FellowshipCollective IndexToId (r:0 w:1)
|
||||
// Storage: FellowshipCollective IdToIndex (r:0 w:1)
|
||||
fn add_member() -> Weight {
|
||||
Weight::from_ref_time(20_797_000 as u64)
|
||||
// Minimum execution time: 20_091 nanoseconds.
|
||||
Weight::from_ref_time(20_793_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -60,9 +60,10 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
// Storage: FellowshipCollective IndexToId (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn remove_member(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_196_000 as u64)
|
||||
// Standard Error: 10_539
|
||||
.saturating_add(Weight::from_ref_time(9_633_382 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 31_411 nanoseconds.
|
||||
Weight::from_ref_time(33_650_900 as u64)
|
||||
// Standard Error: 20_315
|
||||
.saturating_add(Weight::from_ref_time(9_742_136 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -74,9 +75,10 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
// Storage: FellowshipCollective IdToIndex (r:0 w:1)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn promote_member(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_958_000 as u64)
|
||||
// Standard Error: 3_398
|
||||
.saturating_add(Weight::from_ref_time(527_087 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 22_519 nanoseconds.
|
||||
Weight::from_ref_time(24_202_495 as u64)
|
||||
// Standard Error: 9_707
|
||||
.saturating_add(Weight::from_ref_time(404_053 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -86,9 +88,10 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
// Storage: FellowshipCollective IndexToId (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn demote_member(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_934_000 as u64)
|
||||
// Standard Error: 11_453
|
||||
.saturating_add(Weight::from_ref_time(884_044 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 30_958 nanoseconds.
|
||||
Weight::from_ref_time(34_019_871 as u64)
|
||||
// Standard Error: 15_923
|
||||
.saturating_add(Weight::from_ref_time(594_745 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -97,20 +100,21 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
// Storage: FellowshipCollective Voting (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn vote() -> Weight {
|
||||
Weight::from_ref_time(45_989_000 as u64)
|
||||
// Minimum execution time: 46_000 nanoseconds.
|
||||
Weight::from_ref_time(46_496_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
|
||||
// Storage: FellowshipCollective VotingCleanup (r:1 w:0)
|
||||
// Storage: FellowshipCollective Voting (r:0 w:1)
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
// Storage: FellowshipCollective Voting (r:0 w:2)
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn cleanup_poll(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_842_000 as u64)
|
||||
// Standard Error: 733
|
||||
.saturating_add(Weight::from_ref_time(892_322 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 14_684 nanoseconds.
|
||||
Weight::from_ref_time(18_793_742 as u64)
|
||||
// Standard Error: 1_475
|
||||
.saturating_add(Weight::from_ref_time(908_456 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user