mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
New runners for weights and new weights (#6508)
* [DO NOT MERGE] test new vm runner for weights 2 * add image * fix merge conflict * apply weights * new weights Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
cc080d0e78
commit
0119a6dae1
@@ -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: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -51,10 +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 {
|
||||
// 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()))
|
||||
// Minimum execution time: 33_181 nanoseconds.
|
||||
Weight::from_ref_time(34_284_379)
|
||||
// Standard Error: 4_703
|
||||
.saturating_add(Weight::from_ref_time(193_150).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -65,10 +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 {
|
||||
// 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()))
|
||||
// Minimum execution time: 43_559 nanoseconds.
|
||||
Weight::from_ref_time(45_014_304)
|
||||
// Standard Error: 6_002
|
||||
.saturating_add(Weight::from_ref_time(232_544).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -79,18 +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 {
|
||||
// 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()))
|
||||
// Minimum execution time: 43_465 nanoseconds.
|
||||
Weight::from_ref_time(45_027_590)
|
||||
// Standard Error: 6_393
|
||||
.saturating_add(Weight::from_ref_time(218_368).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: 41_833 nanoseconds.
|
||||
Weight::from_ref_time(42_243_000)
|
||||
// Minimum execution time: 42_363 nanoseconds.
|
||||
Weight::from_ref_time(43_806_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -99,20 +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 {
|
||||
// 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()))
|
||||
// Minimum execution time: 43_408 nanoseconds.
|
||||
Weight::from_ref_time(37_013_988)
|
||||
// Standard Error: 1_189
|
||||
.saturating_add(Weight::from_ref_time(111_132).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_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()))
|
||||
// Minimum execution time: 40_256 nanoseconds.
|
||||
Weight::from_ref_time(32_461_064)
|
||||
// Standard Error: 1_225
|
||||
.saturating_add(Weight::from_ref_time(87_968).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -122,15 +122,15 @@ 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_822 nanoseconds.
|
||||
Weight::from_ref_time(46_638_000)
|
||||
// Minimum execution time: 54_566 nanoseconds.
|
||||
Weight::from_ref_time(56_705_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_508 nanoseconds.
|
||||
Weight::from_ref_time(35_615_000)
|
||||
// Minimum execution time: 42_417 nanoseconds.
|
||||
Weight::from_ref_time(43_317_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -146,8 +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 {
|
||||
// Minimum execution time: 60_039 nanoseconds.
|
||||
Weight::from_ref_time(61_232_000)
|
||||
// Minimum execution time: 72_982 nanoseconds.
|
||||
Weight::from_ref_time(74_640_000)
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
@@ -160,10 +160,10 @@ 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: 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()))
|
||||
// Minimum execution time: 306_719_494 nanoseconds.
|
||||
Weight::from_ref_time(307_744_759_000)
|
||||
// Standard Error: 264_406
|
||||
.saturating_add(Weight::from_ref_time(37_950_413).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())))
|
||||
@@ -181,12 +181,12 @@ 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_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()))
|
||||
// Minimum execution time: 32_291_015 nanoseconds.
|
||||
Weight::from_ref_time(32_417_150_000)
|
||||
// Standard Error: 470_328
|
||||
.saturating_add(Weight::from_ref_time(40_784_045).saturating_mul(v.into()))
|
||||
// Standard Error: 30_182
|
||||
.saturating_add(Weight::from_ref_time(1_969_474).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())))
|
||||
|
||||
Reference in New Issue
Block a user