update weights (#5704)

* westend: update weights

* kusama: update weights

* polkadot: update weights

* rococo: update weights
This commit is contained in:
Mara Robin B
2022-06-21 12:58:01 +02:00
committed by GitHub
parent 5c2da4e4d8
commit 8ef2b701c1
127 changed files with 2614 additions and 1951 deletions
@@ -16,7 +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-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-06-20, 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:
@@ -30,7 +31,6 @@
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/pallet_elections_phragmen.rs
@@ -49,10 +49,11 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: PhragmenElection RunnersUp (r:1 w:0)
// Storage: PhragmenElection Voting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// The range of component `v` is `[1, 16]`.
fn vote_equal(v: u32, ) -> Weight {
(21_284_000 as Weight)
(25_291_000 as Weight)
// Standard Error: 5_000
.saturating_add((169_000 as Weight).saturating_mul(v as Weight))
.saturating_add((164_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))
}
@@ -61,10 +62,11 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: PhragmenElection RunnersUp (r:1 w:0)
// Storage: PhragmenElection Voting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// The range of component `v` is `[2, 16]`.
fn vote_more(v: u32, ) -> Weight {
(32_960_000 as Weight)
// Standard Error: 7_000
.saturating_add((194_000 as Weight).saturating_mul(v as Weight))
(37_627_000 as Weight)
// Standard Error: 12_000
.saturating_add((200_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))
}
@@ -73,35 +75,38 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: PhragmenElection RunnersUp (r:1 w:0)
// Storage: PhragmenElection Voting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// The range of component `v` is `[2, 16]`.
fn vote_less(v: u32, ) -> Weight {
(33_012_000 as Weight)
// Standard Error: 8_000
.saturating_add((202_000 as Weight).saturating_mul(v as Weight))
(38_153_000 as Weight)
// Standard Error: 6_000
.saturating_add((159_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 {
(29_450_000 as Weight)
(34_316_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]`.
fn submit_candidacy(c: u32, ) -> Weight {
(30_340_000 as Weight)
(35_283_000 as Weight)
// Standard Error: 0
.saturating_add((124_000 as Weight).saturating_mul(c as Weight))
.saturating_add((125_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 {
(25_217_000 as Weight)
(30_277_000 as Weight)
// Standard Error: 0
.saturating_add((65_000 as Weight).saturating_mul(c as Weight))
.saturating_add((67_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))
}
@@ -111,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 {
(38_840_000 as Weight)
(44_936_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 {
(27_200_000 as Weight)
(32_220_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -132,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 {
(54_067_000 as Weight)
(61_276_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 {
(5_067_000 as Weight)
(9_264_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
// Storage: PhragmenElection Voting (r:251 w:250)
@@ -147,10 +152,14 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: PhragmenElection Candidates (r:1 w:0)
// Storage: Balances Locks (r:250 w:250)
// Storage: System Account (r:250 w:250)
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
/// 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 {
(0 as Weight)
// Standard Error: 40_000
.saturating_add((48_208_000 as Weight).saturating_mul(v 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))
.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)))
@@ -164,14 +173,17 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// 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]`.
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 3_078_000
.saturating_add((150_400_000 as Weight).saturating_mul(c as Weight))
// Standard Error: 1_280_000
.saturating_add((115_127_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 87_000
.saturating_add((8_019_000 as Weight).saturating_mul(e 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))
.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)))