mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
update weights (#5844)
* westend: update weights * kusama: update weights * polkadot: update weights * rococo: update weights * update BlockExecutionWeight * kusama: readd phragmen remove_member_wrong_refund weight * polkadot: readd phragmen remove_member_wrong_refund weight
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-07-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, 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:
|
||||
@@ -51,9 +51,9 @@ 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 {
|
||||
(24_737_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((218_000 as Weight).saturating_mul(v as Weight))
|
||||
(26_017_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((196_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
@@ -64,9 +64,9 @@ 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 {
|
||||
(37_725_000 as Weight)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add((222_000 as Weight).saturating_mul(v as Weight))
|
||||
(39_081_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((197_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
@@ -77,36 +77,36 @@ 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 {
|
||||
(37_635_000 as Weight)
|
||||
(39_136_000 as Weight)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add((196_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add((210_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: PhragmenElection Voting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn remove_voter() -> Weight {
|
||||
(34_628_000 as Weight)
|
||||
(35_694_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// 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, 200]`.
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn submit_candidacy(c: u32, ) -> Weight {
|
||||
(34_877_000 as Weight)
|
||||
(28_671_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((140_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add((169_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 200]`.
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
|
||||
(30_237_000 as Weight)
|
||||
(23_893_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((71_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add((102_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
@@ -116,13 +116,13 @@ 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 {
|
||||
(44_610_000 as Weight)
|
||||
(45_187_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
fn renounce_candidacy_runners_up() -> Weight {
|
||||
(32_430_000 as Weight)
|
||||
(32_879_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
@@ -130,34 +130,33 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
fn remove_member_without_replacement() -> Weight {
|
||||
(2_000_000_000_000 as Weight)
|
||||
}
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
// Storage: Council Prime (r:1 w:1)
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn remove_member_with_replacement() -> Weight {
|
||||
(61_534_000 as Weight)
|
||||
(61_875_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
||||
}
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:0)
|
||||
fn remove_member_wrong_refund() -> Weight {
|
||||
(9_256_000 as Weight)
|
||||
(9_264_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
}
|
||||
// Storage: PhragmenElection Voting (r:251 w:250)
|
||||
// Storage: PhragmenElection Voting (r:5001 w:5000)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:0)
|
||||
// Storage: PhragmenElection Candidates (r:1 w:0)
|
||||
// Storage: Balances Locks (r:250 w:250)
|
||||
// Storage: System Account (r:250 w:250)
|
||||
/// The range of component `v` is `[250, 500]`.
|
||||
/// The range of component `d` is `[1, 250]`.
|
||||
// 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 {
|
||||
(0 as Weight)
|
||||
// Standard Error: 61_000
|
||||
.saturating_add((50_425_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 59_000
|
||||
.saturating_add((60_568_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(v as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(v as Weight)))
|
||||
@@ -165,24 +164,23 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
|
||||
// Storage: PhragmenElection Candidates (r:1 w:1)
|
||||
// Storage: PhragmenElection Members (r:1 w:1)
|
||||
// Storage: PhragmenElection RunnersUp (r:1 w:1)
|
||||
// Storage: PhragmenElection Voting (r:502 w:0)
|
||||
// Storage: PhragmenElection Voting (r:10001 w:0)
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: PhragmenElection ElectionRounds (r:1 w:1)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
// Storage: Council Prime (r:0 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// The range of component `c` is `[1, 200]`.
|
||||
/// The range of component `v` is `[1, 500]`.
|
||||
/// The range of component `e` is `[500, 8000]`.
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
/// 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 {
|
||||
(0 as Weight)
|
||||
// Standard Error: 4_889_000
|
||||
.saturating_add((276_631_000 as Weight).saturating_mul(c as Weight))
|
||||
// Standard Error: 2_033_000
|
||||
.saturating_add((203_540_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 138_000
|
||||
.saturating_add((13_177_000 as Weight).saturating_mul(e as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
||||
// Standard Error: 1_843_000
|
||||
.saturating_add((164_671_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 123_000
|
||||
.saturating_add((9_554_000 as Weight).saturating_mul(e as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(265 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user