Update all weights (#13614)

* Empty commit

* ".git/.scripts/commands/bench/bench.sh" all

---------

Co-authored-by: Alexander Theißen <alex.theissen@me.com>
Co-authored-by: command-bot <>
This commit is contained in:
Oliver Tale-Yazdi
2023-03-16 17:57:45 +01:00
committed by GitHub
parent b117dbdf08
commit 3a3d93afee
48 changed files with 6017 additions and 6041 deletions
+135 -133
View File
@@ -18,26 +18,28 @@
//! Autogenerated weights for pallet_elections_phragmen
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-b3zmxxc-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// target/production/substrate
// ./target/production/substrate
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_elections_phragmen
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/substrate/.git/.artifacts/bench.json
// --pallet=pallet_elections_phragmen
// --chain=dev
// --header=./HEADER-APACHE2
// --output=./frame/elections-phragmen/src/weights.rs
// --header=./HEADER-APACHE2
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -79,12 +81,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `v` is `[1, 16]`.
fn vote_equal(v: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `499 + v * (80 ±0)`
// Estimated: `9726 + v * (320 ±0)`
// Minimum execution time: 27_362 nanoseconds.
Weight::from_parts(28_497_963, 9726)
// Standard Error: 3_968
.saturating_add(Weight::from_parts(176_840, 0).saturating_mul(v.into()))
// Measured: `403 + v * (80 ±0)`
// Estimated: `14292 + v * (320 ±0)`
// Minimum execution time: 30_206_000 picoseconds.
Weight::from_parts(30_696_455, 14292)
// Standard Error: 1_864
.saturating_add(Weight::from_parts(124_941, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into()))
@@ -102,12 +104,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `v` is `[2, 16]`.
fn vote_more(v: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `467 + v * (80 ±0)`
// Estimated: `9598 + v * (320 ±0)`
// Minimum execution time: 37_120 nanoseconds.
Weight::from_parts(38_455_302, 9598)
// Standard Error: 5_478
.saturating_add(Weight::from_parts(219_678, 0).saturating_mul(v.into()))
// Measured: `371 + v * (80 ±0)`
// Estimated: `14164 + v * (320 ±0)`
// Minimum execution time: 40_331_000 picoseconds.
Weight::from_parts(40_936_971, 14164)
// Standard Error: 2_377
.saturating_add(Weight::from_parts(142_332, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into()))
@@ -125,12 +127,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `v` is `[2, 16]`.
fn vote_less(v: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `499 + v * (80 ±0)`
// Estimated: `9726 + v * (320 ±0)`
// Minimum execution time: 36_928 nanoseconds.
Weight::from_parts(38_334_669, 9726)
// Standard Error: 5_271
.saturating_add(Weight::from_parts(232_355, 0).saturating_mul(v.into()))
// Measured: `403 + v * (80 ±0)`
// Estimated: `14292 + v * (320 ±0)`
// Minimum execution time: 40_343_000 picoseconds.
Weight::from_parts(41_055_673, 14292)
// Standard Error: 3_150
.saturating_add(Weight::from_parts(129_894, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into()))
@@ -141,10 +143,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn remove_voter() -> Weight {
// Proof Size summary in bytes:
// Measured: `989`
// Estimated: `7238`
// Minimum execution time: 34_338 nanoseconds.
Weight::from_parts(35_672_000, 7238)
// Measured: `925`
// Estimated: `9154`
// Minimum execution time: 36_348_000 picoseconds.
Weight::from_parts(36_677_000, 9154)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -157,12 +159,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `c` is `[1, 64]`.
fn submit_candidacy(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1697 + c * (48 ±0)`
// Estimated: `6576 + c * (144 ±0)`
// Minimum execution time: 31_864 nanoseconds.
Weight::from_parts(33_490_161, 6576)
// Standard Error: 2_643
.saturating_add(Weight::from_parts(158_386, 0).saturating_mul(c.into()))
// Measured: `1570 + c * (48 ±0)`
// Estimated: `9165 + c * (144 ±0)`
// Minimum execution time: 32_963_000 picoseconds.
Weight::from_parts(33_778_406, 9165)
// Standard Error: 2_792
.saturating_add(Weight::from_parts(71_214, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 144).saturating_mul(c.into()))
@@ -172,12 +174,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `c` is `[1, 64]`.
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `349 + c * (48 ±0)`
// Estimated: `844 + c * (48 ±0)`
// Minimum execution time: 27_292 nanoseconds.
Weight::from_parts(28_364_955, 844)
// Standard Error: 1_335
.saturating_add(Weight::from_parts(78_086, 0).saturating_mul(c.into()))
// Measured: `285 + c * (48 ±0)`
// Estimated: `1770 + c * (48 ±0)`
// Minimum execution time: 26_462_000 picoseconds.
Weight::from_parts(27_289_268, 1770)
// Standard Error: 915
.saturating_add(Weight::from_parts(45_079, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into()))
@@ -194,10 +196,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
fn renounce_candidacy_members() -> Weight {
// Proof Size summary in bytes:
// Measured: `2027`
// Estimated: `12115`
// Minimum execution time: 45_975 nanoseconds.
Weight::from_parts(47_103_000, 12115)
// Measured: `1900`
// Estimated: `15440`
// Minimum execution time: 44_414_000 picoseconds.
Weight::from_parts(44_900_000, 15440)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -205,10 +207,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
fn renounce_candidacy_runners_up() -> Weight {
// Proof Size summary in bytes:
// Measured: `975`
// Estimated: `1470`
// Minimum execution time: 29_243 nanoseconds.
Weight::from_parts(30_582_000, 1470)
// Measured: `880`
// Estimated: `2365`
// Minimum execution time: 28_688_000 picoseconds.
Weight::from_parts(29_027_000, 2365)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -218,7 +220,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_000_000_000 nanoseconds.
// Minimum execution time: 2_000_000_000_000 picoseconds.
Weight::from_parts(2_000_000_000_000, 0)
}
/// Storage: Elections Members (r:1 w:1)
@@ -235,10 +237,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
fn remove_member_with_replacement() -> Weight {
// Proof Size summary in bytes:
// Measured: `2027`
// Estimated: `14718`
// Minimum execution time: 52_527 nanoseconds.
Weight::from_parts(53_538_000, 14718)
// Measured: `1900`
// Estimated: `19033`
// Minimum execution time: 50_280_000 picoseconds.
Weight::from_parts(50_906_000, 19033)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -258,16 +260,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `d` is `[0, 256]`.
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1115 + v * (875 ±0)`
// Estimated: `8448 + v * (12352 ±0)`
// Minimum execution time: 14_934_185 nanoseconds.
Weight::from_parts(15_014_057_000, 8448)
// Standard Error: 245_588
.saturating_add(Weight::from_parts(35_586_946, 0).saturating_mul(v.into()))
// Measured: `1115 + v * (811 ±0)`
// Estimated: `14388 + v * (12096 ±0)`
// Minimum execution time: 14_785_043_000 picoseconds.
Weight::from_parts(14_842_583_000, 14388)
// Standard Error: 242_757
.saturating_add(Weight::from_parts(36_168_971, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into())))
.saturating_add(Weight::from_parts(0, 12352).saturating_mul(v.into()))
.saturating_add(Weight::from_parts(0, 12096).saturating_mul(v.into()))
}
/// Storage: Elections Candidates (r:1 w:1)
/// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured)
@@ -292,20 +294,20 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `e` is `[512, 8192]`.
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + v * (638 ±0) + e * (28 ±0)`
// Estimated: `330033 + v * (5229 ±6) + e * (89 ±0) + c * (2135 ±7)`
// Minimum execution time: 1_273_671 nanoseconds.
Weight::from_parts(1_279_716_000, 330033)
// Standard Error: 543_277
.saturating_add(Weight::from_parts(20_613_753, 0).saturating_mul(v.into()))
// Standard Error: 34_857
.saturating_add(Weight::from_parts(688_354, 0).saturating_mul(e.into()))
// Measured: `0 + v * (606 ±0) + e * (28 ±0)`
// Estimated: `309059 + v * (5005 ±8) + e * (89 ±0) + c * (2135 ±7)`
// Minimum execution time: 1_074_961_000 picoseconds.
Weight::from_parts(1_079_460_000, 309059)
// Standard Error: 598_993
.saturating_add(Weight::from_parts(17_097_981, 0).saturating_mul(v.into()))
// Standard Error: 38_432
.saturating_add(Weight::from_parts(820_141, 0).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(21_u64))
.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_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_parts(0, 5229).saturating_mul(v.into()))
.saturating_add(Weight::from_parts(0, 5005).saturating_mul(v.into()))
.saturating_add(Weight::from_parts(0, 89).saturating_mul(e.into()))
.saturating_add(Weight::from_parts(0, 2135).saturating_mul(c.into()))
}
@@ -326,12 +328,12 @@ impl WeightInfo for () {
/// The range of component `v` is `[1, 16]`.
fn vote_equal(v: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `499 + v * (80 ±0)`
// Estimated: `9726 + v * (320 ±0)`
// Minimum execution time: 27_362 nanoseconds.
Weight::from_parts(28_497_963, 9726)
// Standard Error: 3_968
.saturating_add(Weight::from_parts(176_840, 0).saturating_mul(v.into()))
// Measured: `403 + v * (80 ±0)`
// Estimated: `14292 + v * (320 ±0)`
// Minimum execution time: 30_206_000 picoseconds.
Weight::from_parts(30_696_455, 14292)
// Standard Error: 1_864
.saturating_add(Weight::from_parts(124_941, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into()))
@@ -349,12 +351,12 @@ impl WeightInfo for () {
/// The range of component `v` is `[2, 16]`.
fn vote_more(v: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `467 + v * (80 ±0)`
// Estimated: `9598 + v * (320 ±0)`
// Minimum execution time: 37_120 nanoseconds.
Weight::from_parts(38_455_302, 9598)
// Standard Error: 5_478
.saturating_add(Weight::from_parts(219_678, 0).saturating_mul(v.into()))
// Measured: `371 + v * (80 ±0)`
// Estimated: `14164 + v * (320 ±0)`
// Minimum execution time: 40_331_000 picoseconds.
Weight::from_parts(40_936_971, 14164)
// Standard Error: 2_377
.saturating_add(Weight::from_parts(142_332, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into()))
@@ -372,12 +374,12 @@ impl WeightInfo for () {
/// The range of component `v` is `[2, 16]`.
fn vote_less(v: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `499 + v * (80 ±0)`
// Estimated: `9726 + v * (320 ±0)`
// Minimum execution time: 36_928 nanoseconds.
Weight::from_parts(38_334_669, 9726)
// Standard Error: 5_271
.saturating_add(Weight::from_parts(232_355, 0).saturating_mul(v.into()))
// Measured: `403 + v * (80 ±0)`
// Estimated: `14292 + v * (320 ±0)`
// Minimum execution time: 40_343_000 picoseconds.
Weight::from_parts(41_055_673, 14292)
// Standard Error: 3_150
.saturating_add(Weight::from_parts(129_894, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into()))
@@ -388,10 +390,10 @@ impl WeightInfo for () {
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn remove_voter() -> Weight {
// Proof Size summary in bytes:
// Measured: `989`
// Estimated: `7238`
// Minimum execution time: 34_338 nanoseconds.
Weight::from_parts(35_672_000, 7238)
// Measured: `925`
// Estimated: `9154`
// Minimum execution time: 36_348_000 picoseconds.
Weight::from_parts(36_677_000, 9154)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -404,12 +406,12 @@ impl WeightInfo for () {
/// The range of component `c` is `[1, 64]`.
fn submit_candidacy(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1697 + c * (48 ±0)`
// Estimated: `6576 + c * (144 ±0)`
// Minimum execution time: 31_864 nanoseconds.
Weight::from_parts(33_490_161, 6576)
// Standard Error: 2_643
.saturating_add(Weight::from_parts(158_386, 0).saturating_mul(c.into()))
// Measured: `1570 + c * (48 ±0)`
// Estimated: `9165 + c * (144 ±0)`
// Minimum execution time: 32_963_000 picoseconds.
Weight::from_parts(33_778_406, 9165)
// Standard Error: 2_792
.saturating_add(Weight::from_parts(71_214, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 144).saturating_mul(c.into()))
@@ -419,12 +421,12 @@ impl WeightInfo for () {
/// The range of component `c` is `[1, 64]`.
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `349 + c * (48 ±0)`
// Estimated: `844 + c * (48 ±0)`
// Minimum execution time: 27_292 nanoseconds.
Weight::from_parts(28_364_955, 844)
// Standard Error: 1_335
.saturating_add(Weight::from_parts(78_086, 0).saturating_mul(c.into()))
// Measured: `285 + c * (48 ±0)`
// Estimated: `1770 + c * (48 ±0)`
// Minimum execution time: 26_462_000 picoseconds.
Weight::from_parts(27_289_268, 1770)
// Standard Error: 915
.saturating_add(Weight::from_parts(45_079, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into()))
@@ -441,10 +443,10 @@ impl WeightInfo for () {
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
fn renounce_candidacy_members() -> Weight {
// Proof Size summary in bytes:
// Measured: `2027`
// Estimated: `12115`
// Minimum execution time: 45_975 nanoseconds.
Weight::from_parts(47_103_000, 12115)
// Measured: `1900`
// Estimated: `15440`
// Minimum execution time: 44_414_000 picoseconds.
Weight::from_parts(44_900_000, 15440)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -452,10 +454,10 @@ impl WeightInfo for () {
/// Proof Skipped: Elections RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
fn renounce_candidacy_runners_up() -> Weight {
// Proof Size summary in bytes:
// Measured: `975`
// Estimated: `1470`
// Minimum execution time: 29_243 nanoseconds.
Weight::from_parts(30_582_000, 1470)
// Measured: `880`
// Estimated: `2365`
// Minimum execution time: 28_688_000 picoseconds.
Weight::from_parts(29_027_000, 2365)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -465,7 +467,7 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_000_000_000 nanoseconds.
// Minimum execution time: 2_000_000_000_000 picoseconds.
Weight::from_parts(2_000_000_000_000, 0)
}
/// Storage: Elections Members (r:1 w:1)
@@ -482,10 +484,10 @@ impl WeightInfo for () {
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
fn remove_member_with_replacement() -> Weight {
// Proof Size summary in bytes:
// Measured: `2027`
// Estimated: `14718`
// Minimum execution time: 52_527 nanoseconds.
Weight::from_parts(53_538_000, 14718)
// Measured: `1900`
// Estimated: `19033`
// Minimum execution time: 50_280_000 picoseconds.
Weight::from_parts(50_906_000, 19033)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -505,16 +507,16 @@ impl WeightInfo for () {
/// The range of component `d` is `[0, 256]`.
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1115 + v * (875 ±0)`
// Estimated: `8448 + v * (12352 ±0)`
// Minimum execution time: 14_934_185 nanoseconds.
Weight::from_parts(15_014_057_000, 8448)
// Standard Error: 245_588
.saturating_add(Weight::from_parts(35_586_946, 0).saturating_mul(v.into()))
// Measured: `1115 + v * (811 ±0)`
// Estimated: `14388 + v * (12096 ±0)`
// Minimum execution time: 14_785_043_000 picoseconds.
Weight::from_parts(14_842_583_000, 14388)
// Standard Error: 242_757
.saturating_add(Weight::from_parts(36_168_971, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(v.into())))
.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(v.into())))
.saturating_add(Weight::from_parts(0, 12352).saturating_mul(v.into()))
.saturating_add(Weight::from_parts(0, 12096).saturating_mul(v.into()))
}
/// Storage: Elections Candidates (r:1 w:1)
/// Proof Skipped: Elections Candidates (max_values: Some(1), max_size: None, mode: Measured)
@@ -539,20 +541,20 @@ impl WeightInfo for () {
/// The range of component `e` is `[512, 8192]`.
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + v * (638 ±0) + e * (28 ±0)`
// Estimated: `330033 + v * (5229 ±6) + e * (89 ±0) + c * (2135 ±7)`
// Minimum execution time: 1_273_671 nanoseconds.
Weight::from_parts(1_279_716_000, 330033)
// Standard Error: 543_277
.saturating_add(Weight::from_parts(20_613_753, 0).saturating_mul(v.into()))
// Standard Error: 34_857
.saturating_add(Weight::from_parts(688_354, 0).saturating_mul(e.into()))
// Measured: `0 + v * (606 ±0) + e * (28 ±0)`
// Estimated: `309059 + v * (5005 ±8) + e * (89 ±0) + c * (2135 ±7)`
// Minimum execution time: 1_074_961_000 picoseconds.
Weight::from_parts(1_079_460_000, 309059)
// Standard Error: 598_993
.saturating_add(Weight::from_parts(17_097_981, 0).saturating_mul(v.into()))
// Standard Error: 38_432
.saturating_add(Weight::from_parts(820_141, 0).saturating_mul(e.into()))
.saturating_add(RocksDbWeight::get().reads(21_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(RocksDbWeight::get().writes(6_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_parts(0, 5229).saturating_mul(v.into()))
.saturating_add(Weight::from_parts(0, 5005).saturating_mul(v.into()))
.saturating_add(Weight::from_parts(0, 89).saturating_mul(e.into()))
.saturating_add(Weight::from_parts(0, 2135).saturating_mul(c.into()))
}