Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 4a302d8

Browse files
committed
westend: update weights
1 parent be7bf40 commit 4a302d8

30 files changed

+462
-464
lines changed

runtime/westend/constants/src/weights/block_weights.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
// limitations under the License.
1717

1818
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
19-
//! DATE: 2022-07-29 (Y/M/D)
20-
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
19+
//! DATE: 2022-08-19 (Y/M/D)
20+
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2121
//!
2222
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
2323
//! WARMUPS: `10`, REPEAT: `100`
@@ -45,16 +45,16 @@ parameter_types! {
4545
/// Calculated by multiplying the *Average* with `1` and adding `0`.
4646
///
4747
/// Stats nanoseconds:
48-
/// Min, Max: 5_164_333, 5_384_350
49-
/// Average: 5_251_804
50-
/// Median: 5_253_341
51-
/// Std-Dev: 53972.35
48+
/// Min, Max: 4_929_970, 5_140_248
49+
/// Average: 4_970_728
50+
/// Median: 4_964_665
51+
/// Std-Dev: 37170.72
5252
///
5353
/// Percentiles nanoseconds:
54-
/// 99th: 5_376_408
55-
/// 95th: 5_346_393
56-
/// 75th: 5_286_569
57-
pub const BlockExecutionWeight: Weight = 5_251_804 * WEIGHT_PER_NANOS;
54+
/// 99th: 5_084_427
55+
/// 95th: 5_039_369
56+
/// 75th: 4_991_020
57+
pub const BlockExecutionWeight: Weight = 4_970_728 * WEIGHT_PER_NANOS;
5858
}
5959

6060
#[cfg(test)]

runtime/westend/src/weights/frame_election_provider_support.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
//! Autogenerated weights for `frame_election_provider_support`
1717
//!
1818
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
19-
//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20-
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
19+
//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2121
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
2222
2323
// Executed Command:
@@ -49,19 +49,19 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
4949
/// The range of component `d` is `[5, 16]`.
5050
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
5151
(0 as Weight)
52-
// Standard Error: 58_000
53-
.saturating_add((23_089_000 as Weight).saturating_mul(v as Weight))
54-
// Standard Error: 8_144_000
55-
.saturating_add((3_668_416_000 as Weight).saturating_mul(d as Weight))
52+
// Standard Error: 91_000
53+
.saturating_add((21_885_000 as Weight).saturating_mul(v as Weight))
54+
// Standard Error: 7_862_000
55+
.saturating_add((3_527_431_000 as Weight).saturating_mul(d as Weight))
5656
}
5757
/// The range of component `v` is `[1000, 2000]`.
5858
/// The range of component `t` is `[500, 1000]`.
5959
/// The range of component `d` is `[5, 16]`.
6060
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
6161
(0 as Weight)
62-
// Standard Error: 42_000
63-
.saturating_add((15_778_000 as Weight).saturating_mul(v as Weight))
64-
// Standard Error: 5_877_000
65-
.saturating_add((2_624_648_000 as Weight).saturating_mul(d as Weight))
62+
// Standard Error: 73_000
63+
.saturating_add((15_030_000 as Weight).saturating_mul(v as Weight))
64+
// Standard Error: 6_376_000
65+
.saturating_add((2_571_214_000 as Weight).saturating_mul(d as Weight))
6666
}
6767
}

runtime/westend/src/weights/frame_system.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
//! Autogenerated weights for `frame_system`
1717
//!
1818
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
19-
//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20-
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
19+
//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2121
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
2222
2323
// Executed Command:
@@ -59,7 +59,7 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
5959
// Storage: System Digest (r:1 w:1)
6060
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
6161
fn set_heap_pages() -> Weight {
62-
(5_056_000 as Weight)
62+
(4_936_000 as Weight)
6363
.saturating_add(T::DbWeight::get().reads(1 as Weight))
6464
.saturating_add(T::DbWeight::get().writes(2 as Weight))
6565
}
@@ -68,15 +68,15 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
6868
fn set_storage(i: u32, ) -> Weight {
6969
(0 as Weight)
7070
// Standard Error: 1_000
71-
.saturating_add((538_000 as Weight).saturating_mul(i as Weight))
71+
.saturating_add((541_000 as Weight).saturating_mul(i as Weight))
7272
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
7373
}
7474
// Storage: Skipped Metadata (r:0 w:0)
7575
/// The range of component `i` is `[1, 1000]`.
7676
fn kill_storage(i: u32, ) -> Weight {
7777
(0 as Weight)
7878
// Standard Error: 1_000
79-
.saturating_add((439_000 as Weight).saturating_mul(i as Weight))
79+
.saturating_add((436_000 as Weight).saturating_mul(i as Weight))
8080
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
8181
}
8282
// Storage: Skipped Metadata (r:0 w:0)

runtime/westend/src/weights/pallet_bags_list.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
//! Autogenerated weights for `pallet_bags_list`
1717
//!
1818
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
19-
//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20-
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
19+
//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2121
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
2222
2323
// Executed Command:
@@ -49,7 +49,7 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
4949
// Storage: VoterList ListNodes (r:4 w:4)
5050
// Storage: VoterList ListBags (r:1 w:1)
5151
fn rebag_non_terminal() -> Weight {
52-
(51_111_000 as Weight)
52+
(49_879_000 as Weight)
5353
.saturating_add(T::DbWeight::get().reads(7 as Weight))
5454
.saturating_add(T::DbWeight::get().writes(5 as Weight))
5555
}
@@ -58,7 +58,7 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
5858
// Storage: VoterList ListNodes (r:3 w:3)
5959
// Storage: VoterList ListBags (r:2 w:2)
6060
fn rebag_terminal() -> Weight {
61-
(51_074_000 as Weight)
61+
(48_552_000 as Weight)
6262
.saturating_add(T::DbWeight::get().reads(7 as Weight))
6363
.saturating_add(T::DbWeight::get().writes(5 as Weight))
6464
}
@@ -68,7 +68,7 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
6868
// Storage: VoterList CounterForListNodes (r:1 w:1)
6969
// Storage: VoterList ListBags (r:1 w:1)
7070
fn put_in_front_of() -> Weight {
71-
(53_787_000 as Weight)
71+
(51_430_000 as Weight)
7272
.saturating_add(T::DbWeight::get().reads(10 as Weight))
7373
.saturating_add(T::DbWeight::get().writes(6 as Weight))
7474
}

runtime/westend/src/weights/pallet_balances.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
//! Autogenerated weights for `pallet_balances`
1717
//!
1818
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
19-
//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20-
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
19+
//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2121
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
2222
2323
// Executed Command:
@@ -46,43 +46,43 @@ pub struct WeightInfo<T>(PhantomData<T>);
4646
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
4747
// Storage: System Account (r:1 w:1)
4848
fn transfer() -> Weight {
49-
(38_662_000 as Weight)
49+
(38_789_000 as Weight)
5050
.saturating_add(T::DbWeight::get().reads(1 as Weight))
5151
.saturating_add(T::DbWeight::get().writes(1 as Weight))
5252
}
5353
// Storage: System Account (r:1 w:1)
5454
fn transfer_keep_alive() -> Weight {
55-
(29_683_000 as Weight)
55+
(29_986_000 as Weight)
5656
.saturating_add(T::DbWeight::get().reads(1 as Weight))
5757
.saturating_add(T::DbWeight::get().writes(1 as Weight))
5858
}
5959
// Storage: System Account (r:1 w:1)
6060
fn set_balance_creating() -> Weight {
61-
(20_364_000 as Weight)
61+
(20_160_000 as Weight)
6262
.saturating_add(T::DbWeight::get().reads(1 as Weight))
6363
.saturating_add(T::DbWeight::get().writes(1 as Weight))
6464
}
6565
// Storage: System Account (r:1 w:1)
6666
fn set_balance_killing() -> Weight {
67-
(23_543_000 as Weight)
67+
(23_146_000 as Weight)
6868
.saturating_add(T::DbWeight::get().reads(1 as Weight))
6969
.saturating_add(T::DbWeight::get().writes(1 as Weight))
7070
}
7171
// Storage: System Account (r:2 w:2)
7272
fn force_transfer() -> Weight {
73-
(39_397_000 as Weight)
73+
(39_066_000 as Weight)
7474
.saturating_add(T::DbWeight::get().reads(2 as Weight))
7575
.saturating_add(T::DbWeight::get().writes(2 as Weight))
7676
}
7777
// Storage: System Account (r:1 w:1)
7878
fn transfer_all() -> Weight {
79-
(35_764_000 as Weight)
79+
(34_523_000 as Weight)
8080
.saturating_add(T::DbWeight::get().reads(1 as Weight))
8181
.saturating_add(T::DbWeight::get().writes(1 as Weight))
8282
}
8383
// Storage: System Account (r:1 w:1)
8484
fn force_unreserve() -> Weight {
85-
(17_779_000 as Weight)
85+
(18_078_000 as Weight)
8686
.saturating_add(T::DbWeight::get().reads(1 as Weight))
8787
.saturating_add(T::DbWeight::get().writes(1 as Weight))
8888
}

runtime/westend/src/weights/pallet_election_provider_multi_phase.rs

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
//! Autogenerated weights for `pallet_election_provider_multi_phase`
1717
//!
1818
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
19-
//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20-
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
19+
//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2121
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
2222
2323
// Executed Command:
@@ -53,33 +53,33 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
5353
// Storage: Staking ForceEra (r:1 w:0)
5454
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
5555
fn on_initialize_nothing() -> Weight {
56-
(13_185_000 as Weight)
56+
(12_779_000 as Weight)
5757
.saturating_add(T::DbWeight::get().reads(8 as Weight))
5858
}
5959
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
6060
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
6161
fn on_initialize_open_signed() -> Weight {
62-
(11_931_000 as Weight)
62+
(12_221_000 as Weight)
6363
.saturating_add(T::DbWeight::get().reads(1 as Weight))
6464
.saturating_add(T::DbWeight::get().writes(1 as Weight))
6565
}
6666
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
6767
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
6868
fn on_initialize_open_unsigned() -> Weight {
69-
(12_007_000 as Weight)
69+
(12_394_000 as Weight)
7070
.saturating_add(T::DbWeight::get().reads(1 as Weight))
7171
.saturating_add(T::DbWeight::get().writes(1 as Weight))
7272
}
7373
// Storage: System Account (r:1 w:1)
7474
// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
7575
fn finalize_signed_phase_accept_solution() -> Weight {
76-
(25_810_000 as Weight)
76+
(25_652_000 as Weight)
7777
.saturating_add(T::DbWeight::get().reads(1 as Weight))
7878
.saturating_add(T::DbWeight::get().writes(2 as Weight))
7979
}
8080
// Storage: System Account (r:1 w:1)
8181
fn finalize_signed_phase_reject_solution() -> Weight {
82-
(19_771_000 as Weight)
82+
(19_431_000 as Weight)
8383
.saturating_add(T::DbWeight::get().reads(1 as Weight))
8484
.saturating_add(T::DbWeight::get().writes(1 as Weight))
8585
}
@@ -91,9 +91,9 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
9191
fn create_snapshot_internal(v: u32, t: u32, ) -> Weight {
9292
(0 as Weight)
9393
// Standard Error: 1_000
94-
.saturating_add((391_000 as Weight).saturating_mul(v as Weight))
94+
.saturating_add((397_000 as Weight).saturating_mul(v as Weight))
9595
// Standard Error: 3_000
96-
.saturating_add((90_000 as Weight).saturating_mul(t as Weight))
96+
.saturating_add((100_000 as Weight).saturating_mul(t as Weight))
9797
.saturating_add(T::DbWeight::get().writes(3 as Weight))
9898
}
9999
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
@@ -109,11 +109,11 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
109109
/// The range of component `a` is `[500, 800]`.
110110
/// The range of component `d` is `[200, 400]`.
111111
fn elect_queued(a: u32, d: u32, ) -> Weight {
112-
(42_606_000 as Weight)
113-
// Standard Error: 8_000
114-
.saturating_add((861_000 as Weight).saturating_mul(a as Weight))
115-
// Standard Error: 12_000
116-
.saturating_add((138_000 as Weight).saturating_mul(d as Weight))
112+
(9_172_000 as Weight)
113+
// Standard Error: 6_000
114+
.saturating_add((413_000 as Weight).saturating_mul(a as Weight))
115+
// Standard Error: 9_000
116+
.saturating_add((176_000 as Weight).saturating_mul(d as Weight))
117117
.saturating_add(T::DbWeight::get().reads(7 as Weight))
118118
.saturating_add(T::DbWeight::get().writes(9 as Weight))
119119
}
@@ -124,7 +124,7 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
124124
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
125125
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
126126
fn submit() -> Weight {
127-
(62_541_000 as Weight)
127+
(58_297_000 as Weight)
128128
.saturating_add(T::DbWeight::get().reads(5 as Weight))
129129
.saturating_add(T::DbWeight::get().writes(3 as Weight))
130130
}
@@ -139,16 +139,14 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
139139
/// The range of component `t` is `[500, 1000]`.
140140
/// The range of component `a` is `[500, 800]`.
141141
/// The range of component `d` is `[200, 400]`.
142-
fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
142+
fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight {
143143
(0 as Weight)
144144
// Standard Error: 5_000
145-
.saturating_add((1_143_000 as Weight).saturating_mul(v as Weight))
146-
// Standard Error: 11_000
147-
.saturating_add((82_000 as Weight).saturating_mul(t as Weight))
148-
// Standard Error: 18_000
149-
.saturating_add((8_363_000 as Weight).saturating_mul(a as Weight))
150-
// Standard Error: 28_000
151-
.saturating_add((1_473_000 as Weight).saturating_mul(d as Weight))
145+
.saturating_add((870_000 as Weight).saturating_mul(v as Weight))
146+
// Standard Error: 17_000
147+
.saturating_add((8_088_000 as Weight).saturating_mul(a as Weight))
148+
// Standard Error: 26_000
149+
.saturating_add((1_705_000 as Weight).saturating_mul(d as Weight))
152150
.saturating_add(T::DbWeight::get().reads(7 as Weight))
153151
.saturating_add(T::DbWeight::get().writes(1 as Weight))
154152
}
@@ -163,13 +161,13 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
163161
fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
164162
(0 as Weight)
165163
// Standard Error: 4_000
166-
.saturating_add((1_170_000 as Weight).saturating_mul(v as Weight))
167-
// Standard Error: 9_000
168-
.saturating_add((80_000 as Weight).saturating_mul(t as Weight))
169-
// Standard Error: 16_000
170-
.saturating_add((6_296_000 as Weight).saturating_mul(a as Weight))
171-
// Standard Error: 24_000
172-
.saturating_add((1_405_000 as Weight).saturating_mul(d as Weight))
164+
.saturating_add((829_000 as Weight).saturating_mul(v as Weight))
165+
// Standard Error: 8_000
166+
.saturating_add((46_000 as Weight).saturating_mul(t as Weight))
167+
// Standard Error: 14_000
168+
.saturating_add((5_960_000 as Weight).saturating_mul(a as Weight))
169+
// Standard Error: 21_000
170+
.saturating_add((1_202_000 as Weight).saturating_mul(d as Weight))
173171
.saturating_add(T::DbWeight::get().reads(4 as Weight))
174172
}
175173
}

0 commit comments

Comments
 (0)