13
13
14
14
// You should have received a copy of the GNU General Public License
15
15
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
16
+
16
17
//! Autogenerated weights for `pallet_xcm`
17
18
//!
18
19
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
19
- //! DATE: 2023-03-16 , STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20
+ //! DATE: 2023-04-19 , STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20
21
//! WORST CASE MAP SIZE: `1000000`
21
- //! HOSTNAME: `bm5 `, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
22
+ //! HOSTNAME: `bm3 `, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
22
23
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
23
24
24
25
// Executed Command:
25
- // ./ target/production/polkadot
26
+ // target/production/polkadot
26
27
// benchmark
27
28
// pallet
28
- // --chain=kusama-dev
29
29
// --steps=50
30
30
// --repeat=20
31
- // --pallet=pallet_xcm
32
31
// --extrinsic=*
33
32
// --execution=wasm
34
33
// --wasm-execution=compiled
34
+ // --heap-pages=4096
35
+ // --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json
36
+ // --pallet=pallet_xcm
37
+ // --chain=kusama-dev
35
38
// --header=./file_header.txt
36
39
// --output=./runtime/kusama/src/weights/
37
40
40
43
#![ allow( unused_imports) ]
41
44
42
45
use frame_support:: { traits:: Get , weights:: Weight } ;
43
- use sp_std :: marker:: PhantomData ;
46
+ use core :: marker:: PhantomData ;
44
47
45
48
/// Weight functions for `pallet_xcm`.
46
49
pub struct WeightInfo < T > ( PhantomData < T > ) ;
@@ -58,35 +61,35 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
58
61
fn send ( ) -> Weight {
59
62
// Proof Size summary in bytes:
60
63
// Measured: `211`
61
- // Estimated: `14420 `
62
- // Minimum execution time: 32_211_000 picoseconds.
63
- Weight :: from_parts ( 32_864_000 , 0 )
64
- . saturating_add ( Weight :: from_parts ( 0 , 14420 ) )
64
+ // Estimated: `3676 `
65
+ // Minimum execution time: 32_058_000 picoseconds.
66
+ Weight :: from_parts ( 32_630_000 , 0 )
67
+ . saturating_add ( Weight :: from_parts ( 0 , 3676 ) )
65
68
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 ) )
66
69
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 ) )
67
70
}
68
71
fn teleport_assets ( ) -> Weight {
69
72
// Proof Size summary in bytes:
70
73
// Measured: `0`
71
74
// Estimated: `0`
72
- // Minimum execution time: 21_186_000 picoseconds.
73
- Weight :: from_parts ( 21_501_000 , 0 )
75
+ // Minimum execution time: 21_569_000 picoseconds.
76
+ Weight :: from_parts ( 21_969_000 , 0 )
74
77
. saturating_add ( Weight :: from_parts ( 0 , 0 ) )
75
78
}
76
79
fn reserve_transfer_assets ( ) -> Weight {
77
80
// Proof Size summary in bytes:
78
81
// Measured: `0`
79
82
// Estimated: `0`
80
- // Minimum execution time: 20_009_000 picoseconds.
81
- Weight :: from_parts ( 20_431_000 , 0 )
83
+ // Minimum execution time: 20_667_000 picoseconds.
84
+ Weight :: from_parts ( 21_006_000 , 0 )
82
85
. saturating_add ( Weight :: from_parts ( 0 , 0 ) )
83
86
}
84
87
fn execute ( ) -> Weight {
85
88
// Proof Size summary in bytes:
86
89
// Measured: `0`
87
90
// Estimated: `0`
88
- // Minimum execution time: 10_031_000 picoseconds.
89
- Weight :: from_parts ( 10_350_000 , 0 )
91
+ // Minimum execution time: 9_993_000 picoseconds.
92
+ Weight :: from_parts ( 10_278_000 , 0 )
90
93
. saturating_add ( Weight :: from_parts ( 0 , 0 ) )
91
94
}
92
95
/// Storage: XcmPallet SupportedVersion (r:0 w:1)
@@ -95,8 +98,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
95
98
// Proof Size summary in bytes:
96
99
// Measured: `0`
97
100
// Estimated: `0`
98
- // Minimum execution time: 10_202_000 picoseconds.
99
- Weight :: from_parts ( 10_401_000 , 0 )
101
+ // Minimum execution time: 10_234_000 picoseconds.
102
+ Weight :: from_parts ( 10_498_000 , 0 )
100
103
. saturating_add ( Weight :: from_parts ( 0 , 0 ) )
101
104
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
102
105
}
@@ -106,8 +109,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
106
109
// Proof Size summary in bytes:
107
110
// Measured: `0`
108
111
// Estimated: `0`
109
- // Minimum execution time: 3_042_000 picoseconds.
110
- Weight :: from_parts ( 3_161_000 , 0 )
112
+ // Minimum execution time: 3_272_000 picoseconds.
113
+ Weight :: from_parts ( 3_469_000 , 0 )
111
114
. saturating_add ( Weight :: from_parts ( 0 , 0 ) )
112
115
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
113
116
}
@@ -130,10 +133,10 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
130
133
fn force_subscribe_version_notify ( ) -> Weight {
131
134
// Proof Size summary in bytes:
132
135
// Measured: `211`
133
- // Estimated: `20003 `
134
- // Minimum execution time: 37_152_000 picoseconds.
135
- Weight :: from_parts ( 37_637_000 , 0 )
136
- . saturating_add ( Weight :: from_parts ( 0 , 20003 ) )
136
+ // Estimated: `3676 `
137
+ // Minimum execution time: 36_157_000 picoseconds.
138
+ Weight :: from_parts ( 36_777_000 , 0 )
139
+ . saturating_add ( Weight :: from_parts ( 0 , 3676 ) )
137
140
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 7 ) )
138
141
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 6 ) )
139
142
}
@@ -154,21 +157,32 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
154
157
fn force_unsubscribe_version_notify ( ) -> Weight {
155
158
// Proof Size summary in bytes:
156
159
// Measured: `483`
157
- // Estimated: `20211 `
158
- // Minimum execution time: 40_068_000 picoseconds.
159
- Weight :: from_parts ( 40_408_000 , 0 )
160
- . saturating_add ( Weight :: from_parts ( 0 , 20211 ) )
160
+ // Estimated: `3948 `
161
+ // Minimum execution time: 39_613_000 picoseconds.
162
+ Weight :: from_parts ( 39_905_000 , 0 )
163
+ . saturating_add ( Weight :: from_parts ( 0 , 3948 ) )
161
164
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 ) )
162
165
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 5 ) )
163
166
}
167
+ /// Storage: XcmPallet XcmExecutionSuspended (r:0 w:1)
168
+ /// Proof Skipped: XcmPallet XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured)
169
+ fn force_suspension ( ) -> Weight {
170
+ // Proof Size summary in bytes:
171
+ // Measured: `0`
172
+ // Estimated: `0`
173
+ // Minimum execution time: 3_296_000 picoseconds.
174
+ Weight :: from_parts ( 3_485_000 , 0 )
175
+ . saturating_add ( Weight :: from_parts ( 0 , 0 ) )
176
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
177
+ }
164
178
/// Storage: XcmPallet SupportedVersion (r:4 w:2)
165
179
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
166
180
fn migrate_supported_version ( ) -> Weight {
167
181
// Proof Size summary in bytes:
168
182
// Measured: `229`
169
183
// Estimated: `11119`
170
- // Minimum execution time: 16_679_000 picoseconds.
171
- Weight :: from_parts ( 17_372_000 , 0 )
184
+ // Minimum execution time: 16_201_000 picoseconds.
185
+ Weight :: from_parts ( 16_681_000 , 0 )
172
186
. saturating_add ( Weight :: from_parts ( 0 , 11119 ) )
173
187
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 ) )
174
188
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 ) )
@@ -179,8 +193,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
179
193
// Proof Size summary in bytes:
180
194
// Measured: `233`
181
195
// Estimated: `11123`
182
- // Minimum execution time: 17_113_000 picoseconds.
183
- Weight :: from_parts ( 17_539_000 , 0 )
196
+ // Minimum execution time: 16_157_000 picoseconds.
197
+ Weight :: from_parts ( 16_674_000 , 0 )
184
198
. saturating_add ( Weight :: from_parts ( 0 , 11123 ) )
185
199
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 ) )
186
200
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 ) )
@@ -191,8 +205,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
191
205
// Proof Size summary in bytes:
192
206
// Measured: `243`
193
207
// Estimated: `13608`
194
- // Minimum execution time: 17_831_000 picoseconds.
195
- Weight :: from_parts ( 18_222_000 , 0 )
208
+ // Minimum execution time: 17_502_000 picoseconds.
209
+ Weight :: from_parts ( 18_000_000 , 0 )
196
210
. saturating_add ( Weight :: from_parts ( 0 , 13608 ) )
197
211
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 ) )
198
212
}
@@ -211,10 +225,10 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
211
225
fn notify_current_targets ( ) -> Weight {
212
226
// Proof Size summary in bytes:
213
227
// Measured: `281`
214
- // Estimated: `20991 `
215
- // Minimum execution time: 34_239_000 picoseconds.
216
- Weight :: from_parts ( 34_714_000 , 0 )
217
- . saturating_add ( Weight :: from_parts ( 0 , 20991 ) )
228
+ // Estimated: `6221 `
229
+ // Minimum execution time: 33_198_000 picoseconds.
230
+ Weight :: from_parts ( 33_742_000 , 0 )
231
+ . saturating_add ( Weight :: from_parts ( 0 , 6221 ) )
218
232
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 7 ) )
219
233
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 4 ) )
220
234
}
@@ -224,8 +238,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
224
238
// Proof Size summary in bytes:
225
239
// Measured: `272`
226
240
// Estimated: `8687`
227
- // Minimum execution time: 9_813_000 picoseconds.
228
- Weight :: from_parts ( 10_050_000 , 0 )
241
+ // Minimum execution time: 8_989_000 picoseconds.
242
+ Weight :: from_parts ( 9_241_000 , 0 )
229
243
. saturating_add ( Weight :: from_parts ( 0 , 8687 ) )
230
244
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 3 ) )
231
245
}
@@ -235,8 +249,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
235
249
// Proof Size summary in bytes:
236
250
// Measured: `240`
237
251
// Estimated: `11130`
238
- // Minimum execution time: 17_449_000 picoseconds.
239
- Weight :: from_parts ( 17_898_000 , 0 )
252
+ // Minimum execution time: 16_709_000 picoseconds.
253
+ Weight :: from_parts ( 17_237_000 , 0 )
240
254
. saturating_add ( Weight :: from_parts ( 0 , 11130 ) )
241
255
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 ) )
242
256
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 ) )
@@ -256,10 +270,10 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
256
270
fn migrate_and_notify_old_targets ( ) -> Weight {
257
271
// Proof Size summary in bytes:
258
272
// Measured: `285`
259
- // Estimated: `25965 `
260
- // Minimum execution time: 41_651_000 picoseconds.
261
- Weight :: from_parts ( 42_184_000 , 0 )
262
- . saturating_add ( Weight :: from_parts ( 0 , 25965 ) )
273
+ // Estimated: `11175 `
274
+ // Minimum execution time: 40_749_000 picoseconds.
275
+ Weight :: from_parts ( 41_154_000 , 0 )
276
+ . saturating_add ( Weight :: from_parts ( 0 , 11175 ) )
263
277
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 9 ) )
264
278
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 5 ) )
265
279
}
0 commit comments