17
17
//! Autogenerated weights for `pallet_xcm`
18
18
//!
19
19
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
20
- //! DATE: 2024-02-20 , STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20
+ //! DATE: 2024-12-18 , STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21
21
//! WORST CASE MAP SIZE: `1000000`
22
- //! HOSTNAME: `runner-bn-ce5rx-project-674-concurrent-0 `, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22
+ //! HOSTNAME: `902e7ad7764b `, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
23
23
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("bridge-hub-rococo-dev")`, DB CACHE: 1024
24
24
25
25
// Executed Command:
26
26
// target/production/polkadot-parachain
27
27
// benchmark
28
28
// pallet
29
- // --steps=50
30
- // --repeat=20
31
29
// --extrinsic=*
30
+ // --chain=bridge-hub-rococo-dev
31
+ // --pallet=pallet_xcm
32
+ // --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33
+ // --output=./cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights
32
34
// --wasm-execution=compiled
35
+ // --steps=50
36
+ // --repeat=20
33
37
// --heap-pages=4096
34
- // --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json
35
- // --pallet=pallet_xcm
36
- // --chain=bridge-hub-rococo-dev
37
- // --header=./cumulus/file_header.txt
38
- // --output=./cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights/
38
+ // --no-storage-info
39
+ // --no-min-squares
40
+ // --no-median-slopes
39
41
40
42
#![ cfg_attr( rustfmt, rustfmt_skip) ]
41
43
#![ allow( unused_parens) ]
@@ -64,14 +66,16 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
64
66
// Proof Size summary in bytes:
65
67
// Measured: `38`
66
68
// Estimated: `3503`
67
- // Minimum execution time: 18_513_000 picoseconds.
68
- Weight :: from_parts ( 19_156_000 , 0 )
69
+ // Minimum execution time: 25_273_000 picoseconds.
70
+ Weight :: from_parts ( 25_810_000 , 0 )
69
71
. saturating_add ( Weight :: from_parts ( 0 , 3503 ) )
70
72
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 ) )
71
73
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 ) )
72
74
}
73
75
/// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
74
76
/// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
77
+ /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
78
+ /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
75
79
/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
76
80
/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
77
81
/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
@@ -90,10 +94,10 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
90
94
// Proof Size summary in bytes:
91
95
// Measured: `70`
92
96
// Estimated: `3593`
93
- // Minimum execution time: 88_096_000 picoseconds.
94
- Weight :: from_parts ( 89_732_000 , 0 )
97
+ // Minimum execution time: 112_156_000 picoseconds.
98
+ Weight :: from_parts ( 115_999_000 , 0 )
95
99
. saturating_add ( Weight :: from_parts ( 0 , 3593 ) )
96
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 8 ) )
100
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 9 ) )
97
101
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 ) )
98
102
}
99
103
/// Storage: `Benchmark::Override` (r:0 w:0)
@@ -108,6 +112,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
108
112
}
109
113
/// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
110
114
/// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
115
+ /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
116
+ /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
111
117
/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
112
118
/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
113
119
/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
@@ -126,30 +132,31 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
126
132
// Proof Size summary in bytes:
127
133
// Measured: `70`
128
134
// Estimated: `3593`
129
- // Minimum execution time: 88_239_000 picoseconds.
130
- Weight :: from_parts ( 89_729_000 , 0 )
135
+ // Minimum execution time: 110_987_000 picoseconds.
136
+ Weight :: from_parts ( 114_735_000 , 0 )
131
137
. saturating_add ( Weight :: from_parts ( 0 , 3593 ) )
132
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 8 ) )
138
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 9 ) )
133
139
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 ) )
134
140
}
135
- /// Storage: `Benchmark::Override ` (r:0 w:0)
136
- /// Proof: `Benchmark::Override ` (`max_values`: None , `max_size`: None, mode: `Measured`)
141
+ /// Storage: `PolkadotXcm::ShouldRecordXcm ` (r:1 w:0)
142
+ /// Proof: `PolkadotXcm::ShouldRecordXcm ` (`max_values`: Some(1) , `max_size`: None, mode: `Measured`)
137
143
fn execute ( ) -> Weight {
138
144
// Proof Size summary in bytes:
139
- // Measured: `0`
140
- // Estimated: `0`
141
- // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
142
- Weight :: from_parts ( 18_446_744_073_709_551_000 , 0 )
143
- . saturating_add ( Weight :: from_parts ( 0 , 0 ) )
145
+ // Measured: `32`
146
+ // Estimated: `1517`
147
+ // Minimum execution time: 12_068_000 picoseconds.
148
+ Weight :: from_parts ( 12_565_000 , 0 )
149
+ . saturating_add ( Weight :: from_parts ( 0 , 1517 ) )
150
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 ) )
144
151
}
145
152
/// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
146
153
/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
147
154
fn force_xcm_version ( ) -> Weight {
148
155
// Proof Size summary in bytes:
149
156
// Measured: `0`
150
157
// Estimated: `0`
151
- // Minimum execution time: 5_955_000 picoseconds.
152
- Weight :: from_parts ( 6_266_000 , 0 )
158
+ // Minimum execution time: 7_155_000 picoseconds.
159
+ Weight :: from_parts ( 7_606_000 , 0 )
153
160
. saturating_add ( Weight :: from_parts ( 0 , 0 ) )
154
161
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
155
162
}
@@ -159,8 +166,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
159
166
// Proof Size summary in bytes:
160
167
// Measured: `0`
161
168
// Estimated: `0`
162
- // Minimum execution time: 1_868_000 picoseconds.
163
- Weight :: from_parts ( 1_961_000 , 0 )
169
+ // Minimum execution time: 2_325_000 picoseconds.
170
+ Weight :: from_parts ( 2_442_000 , 0 )
164
171
. saturating_add ( Weight :: from_parts ( 0 , 0 ) )
165
172
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
166
173
}
@@ -186,8 +193,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
186
193
// Proof Size summary in bytes:
187
194
// Measured: `38`
188
195
// Estimated: `3503`
189
- // Minimum execution time: 24_388_000 picoseconds.
190
- Weight :: from_parts ( 25_072_000 , 0 )
196
+ // Minimum execution time: 31_747_000 picoseconds.
197
+ Weight :: from_parts ( 33_122_000 , 0 )
191
198
. saturating_add ( Weight :: from_parts ( 0 , 3503 ) )
192
199
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 8 ) )
193
200
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 5 ) )
@@ -212,8 +219,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
212
219
// Proof Size summary in bytes:
213
220
// Measured: `255`
214
221
// Estimated: `3720`
215
- // Minimum execution time: 26_762_000 picoseconds.
216
- Weight :: from_parts ( 27_631_000 , 0 )
222
+ // Minimum execution time: 36_396_000 picoseconds.
223
+ Weight :: from_parts ( 37_638_000 , 0 )
217
224
. saturating_add ( Weight :: from_parts ( 0 , 3720 ) )
218
225
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 7 ) )
219
226
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 4 ) )
@@ -224,45 +231,45 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
224
231
// Proof Size summary in bytes:
225
232
// Measured: `0`
226
233
// Estimated: `0`
227
- // Minimum execution time: 1_856_000 picoseconds.
228
- Weight :: from_parts ( 2_033_000 , 0 )
234
+ // Minimum execution time: 2_470_000 picoseconds.
235
+ Weight :: from_parts ( 2_594_000 , 0 )
229
236
. saturating_add ( Weight :: from_parts ( 0 , 0 ) )
230
237
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
231
238
}
232
- /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2)
239
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2)
233
240
/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
234
241
fn migrate_supported_version ( ) -> Weight {
235
242
// Proof Size summary in bytes:
236
243
// Measured: `89`
237
- // Estimated: `13454 `
238
- // Minimum execution time: 17_718_000 picoseconds.
239
- Weight :: from_parts ( 18_208_000 , 0 )
240
- . saturating_add ( Weight :: from_parts ( 0 , 13454 ) )
241
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 ) )
244
+ // Estimated: `15929 `
245
+ // Minimum execution time: 22_530_000 picoseconds.
246
+ Weight :: from_parts ( 22_987_000 , 0 )
247
+ . saturating_add ( Weight :: from_parts ( 0 , 15929 ) )
248
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 ) )
242
249
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 ) )
243
250
}
244
- /// Storage: `PolkadotXcm::VersionNotifiers` (r:5 w:2)
251
+ /// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2)
245
252
/// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
246
253
fn migrate_version_notifiers ( ) -> Weight {
247
254
// Proof Size summary in bytes:
248
255
// Measured: `93`
249
- // Estimated: `13458 `
250
- // Minimum execution time: 17_597_000 picoseconds.
251
- Weight :: from_parts ( 18_090_000 , 0 )
252
- . saturating_add ( Weight :: from_parts ( 0 , 13458 ) )
253
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 ) )
256
+ // Estimated: `15933 `
257
+ // Minimum execution time: 23_016_000 picoseconds.
258
+ Weight :: from_parts ( 23_461_000 , 0 )
259
+ . saturating_add ( Weight :: from_parts ( 0 , 15933 ) )
260
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 ) )
254
261
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 ) )
255
262
}
256
- /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:0)
263
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0)
257
264
/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
258
265
fn already_notified_target ( ) -> Weight {
259
266
// Proof Size summary in bytes:
260
267
// Measured: `106`
261
- // Estimated: `15946 `
262
- // Minimum execution time: 19_533_000 picoseconds.
263
- Weight :: from_parts ( 20_164_000 , 0 )
264
- . saturating_add ( Weight :: from_parts ( 0 , 15946 ) )
265
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 ) )
268
+ // Estimated: `18421 `
269
+ // Minimum execution time: 26_216_000 picoseconds.
270
+ Weight :: from_parts ( 26_832_000 , 0 )
271
+ . saturating_add ( Weight :: from_parts ( 0 , 18421 ) )
272
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 7 ) )
266
273
}
267
274
/// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
268
275
/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
@@ -282,36 +289,36 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
282
289
// Proof Size summary in bytes:
283
290
// Measured: `106`
284
291
// Estimated: `6046`
285
- // Minimum execution time: 24_958_000 picoseconds.
286
- Weight :: from_parts ( 25_628_000 , 0 )
292
+ // Minimum execution time: 31_060_000 picoseconds.
293
+ Weight :: from_parts ( 32_513_000 , 0 )
287
294
. saturating_add ( Weight :: from_parts ( 0 , 6046 ) )
288
295
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 8 ) )
289
296
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 ) )
290
297
}
291
- /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0)
298
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
292
299
/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
293
300
fn notify_target_migration_fail ( ) -> Weight {
294
301
// Proof Size summary in bytes:
295
- // Measured: `136 `
296
- // Estimated: `11026 `
297
- // Minimum execution time: 12_209_000 picoseconds.
298
- Weight :: from_parts ( 12_612_000 , 0 )
299
- . saturating_add ( Weight :: from_parts ( 0 , 11026 ) )
300
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 ) )
302
+ // Measured: `109 `
303
+ // Estimated: `13474 `
304
+ // Minimum execution time: 17_334_000 picoseconds.
305
+ Weight :: from_parts ( 17_747_000 , 0 )
306
+ . saturating_add ( Weight :: from_parts ( 0 , 13474 ) )
307
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 ) )
301
308
}
302
- /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2)
309
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
303
310
/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
304
311
fn migrate_version_notify_targets ( ) -> Weight {
305
312
// Proof Size summary in bytes:
306
313
// Measured: `100`
307
- // Estimated: `13465 `
308
- // Minimum execution time: 17_844_000 picoseconds.
309
- Weight :: from_parts ( 18_266_000 , 0 )
310
- . saturating_add ( Weight :: from_parts ( 0 , 13465 ) )
311
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 ) )
314
+ // Estimated: `15940 `
315
+ // Minimum execution time: 22_535_000 picoseconds.
316
+ Weight :: from_parts ( 23_386_000 , 0 )
317
+ . saturating_add ( Weight :: from_parts ( 0 , 15940 ) )
318
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 ) )
312
319
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 ) )
313
320
}
314
- /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2)
321
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2)
315
322
/// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
316
323
/// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0)
317
324
/// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
@@ -328,11 +335,11 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
328
335
fn migrate_and_notify_old_targets ( ) -> Weight {
329
336
// Proof Size summary in bytes:
330
337
// Measured: `106`
331
- // Estimated: `13471 `
332
- // Minimum execution time: 34_131_000 picoseconds.
333
- Weight :: from_parts ( 34_766_000 , 0 )
334
- . saturating_add ( Weight :: from_parts ( 0 , 13471 ) )
335
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 11 ) )
338
+ // Estimated: `15946 `
339
+ // Minimum execution time: 43_437_000 picoseconds.
340
+ Weight :: from_parts ( 44_588_000 , 0 )
341
+ . saturating_add ( Weight :: from_parts ( 0 , 15946 ) )
342
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 12 ) )
336
343
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 4 ) )
337
344
}
338
345
/// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
@@ -343,8 +350,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
343
350
// Proof Size summary in bytes:
344
351
// Measured: `32`
345
352
// Estimated: `1517`
346
- // Minimum execution time: 3_525_000 picoseconds.
347
- Weight :: from_parts ( 3_724_000 , 0 )
353
+ // Minimum execution time: 4_941_000 picoseconds.
354
+ Weight :: from_parts ( 5_088_000 , 0 )
348
355
. saturating_add ( Weight :: from_parts ( 0 , 1517 ) )
349
356
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 ) )
350
357
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 ) )
@@ -355,22 +362,24 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
355
362
// Proof Size summary in bytes:
356
363
// Measured: `7669`
357
364
// Estimated: `11134`
358
- // Minimum execution time: 24_975_000 picoseconds.
359
- Weight :: from_parts ( 25_517_000 , 0 )
365
+ // Minimum execution time: 29_996_000 picoseconds.
366
+ Weight :: from_parts ( 30_700_000 , 0 )
360
367
. saturating_add ( Weight :: from_parts ( 0 , 11134 ) )
361
368
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 ) )
362
369
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
363
370
}
371
+ /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0)
372
+ /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
364
373
/// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1)
365
374
/// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`)
366
375
fn claim_assets ( ) -> Weight {
367
376
// Proof Size summary in bytes:
368
377
// Measured: `90`
369
378
// Estimated: `3555`
370
- // Minimum execution time: 33_761_000 picoseconds.
371
- Weight :: from_parts ( 34_674_000 , 0 )
379
+ // Minimum execution time: 41_828_000 picoseconds.
380
+ Weight :: from_parts ( 43_026_000 , 0 )
372
381
. saturating_add ( Weight :: from_parts ( 0 , 3555 ) )
373
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 ) )
382
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 2 ) )
374
383
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
375
384
}
376
385
}
0 commit comments