mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
* kusama: update weights * polkadot: update weights * westend: update weights * rococo: update weights
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
//! Autogenerated weights for `pallet_elections_phragmen`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-01-11, 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
|
||||
|
||||
@@ -51,12 +51,12 @@ 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 {
|
||||
// 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))
|
||||
// Minimum execution time: 32_184 nanoseconds.
|
||||
Weight::from_ref_time(33_524_447)
|
||||
// Standard Error: 5_694
|
||||
.saturating_add(Weight::from_ref_time(175_641).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:0)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
@@ -65,12 +65,12 @@ 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 {
|
||||
// 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))
|
||||
// Minimum execution time: 41_542 nanoseconds.
|
||||
Weight::from_ref_time(43_065_521)
|
||||
// Standard Error: 5_629
|
||||
.saturating_add(Weight::from_ref_time(207_494).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:0)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
@@ -79,42 +79,42 @@ 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 {
|
||||
// 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))
|
||||
// Minimum execution time: 41_667 nanoseconds.
|
||||
Weight::from_ref_time(43_527_907)
|
||||
// Standard Error: 6_105
|
||||
.saturating_add(Weight::from_ref_time(147_625).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: PhragmenElection Voting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn remove_voter() -> Weight {
|
||||
// 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))
|
||||
// Minimum execution time: 41_833 nanoseconds.
|
||||
Weight::from_ref_time(42_243_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:0)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn submit_candidacy(c: u32, ) -> Weight {
|
||||
// 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))
|
||||
// Minimum execution time: 36_995 nanoseconds.
|
||||
Weight::from_ref_time(29_233_259)
|
||||
// Standard Error: 981
|
||||
.saturating_add(Weight::from_ref_time(91_366).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
|
||||
// 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))
|
||||
// Minimum execution time: 32_434 nanoseconds.
|
||||
Weight::from_ref_time(24_261_784)
|
||||
// Standard Error: 1_005
|
||||
.saturating_add(Weight::from_ref_time(71_813).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
@@ -122,22 +122,22 @@ 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 {
|
||||
// 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))
|
||||
// Minimum execution time: 44_822 nanoseconds.
|
||||
Weight::from_ref_time(46_638_000)
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
fn renounce_candidacy_runners_up() -> Weight {
|
||||
// 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))
|
||||
// Minimum execution time: 34_508 nanoseconds.
|
||||
Weight::from_ref_time(35_615_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// 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)
|
||||
Weight::from_ref_time(2_000_000_000_000)
|
||||
}
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
@@ -146,10 +146,10 @@ 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 {
|
||||
// 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))
|
||||
// Minimum execution time: 60_039 nanoseconds.
|
||||
Weight::from_ref_time(61_232_000)
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: PhragmenElection Voting (r:5001 w:5000)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
@@ -160,13 +160,13 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
/// The range of component `v` is `[5000, 10000]`.
|
||||
/// 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)))
|
||||
// Minimum execution time: 281_919_802 nanoseconds.
|
||||
Weight::from_ref_time(282_255_830_000)
|
||||
// Standard Error: 242_808
|
||||
.saturating_add(Weight::from_ref_time(35_109_040).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into())))
|
||||
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into())))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
@@ -181,16 +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 {
|
||||
// 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)))
|
||||
// Minimum execution time: 29_164_087 nanoseconds.
|
||||
Weight::from_ref_time(29_469_711_000)
|
||||
// Standard Error: 540_001
|
||||
.saturating_add(Weight::from_ref_time(45_809_718).saturating_mul(v.into()))
|
||||
// Standard Error: 34_653
|
||||
.saturating_add(Weight::from_ref_time(2_347_682).saturating_mul(e.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(265))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user