Skip to content

Commit b0cc058

Browse files
authored
Merge pull request #3684 from autonomys/runtime-benchmarks
Runtime benchmarks and Consensus spec version to 6
2 parents 2bdf0d2 + 8bcf152 commit b0cc058

Some content is hidden

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

44 files changed

+712
-712
lines changed

crates/subspace-runtime-primitives/src/weights/balance_transfer_check_extension.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//! Autogenerated weights for `balance_transfer_check_extension`
33
//!
44
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.2.0
5-
//! DATE: 2025-08-02, STEPS: `250`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]`
5+
//! DATE: 2025-08-25, STEPS: `250`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]`
66
//! WORST CASE MAP SIZE: `1000000`
77
//! HOSTNAME: `protocol-team-testing`, CPU: `AMD Ryzen 5 3600 6-Core Processor`
88
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
@@ -39,11 +39,11 @@ impl<T: frame_system::Config> crate::extension::WeightInfo for WeightInfo<T> {
3939
// Proof Size summary in bytes:
4040
// Measured: `0`
4141
// Estimated: `1486`
42-
// Minimum execution time: 1_549_000 picoseconds.
43-
Weight::from_parts(2_629_145, 0)
42+
// Minimum execution time: 1_550_000 picoseconds.
43+
Weight::from_parts(2_679_614, 0)
4444
.saturating_add(Weight::from_parts(0, 1486))
4545
// Standard Error: 3
46-
.saturating_add(Weight::from_parts(3_614, 0).saturating_mul(c.into()))
46+
.saturating_add(Weight::from_parts(3_520, 0).saturating_mul(c.into()))
4747
.saturating_add(T::DbWeight::get().reads(1))
4848
}
4949
/// Storage: `RuntimeConfigs::EnableBalanceTransfers` (r:1 w:0)
@@ -53,11 +53,11 @@ impl<T: frame_system::Config> crate::extension::WeightInfo for WeightInfo<T> {
5353
// Proof Size summary in bytes:
5454
// Measured: `0`
5555
// Estimated: `1486`
56-
// Minimum execution time: 1_649_000 picoseconds.
57-
Weight::from_parts(1_720_000, 0)
56+
// Minimum execution time: 1_660_000 picoseconds.
57+
Weight::from_parts(33_186, 0)
5858
.saturating_add(Weight::from_parts(0, 1486))
5959
// Standard Error: 3
60-
.saturating_add(Weight::from_parts(2_773, 0).saturating_mul(c.into()))
60+
.saturating_add(Weight::from_parts(3_237, 0).saturating_mul(c.into()))
6161
.saturating_add(T::DbWeight::get().reads(1))
6262
}
6363
/// Storage: `RuntimeConfigs::EnableBalanceTransfers` (r:1 w:0)
@@ -68,10 +68,10 @@ impl<T: frame_system::Config> crate::extension::WeightInfo for WeightInfo<T> {
6868
// Measured: `0`
6969
// Estimated: `1486`
7070
// Minimum execution time: 1_660_000 picoseconds.
71-
Weight::from_parts(1_720_000, 0)
71+
Weight::from_parts(14_824, 0)
7272
.saturating_add(Weight::from_parts(0, 1486))
7373
// Standard Error: 3
74-
.saturating_add(Weight::from_parts(2_764, 0).saturating_mul(c.into()))
74+
.saturating_add(Weight::from_parts(3_241, 0).saturating_mul(c.into()))
7575
.saturating_add(T::DbWeight::get().reads(1))
7676
}
7777
}

crates/subspace-runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
131131
spec_name: Cow::Borrowed("subspace"),
132132
impl_name: Cow::Borrowed("subspace"),
133133
authoring_version: 0,
134-
spec_version: 5,
134+
spec_version: 6,
135135
impl_version: 0,
136136
apis: RUNTIME_API_VERSIONS,
137137
transaction_version: 1,

crates/subspace-runtime/src/weights/frame_system.rs

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//! Autogenerated weights for `frame_system`
33
//!
44
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.2.0
5-
//! DATE: 2025-08-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
5+
//! DATE: 2025-08-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
66
//! WORST CASE MAP SIZE: `1000000`
77
//! HOSTNAME: `protocol-team-testing`, CPU: `AMD Ryzen 5 3600 6-Core Processor`
88
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
@@ -37,31 +37,31 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
3737
// Proof Size summary in bytes:
3838
// Measured: `0`
3939
// Estimated: `0`
40-
// Minimum execution time: 1_630_000 picoseconds.
41-
Weight::from_parts(1_720_000, 0)
40+
// Minimum execution time: 1_580_000 picoseconds.
41+
Weight::from_parts(1_610_000, 0)
4242
.saturating_add(Weight::from_parts(0, 0))
4343
// Standard Error: 1
44-
.saturating_add(Weight::from_parts(290, 0).saturating_mul(b.into()))
44+
.saturating_add(Weight::from_parts(334, 0).saturating_mul(b.into()))
4545
}
4646
/// The range of component `b` is `[0, 3932160]`.
4747
fn remark_with_event(b: u32, ) -> Weight {
4848
// Proof Size summary in bytes:
4949
// Measured: `0`
5050
// Estimated: `0`
51-
// Minimum execution time: 4_440_000 picoseconds.
52-
Weight::from_parts(4_589_000, 0)
51+
// Minimum execution time: 4_290_000 picoseconds.
52+
Weight::from_parts(4_340_000, 0)
5353
.saturating_add(Weight::from_parts(0, 0))
54-
// Standard Error: 2
55-
.saturating_add(Weight::from_parts(1_075, 0).saturating_mul(b.into()))
54+
// Standard Error: 1
55+
.saturating_add(Weight::from_parts(1_096, 0).saturating_mul(b.into()))
5656
}
5757
/// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1)
5858
/// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1)
5959
fn set_heap_pages() -> Weight {
6060
// Proof Size summary in bytes:
6161
// Measured: `0`
6262
// Estimated: `0`
63-
// Minimum execution time: 2_750_000 picoseconds.
64-
Weight::from_parts(2_910_000, 0)
63+
// Minimum execution time: 2_730_000 picoseconds.
64+
Weight::from_parts(2_850_000, 0)
6565
.saturating_add(Weight::from_parts(0, 0))
6666
.saturating_add(T::DbWeight::get().writes(1))
6767
}
@@ -73,8 +73,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
7373
// Proof Size summary in bytes:
7474
// Measured: `0`
7575
// Estimated: `1485`
76-
// Minimum execution time: 77_999_284_000 picoseconds.
77-
Weight::from_parts(82_448_303_000, 0)
76+
// Minimum execution time: 71_942_932_000 picoseconds.
77+
Weight::from_parts(75_072_655_000, 0)
7878
.saturating_add(Weight::from_parts(0, 1485))
7979
.saturating_add(T::DbWeight::get().reads(1))
8080
.saturating_add(T::DbWeight::get().writes(2))
@@ -86,11 +86,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
8686
// Proof Size summary in bytes:
8787
// Measured: `0`
8888
// Estimated: `0`
89-
// Minimum execution time: 1_670_000 picoseconds.
90-
Weight::from_parts(1_720_000, 0)
89+
// Minimum execution time: 1_570_000 picoseconds.
90+
Weight::from_parts(1_600_000, 0)
9191
.saturating_add(Weight::from_parts(0, 0))
92-
// Standard Error: 788
93-
.saturating_add(Weight::from_parts(621_529, 0).saturating_mul(i.into()))
92+
// Standard Error: 799
93+
.saturating_add(Weight::from_parts(586_206, 0).saturating_mul(i.into()))
9494
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
9595
}
9696
/// Storage: `Skipped::Metadata` (r:0 w:0)
@@ -100,11 +100,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
100100
// Proof Size summary in bytes:
101101
// Measured: `0`
102102
// Estimated: `0`
103-
// Minimum execution time: 1_710_000 picoseconds.
104-
Weight::from_parts(1_780_000, 0)
103+
// Minimum execution time: 1_590_000 picoseconds.
104+
Weight::from_parts(1_620_000, 0)
105105
.saturating_add(Weight::from_parts(0, 0))
106-
// Standard Error: 723
107-
.saturating_add(Weight::from_parts(478_367, 0).saturating_mul(i.into()))
106+
// Standard Error: 722
107+
.saturating_add(Weight::from_parts(474_835, 0).saturating_mul(i.into()))
108108
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
109109
}
110110
/// Storage: `Skipped::Metadata` (r:0 w:0)
@@ -114,11 +114,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
114114
// Proof Size summary in bytes:
115115
// Measured: `17 + p * (69 ±0)`
116116
// Estimated: `0 + p * (70 ±0)`
117-
// Minimum execution time: 2_919_000 picoseconds.
118-
Weight::from_parts(3_029_000, 0)
117+
// Minimum execution time: 2_770_000 picoseconds.
118+
Weight::from_parts(2_820_000, 0)
119119
.saturating_add(Weight::from_parts(0, 0))
120-
// Standard Error: 967
121-
.saturating_add(Weight::from_parts(1_201_213, 0).saturating_mul(p.into()))
120+
// Standard Error: 921
121+
.saturating_add(Weight::from_parts(1_187_934, 0).saturating_mul(p.into()))
122122
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
123123
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
124124
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
@@ -129,8 +129,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
129129
// Proof Size summary in bytes:
130130
// Measured: `0`
131131
// Estimated: `0`
132-
// Minimum execution time: 7_289_000 picoseconds.
133-
Weight::from_parts(7_800_000, 0)
132+
// Minimum execution time: 6_670_000 picoseconds.
133+
Weight::from_parts(7_080_000, 0)
134134
.saturating_add(Weight::from_parts(0, 0))
135135
.saturating_add(T::DbWeight::get().writes(1))
136136
}
@@ -144,8 +144,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
144144
// Proof Size summary in bytes:
145145
// Measured: `21`
146146
// Estimated: `1518`
147-
// Minimum execution time: 88_873_249_000 picoseconds.
148-
Weight::from_parts(98_915_804_000, 0)
147+
// Minimum execution time: 74_093_546_000 picoseconds.
148+
Weight::from_parts(75_732_551_000, 0)
149149
.saturating_add(Weight::from_parts(0, 1518))
150150
.saturating_add(T::DbWeight::get().reads(2))
151151
.saturating_add(T::DbWeight::get().writes(3))

crates/subspace-runtime/src/weights/pallet_balances.rs

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//! Autogenerated weights for `pallet_balances`
33
//!
44
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.2.0
5-
//! DATE: 2025-08-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
5+
//! DATE: 2025-08-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
66
//! WORST CASE MAP SIZE: `1000000`
77
//! HOSTNAME: `protocol-team-testing`, CPU: `AMD Ryzen 5 3600 6-Core Processor`
88
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
@@ -38,8 +38,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
3838
// Proof Size summary in bytes:
3939
// Measured: `0`
4040
// Estimated: `3593`
41-
// Minimum execution time: 45_089_000 picoseconds.
42-
Weight::from_parts(45_749_000, 0)
41+
// Minimum execution time: 45_509_000 picoseconds.
42+
Weight::from_parts(45_979_000, 0)
4343
.saturating_add(Weight::from_parts(0, 3593))
4444
.saturating_add(T::DbWeight::get().reads(1))
4545
.saturating_add(T::DbWeight::get().writes(1))
@@ -50,8 +50,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
5050
// Proof Size summary in bytes:
5151
// Measured: `0`
5252
// Estimated: `3593`
53-
// Minimum execution time: 36_039_000 picoseconds.
54-
Weight::from_parts(36_370_000, 0)
53+
// Minimum execution time: 36_179_000 picoseconds.
54+
Weight::from_parts(36_739_000, 0)
5555
.saturating_add(Weight::from_parts(0, 3593))
5656
.saturating_add(T::DbWeight::get().reads(1))
5757
.saturating_add(T::DbWeight::get().writes(1))
@@ -62,7 +62,7 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
6262
// Proof Size summary in bytes:
6363
// Measured: `52`
6464
// Estimated: `3593`
65-
// Minimum execution time: 11_899_000 picoseconds.
65+
// Minimum execution time: 11_970_000 picoseconds.
6666
Weight::from_parts(12_200_000, 0)
6767
.saturating_add(Weight::from_parts(0, 3593))
6868
.saturating_add(T::DbWeight::get().reads(1))
@@ -74,8 +74,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
7474
// Proof Size summary in bytes:
7575
// Measured: `52`
7676
// Estimated: `3593`
77-
// Minimum execution time: 18_199_000 picoseconds.
78-
Weight::from_parts(18_350_000, 0)
77+
// Minimum execution time: 18_400_000 picoseconds.
78+
Weight::from_parts(18_670_000, 0)
7979
.saturating_add(Weight::from_parts(0, 3593))
8080
.saturating_add(T::DbWeight::get().reads(1))
8181
.saturating_add(T::DbWeight::get().writes(1))
@@ -86,8 +86,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
8686
// Proof Size summary in bytes:
8787
// Measured: `52`
8888
// Estimated: `6196`
89-
// Minimum execution time: 45_779_000 picoseconds.
90-
Weight::from_parts(46_749_000, 0)
89+
// Minimum execution time: 46_289_000 picoseconds.
90+
Weight::from_parts(46_789_000, 0)
9191
.saturating_add(Weight::from_parts(0, 6196))
9292
.saturating_add(T::DbWeight::get().reads(2))
9393
.saturating_add(T::DbWeight::get().writes(2))
@@ -98,8 +98,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
9898
// Proof Size summary in bytes:
9999
// Measured: `0`
100100
// Estimated: `3593`
101-
// Minimum execution time: 44_499_000 picoseconds.
102-
Weight::from_parts(45_059_000, 0)
101+
// Minimum execution time: 44_829_000 picoseconds.
102+
Weight::from_parts(45_499_000, 0)
103103
.saturating_add(Weight::from_parts(0, 3593))
104104
.saturating_add(T::DbWeight::get().reads(1))
105105
.saturating_add(T::DbWeight::get().writes(1))
@@ -110,8 +110,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
110110
// Proof Size summary in bytes:
111111
// Measured: `52`
112112
// Estimated: `3593`
113-
// Minimum execution time: 14_299_000 picoseconds.
114-
Weight::from_parts(14_479_000, 0)
113+
// Minimum execution time: 14_610_000 picoseconds.
114+
Weight::from_parts(14_909_000, 0)
115115
.saturating_add(Weight::from_parts(0, 3593))
116116
.saturating_add(T::DbWeight::get().reads(1))
117117
.saturating_add(T::DbWeight::get().writes(1))
@@ -123,11 +123,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
123123
// Proof Size summary in bytes:
124124
// Measured: `0 + u * (136 ±0)`
125125
// Estimated: `990 + u * (2603 ±0)`
126-
// Minimum execution time: 13_640_000 picoseconds.
127-
Weight::from_parts(14_070_000, 0)
126+
// Minimum execution time: 13_970_000 picoseconds.
127+
Weight::from_parts(14_170_000, 0)
128128
.saturating_add(Weight::from_parts(0, 990))
129-
// Standard Error: 8_907
130-
.saturating_add(Weight::from_parts(12_651_814, 0).saturating_mul(u.into()))
129+
// Standard Error: 8_994
130+
.saturating_add(Weight::from_parts(12_782_989, 0).saturating_mul(u.into()))
131131
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into())))
132132
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into())))
133133
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
@@ -136,24 +136,24 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
136136
// Proof Size summary in bytes:
137137
// Measured: `0`
138138
// Estimated: `0`
139-
// Minimum execution time: 4_810_000 picoseconds.
140-
Weight::from_parts(4_989_000, 0)
139+
// Minimum execution time: 4_679_000 picoseconds.
140+
Weight::from_parts(4_870_000, 0)
141141
.saturating_add(Weight::from_parts(0, 0))
142142
}
143143
fn burn_allow_death() -> Weight {
144144
// Proof Size summary in bytes:
145145
// Measured: `0`
146146
// Estimated: `0`
147-
// Minimum execution time: 26_469_000 picoseconds.
148-
Weight::from_parts(26_860_000, 0)
147+
// Minimum execution time: 26_779_000 picoseconds.
148+
Weight::from_parts(27_100_000, 0)
149149
.saturating_add(Weight::from_parts(0, 0))
150150
}
151151
fn burn_keep_alive() -> Weight {
152152
// Proof Size summary in bytes:
153153
// Measured: `0`
154154
// Estimated: `0`
155-
// Minimum execution time: 17_789_000 picoseconds.
156-
Weight::from_parts(18_020_000, 0)
155+
// Minimum execution time: 17_779_000 picoseconds.
156+
Weight::from_parts(18_119_000, 0)
157157
.saturating_add(Weight::from_parts(0, 0))
158158
}
159159
}

0 commit comments

Comments
 (0)