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

Commit 35a0d14

Browse files
authored
update weights (#7150)
* polkadot: update weights * westend: update weights * kusama: update weights * rococo: update weights
1 parent 9327fb6 commit 35a0d14

File tree

163 files changed

+7530
-6798
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+7530
-6798
lines changed

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

+11-10
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313

1414
// You should have received a copy of the GNU General Public License
1515
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
16+
1617
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
17-
//! DATE: 2023-03-16 (Y/M/D)
18-
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
18+
//! DATE: 2023-04-28 (Y/M/D)
19+
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
1920
//!
2021
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
2122
//! WARMUPS: `10`, REPEAT: `100`
@@ -42,17 +43,17 @@ parameter_types! {
4243
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
4344
///
4445
/// Stats nanoseconds:
45-
/// Min, Max: 6_708_387, 7_042_534
46-
/// Average: 6_818_965
47-
/// Median: 6_826_464
48-
/// Std-Dev: 66350.7
46+
/// Min, Max: 3_425_466, 3_609_886
47+
/// Average: 3_467_068
48+
/// Median: 3_449_072
49+
/// Std-Dev: 36835.22
4950
///
5051
/// Percentiles nanoseconds:
51-
/// 99th: 6_991_352
52-
/// 95th: 6_933_543
53-
/// 75th: 6_854_332
52+
/// 99th: 3_600_149
53+
/// 95th: 3_542_240
54+
/// 75th: 3_479_155
5455
pub const BlockExecutionWeight: Weight =
55-
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(6_818_965), 0);
56+
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(3_467_068), 0);
5657
}
5758

5859
#[cfg(test)]

runtime/kusama/constants/src/weights/extrinsic_weights.rs

+11-10
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313

1414
// You should have received a copy of the GNU General Public License
1515
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
16+
1617
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
17-
//! DATE: 2023-03-16 (Y/M/D)
18-
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
18+
//! DATE: 2023-04-28 (Y/M/D)
19+
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
1920
//!
2021
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
2122
//! WARMUPS: `10`, REPEAT: `100`
@@ -42,17 +43,17 @@ parameter_types! {
4243
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
4344
///
4445
/// Stats nanoseconds:
45-
/// Min, Max: 105_285, 107_713
46-
/// Average: 106_013
47-
/// Median: 105_990
48-
/// Std-Dev: 441.55
46+
/// Min, Max: 110_261, 112_028
47+
/// Average: 110_921
48+
/// Median: 110_835
49+
/// Std-Dev: 357.12
4950
///
5051
/// Percentiles nanoseconds:
51-
/// 99th: 107_324
52-
/// 95th: 106_820
53-
/// 75th: 106_178
52+
/// 99th: 111_911
53+
/// 95th: 111_630
54+
/// 75th: 111_113
5455
pub const ExtrinsicBaseWeight: Weight =
55-
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(106_013), 0);
56+
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(110_921), 0);
5657
}
5758

5859
#[cfg(test)]

runtime/kusama/src/weights/frame_benchmarking_baseline.rs

+19-17
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313

1414
// You should have received a copy of the GNU General Public License
1515
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
16+
1617
//! Autogenerated weights for `frame_benchmarking::baseline`
1718
//!
1819
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
19-
//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2021
//! WORST CASE MAP SIZE: `1000000`
21-
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
22+
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2223
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
2324
2425
// Executed Command:
@@ -38,9 +39,10 @@
3839
#![cfg_attr(rustfmt, rustfmt_skip)]
3940
#![allow(unused_parens)]
4041
#![allow(unused_imports)]
42+
#![allow(missing_docs)]
4143

4244
use frame_support::{traits::Get, weights::Weight};
43-
use sp_std::marker::PhantomData;
45+
use core::marker::PhantomData;
4446

4547
/// Weight functions for `frame_benchmarking::baseline`.
4648
pub struct WeightInfo<T>(PhantomData<T>);
@@ -50,54 +52,54 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh
5052
// Proof Size summary in bytes:
5153
// Measured: `0`
5254
// Estimated: `0`
53-
// Minimum execution time: 181_000 picoseconds.
54-
Weight::from_parts(213_057, 0)
55+
// Minimum execution time: 182_000 picoseconds.
56+
Weight::from_parts(205_425, 0)
5557
.saturating_add(Weight::from_parts(0, 0))
5658
}
5759
/// The range of component `i` is `[0, 1000000]`.
5860
fn subtraction(_i: u32, ) -> Weight {
5961
// Proof Size summary in bytes:
6062
// Measured: `0`
6163
// Estimated: `0`
62-
// Minimum execution time: 187_000 picoseconds.
63-
Weight::from_parts(218_567, 0)
64+
// Minimum execution time: 181_000 picoseconds.
65+
Weight::from_parts(211_154, 0)
6466
.saturating_add(Weight::from_parts(0, 0))
6567
}
6668
/// The range of component `i` is `[0, 1000000]`.
6769
fn multiplication(_i: u32, ) -> Weight {
6870
// Proof Size summary in bytes:
6971
// Measured: `0`
7072
// Estimated: `0`
71-
// Minimum execution time: 186_000 picoseconds.
72-
Weight::from_parts(217_697, 0)
73+
// Minimum execution time: 181_000 picoseconds.
74+
Weight::from_parts(213_770, 0)
7375
.saturating_add(Weight::from_parts(0, 0))
7476
}
7577
/// The range of component `i` is `[0, 1000000]`.
7678
fn division(_i: u32, ) -> Weight {
7779
// Proof Size summary in bytes:
7880
// Measured: `0`
7981
// Estimated: `0`
80-
// Minimum execution time: 175_000 picoseconds.
81-
Weight::from_parts(215_174, 0)
82+
// Minimum execution time: 182_000 picoseconds.
83+
Weight::from_parts(205_830, 0)
8284
.saturating_add(Weight::from_parts(0, 0))
8385
}
8486
fn hashing() -> Weight {
8587
// Proof Size summary in bytes:
8688
// Measured: `0`
8789
// Estimated: `0`
88-
// Minimum execution time: 19_355_019_000 picoseconds.
89-
Weight::from_parts(19_438_410_000, 0)
90+
// Minimum execution time: 19_204_192_000 picoseconds.
91+
Weight::from_parts(19_387_813_000, 0)
9092
.saturating_add(Weight::from_parts(0, 0))
9193
}
9294
/// The range of component `i` is `[0, 100]`.
9395
fn sr25519_verification(i: u32, ) -> Weight {
9496
// Proof Size summary in bytes:
9597
// Measured: `0`
9698
// Estimated: `0`
97-
// Minimum execution time: 215_000 picoseconds.
98-
Weight::from_parts(225_000, 0)
99+
// Minimum execution time: 201_000 picoseconds.
100+
Weight::from_parts(216_000, 0)
99101
.saturating_add(Weight::from_parts(0, 0))
100-
// Standard Error: 21_389
101-
.saturating_add(Weight::from_parts(47_593_832, 0).saturating_mul(i.into()))
102+
// Standard Error: 7_416
103+
.saturating_add(Weight::from_parts(46_946_123, 0).saturating_mul(i.into()))
102104
}
103105
}

runtime/kusama/src/weights/frame_election_provider_support.rs

+17-15
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313

1414
// You should have received a copy of the GNU General Public License
1515
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
16+
1617
//! Autogenerated weights for `frame_election_provider_support`
1718
//!
1819
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
19-
//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2021
//! WORST CASE MAP SIZE: `1000000`
21-
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
22+
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2223
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
2324
2425
// Executed Command:
@@ -38,9 +39,10 @@
3839
#![cfg_attr(rustfmt, rustfmt_skip)]
3940
#![allow(unused_parens)]
4041
#![allow(unused_imports)]
42+
#![allow(missing_docs)]
4143

4244
use frame_support::{traits::Get, weights::Weight};
43-
use sp_std::marker::PhantomData;
45+
use core::marker::PhantomData;
4446

4547
/// Weight functions for `frame_election_provider_support`.
4648
pub struct WeightInfo<T>(PhantomData<T>);
@@ -52,13 +54,13 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
5254
// Proof Size summary in bytes:
5355
// Measured: `0`
5456
// Estimated: `0`
55-
// Minimum execution time: 6_408_324_000 picoseconds.
56-
Weight::from_parts(6_485_200_000, 0)
57+
// Minimum execution time: 6_592_602_000 picoseconds.
58+
Weight::from_parts(6_624_542_000, 0)
5759
.saturating_add(Weight::from_parts(0, 0))
58-
// Standard Error: 141_569
59-
.saturating_add(Weight::from_parts(5_934_369, 0).saturating_mul(v.into()))
60-
// Standard Error: 14_473_545
61-
.saturating_add(Weight::from_parts(1_546_857_142, 0).saturating_mul(d.into()))
60+
// Standard Error: 146_810
61+
.saturating_add(Weight::from_parts(6_132_062, 0).saturating_mul(v.into()))
62+
// Standard Error: 15_009_354
63+
.saturating_add(Weight::from_parts(1_608_749_783, 0).saturating_mul(d.into()))
6264
}
6365
/// The range of component `v` is `[1000, 2000]`.
6466
/// The range of component `t` is `[500, 1000]`.
@@ -67,12 +69,12 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
6769
// Proof Size summary in bytes:
6870
// Measured: `0`
6971
// Estimated: `0`
70-
// Minimum execution time: 4_994_312_000 picoseconds.
71-
Weight::from_parts(5_043_278_000, 0)
72+
// Minimum execution time: 4_594_449_000 picoseconds.
73+
Weight::from_parts(4_624_318_000, 0)
7274
.saturating_add(Weight::from_parts(0, 0))
73-
// Standard Error: 153_800
74-
.saturating_add(Weight::from_parts(5_926_584, 0).saturating_mul(v.into()))
75-
// Standard Error: 15_724_043
76-
.saturating_add(Weight::from_parts(1_841_670_903, 0).saturating_mul(d.into()))
75+
// Standard Error: 125_306
76+
.saturating_add(Weight::from_parts(4_982_326, 0).saturating_mul(v.into()))
77+
// Standard Error: 12_810_878
78+
.saturating_add(Weight::from_parts(1_455_352_897, 0).saturating_mul(d.into()))
7779
}
7880
}

runtime/kusama/src/weights/frame_system.rs

+28-26
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313

1414
// You should have received a copy of the GNU General Public License
1515
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
16+
1617
//! Autogenerated weights for `frame_system`
1718
//!
1819
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
19-
//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2021
//! WORST CASE MAP SIZE: `1000000`
21-
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
22+
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2223
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
2324
2425
// Executed Command:
@@ -38,9 +39,10 @@
3839
#![cfg_attr(rustfmt, rustfmt_skip)]
3940
#![allow(unused_parens)]
4041
#![allow(unused_imports)]
42+
#![allow(missing_docs)]
4143

4244
use frame_support::{traits::Get, weights::Weight};
43-
use sp_std::marker::PhantomData;
45+
use core::marker::PhantomData;
4446

4547
/// Weight functions for `frame_system`.
4648
pub struct WeightInfo<T>(PhantomData<T>);
@@ -50,22 +52,22 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
5052
// Proof Size summary in bytes:
5153
// Measured: `0`
5254
// Estimated: `0`
53-
// Minimum execution time: 2_184_000 picoseconds.
54-
Weight::from_parts(2_232_000, 0)
55+
// Minimum execution time: 2_539_000 picoseconds.
56+
Weight::from_parts(2_627_000, 0)
5557
.saturating_add(Weight::from_parts(0, 0))
5658
// Standard Error: 0
57-
.saturating_add(Weight::from_parts(374, 0).saturating_mul(b.into()))
59+
.saturating_add(Weight::from_parts(365, 0).saturating_mul(b.into()))
5860
}
5961
/// The range of component `b` is `[0, 3932160]`.
6062
fn remark_with_event(b: u32, ) -> Weight {
6163
// Proof Size summary in bytes:
6264
// Measured: `0`
6365
// Estimated: `0`
64-
// Minimum execution time: 7_626_000 picoseconds.
65-
Weight::from_parts(7_777_000, 0)
66+
// Minimum execution time: 8_055_000 picoseconds.
67+
Weight::from_parts(8_173_000, 0)
6668
.saturating_add(Weight::from_parts(0, 0))
6769
// Standard Error: 0
68-
.saturating_add(Weight::from_parts(1_410, 0).saturating_mul(b.into()))
70+
.saturating_add(Weight::from_parts(1_398, 0).saturating_mul(b.into()))
6971
}
7072
/// Storage: System Digest (r:1 w:1)
7173
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
@@ -75,8 +77,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
7577
// Proof Size summary in bytes:
7678
// Measured: `0`
7779
// Estimated: `1485`
78-
// Minimum execution time: 4_094_000 picoseconds.
79-
Weight::from_parts(4_332_000, 0)
80+
// Minimum execution time: 4_417_000 picoseconds.
81+
Weight::from_parts(4_671_000, 0)
8082
.saturating_add(Weight::from_parts(0, 1485))
8183
.saturating_add(T::DbWeight::get().reads(1))
8284
.saturating_add(T::DbWeight::get().writes(2))
@@ -88,11 +90,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
8890
// Proof Size summary in bytes:
8991
// Measured: `0`
9092
// Estimated: `0`
91-
// Minimum execution time: 2_142_000 picoseconds.
92-
Weight::from_parts(2_256_000, 0)
93+
// Minimum execution time: 2_558_000 picoseconds.
94+
Weight::from_parts(2_602_000, 0)
9395
.saturating_add(Weight::from_parts(0, 0))
94-
// Standard Error: 1_736
95-
.saturating_add(Weight::from_parts(658_559, 0).saturating_mul(i.into()))
96+
// Standard Error: 1_616
97+
.saturating_add(Weight::from_parts(660_932, 0).saturating_mul(i.into()))
9698
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
9799
}
98100
/// Storage: Skipped Metadata (r:0 w:0)
@@ -102,25 +104,25 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
102104
// Proof Size summary in bytes:
103105
// Measured: `0`
104106
// Estimated: `0`
105-
// Minimum execution time: 2_179_000 picoseconds.
106-
Weight::from_parts(2_226_000, 0)
107+
// Minimum execution time: 2_485_000 picoseconds.
108+
Weight::from_parts(2_597_000, 0)
107109
.saturating_add(Weight::from_parts(0, 0))
108-
// Standard Error: 817
109-
.saturating_add(Weight::from_parts(485_258, 0).saturating_mul(i.into()))
110+
// Standard Error: 762
111+
.saturating_add(Weight::from_parts(484_884, 0).saturating_mul(i.into()))
110112
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
111113
}
112114
/// Storage: Skipped Metadata (r:0 w:0)
113115
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
114116
/// The range of component `p` is `[0, 1000]`.
115117
fn kill_prefix(p: u32, ) -> Weight {
116118
// Proof Size summary in bytes:
117-
// Measured: `120 + p * (69 ±0)`
118-
// Estimated: `121 + p * (70 ±0)`
119-
// Minimum execution time: 4_109_000 picoseconds.
120-
Weight::from_parts(4_255_000, 0)
121-
.saturating_add(Weight::from_parts(0, 121))
122-
// Standard Error: 1_259
123-
.saturating_add(Weight::from_parts(1_043_188, 0).saturating_mul(p.into()))
119+
// Measured: `105 + p * (69 ±0)`
120+
// Estimated: `115 + p * (70 ±0)`
121+
// Minimum execution time: 4_495_000 picoseconds.
122+
Weight::from_parts(4_626_000, 0)
123+
.saturating_add(Weight::from_parts(0, 115))
124+
// Standard Error: 903
125+
.saturating_add(Weight::from_parts(1_003_387, 0).saturating_mul(p.into()))
124126
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
125127
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
126128
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))

0 commit comments

Comments
 (0)