mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41: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_elections_phragmen`
|
||||
//!
|
||||
//! 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-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:
|
||||
@@ -38,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_elections_phragmen`.
|
||||
@@ -51,9 +51,10 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[1, 16]`.
|
||||
fn vote_equal(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_711_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(201_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 31_673 nanoseconds.
|
||||
Weight::from_ref_time(34_361_005 as u64)
|
||||
// Standard Error: 9_644
|
||||
.saturating_add(Weight::from_ref_time(93_408 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -64,9 +65,10 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_more(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_536_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(173_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 41_200 nanoseconds.
|
||||
Weight::from_ref_time(42_889_832 as u64)
|
||||
// Standard Error: 4_165
|
||||
.saturating_add(Weight::from_ref_time(223_881 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -77,16 +79,18 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_less(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_543_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 42_012 nanoseconds.
|
||||
Weight::from_ref_time(43_635_852 as u64)
|
||||
// Standard Error: 4_519
|
||||
.saturating_add(Weight::from_ref_time(119_706 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Voting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn remove_voter() -> Weight {
|
||||
Weight::from_ref_time(39_001_000 as u64)
|
||||
// Minimum execution time: 40_370 nanoseconds.
|
||||
Weight::from_ref_time(41_142_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -95,18 +99,20 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:0)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn submit_candidacy(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_806_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(94_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 37_086 nanoseconds.
|
||||
Weight::from_ref_time(28_441_305 as u64)
|
||||
// Standard Error: 1_050
|
||||
.saturating_add(Weight::from_ref_time(91_457 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_558_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 32_127 nanoseconds.
|
||||
Weight::from_ref_time(23_789_781 as u64)
|
||||
// Standard Error: 995
|
||||
.saturating_add(Weight::from_ref_time(71_601 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -116,18 +122,21 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn renounce_candidacy_members() -> Weight {
|
||||
Weight::from_ref_time(44_960_000 as u64)
|
||||
// Minimum execution time: 44_751 nanoseconds.
|
||||
Weight::from_ref_time(46_264_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
fn renounce_candidacy_runners_up() -> Weight {
|
||||
Weight::from_ref_time(34_666_000 as u64)
|
||||
// Minimum execution time: 34_904 nanoseconds.
|
||||
Weight::from_ref_time(36_139_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn remove_member_without_replacement() -> Weight {
|
||||
// Minimum execution time: 2_000_000_000 nanoseconds.
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
@@ -137,7 +146,8 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn remove_member_with_replacement() -> Weight {
|
||||
Weight::from_ref_time(59_021_000 as u64)
|
||||
// Minimum execution time: 59_246 nanoseconds.
|
||||
Weight::from_ref_time(60_848_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -148,13 +158,12 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: Balances Locks (r:5000 w:5000)
|
||||
// Storage: System Account (r:5000 w:5000)
|
||||
/// The range of component `v` is `[5000, 10000]`.
|
||||
/// The range of component `d` is `[1, 5000]`.
|
||||
fn clean_defunct_voters(v: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 88_000
|
||||
.saturating_add(Weight::from_ref_time(60_894_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 88_000
|
||||
.saturating_add(Weight::from_ref_time(379_000 as u64).saturating_mul(d as u64))
|
||||
/// The range of component `d` is `[0, 5000]`.
|
||||
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 279_914_581 nanoseconds.
|
||||
Weight::from_ref_time(280_093_180_000 as u64)
|
||||
// Standard Error: 242_383
|
||||
.saturating_add(Weight::from_ref_time(34_902_791 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
|
||||
@@ -172,14 +181,16 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
/// The range of component `v` is `[1, 10000]`.
|
||||
/// The range of component `e` is `[10000, 160000]`.
|
||||
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 691_000
|
||||
.saturating_add(Weight::from_ref_time(57_805_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 46_000
|
||||
.saturating_add(Weight::from_ref_time(3_139_000 as u64).saturating_mul(e as u64))
|
||||
// Minimum execution time: 29_009_063 nanoseconds.
|
||||
Weight::from_ref_time(29_156_039_000 as u64)
|
||||
// Standard Error: 553_255
|
||||
.saturating_add(Weight::from_ref_time(46_221_121 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 35_504
|
||||
.saturating_add(Weight::from_ref_time(2_367_682 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(265 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user