update weights (#5767)

* polkadot: update weights

* kusama: update weights

* westend: update weights

* rococo: update weights

* Reduce testing constants (#5787)

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:
Mara Robin B
2022-07-28 21:35:39 +02:00
committed by GitHub
parent bfc9efc944
commit 1a8b087129
128 changed files with 1895 additions and 1895 deletions
@@ -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-06-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-07-07, 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:
@@ -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 {
(25_291_000 as Weight)
// Standard Error: 5_000
.saturating_add((164_000 as Weight).saturating_mul(v as Weight))
(24_737_000 as Weight)
// Standard Error: 6_000
.saturating_add((218_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_627_000 as Weight)
// Standard Error: 12_000
.saturating_add((200_000 as Weight).saturating_mul(v as Weight))
(37_725_000 as Weight)
// Standard Error: 8_000
.saturating_add((222_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,16 +77,16 @@ 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 {
(38_153_000 as Weight)
// Standard Error: 6_000
.saturating_add((159_000 as Weight).saturating_mul(v as Weight))
(37_635_000 as Weight)
// Standard Error: 8_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))
}
// Storage: PhragmenElection Voting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn remove_voter() -> Weight {
(34_316_000 as Weight)
(34_628_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -95,18 +95,18 @@ 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, 200]`.
fn submit_candidacy(c: u32, ) -> Weight {
(35_283_000 as Weight)
(34_877_000 as Weight)
// Standard Error: 0
.saturating_add((125_000 as Weight).saturating_mul(c as Weight))
.saturating_add((140_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]`.
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
(30_277_000 as Weight)
(30_237_000 as Weight)
// Standard Error: 0
.saturating_add((67_000 as Weight).saturating_mul(c as Weight))
.saturating_add((71_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_936_000 as Weight)
(44_610_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_220_000 as Weight)
(32_430_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -137,13 +137,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 remove_member_with_replacement() -> Weight {
(61_276_000 as Weight)
(61_534_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_264_000 as Weight)
(9_256_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
// Storage: PhragmenElection Voting (r:251 w:250)
@@ -154,12 +154,10 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: System Account (r:250 w:250)
/// The range of component `v` is `[250, 500]`.
/// The range of component `d` is `[1, 250]`.
fn clean_defunct_voters(v: u32, d: u32, ) -> Weight {
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 47_000
.saturating_add((49_929_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 46_000
.saturating_add((138_000 as Weight).saturating_mul(d as Weight))
// Standard Error: 61_000
.saturating_add((50_425_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)))
@@ -178,12 +176,12 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
/// The range of component `e` is `[500, 8000]`.
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 3_121_000
.saturating_add((153_885_000 as Weight).saturating_mul(c as Weight))
// Standard Error: 1_298_000
.saturating_add((117_511_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 88_000
.saturating_add((8_170_000 as Weight).saturating_mul(e 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)))
.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)))