18
18
//! Autogenerated weights for `pallet_xcm_benchmarks::generic`
19
19
//!
20
20
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
21
- //! DATE: 2022-08-17, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
21
+ //! DATE: 2022-09-30, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
+ //! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
22
23
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
23
24
24
25
// Executed Command:
36
37
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
37
38
// --header=./file_header.txt
38
39
// --template=./templates/xcm-bench-template.hbs
39
- // --output=./parachains/runtimes/assets/westmint/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
40
+ // --output=./parachains/runtimes/assets/westmint/src/weights/xcm/
40
41
41
42
#![ cfg_attr( rustfmt, rustfmt_skip) ]
42
43
#![ allow( unused_parens) ]
@@ -48,63 +49,65 @@ use sp_std::marker::PhantomData;
48
49
/// Weights for `pallet_xcm_benchmarks::generic`.
49
50
pub struct WeightInfo < T > ( PhantomData < T > ) ;
50
51
impl < T : frame_system:: Config > WeightInfo < T > {
51
- // Storage: XcmPallet SupportedVersion (r:1 w:0)
52
- // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
53
- // Storage: XcmPallet SafeXcmVersion (r:1 w:0)
54
- // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
55
- // Storage: Dmp DownwardMessageQueues (r:1 w:1)
52
+ // Storage: ParachainInfo ParachainId (r:1 w:0)
53
+ // Storage: PolkadotXcm SupportedVersion (r:1 w:0)
54
+ // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
55
+ // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
56
+ // Storage: ParachainSystem HostConfiguration (r:1 w:0)
57
+ // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
56
58
pub ( crate ) fn report_holding ( ) -> Weight {
57
- Weight :: from_ref_time ( 25_878_000 as u64 )
58
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 as u64 ) )
59
- . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as u64 ) )
59
+ Weight :: from_ref_time ( 1_324_853_000 as u64 )
60
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 as u64 ) )
61
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 as u64 ) )
60
62
}
61
63
pub ( crate ) fn buy_execution ( ) -> Weight {
62
- Weight :: from_ref_time ( 7_030_000 as u64 )
64
+ Weight :: from_ref_time ( 8_533_000 as u64 )
63
65
}
64
66
// Storage: PolkadotXcm Queries (r:1 w:0)
65
67
pub ( crate ) fn query_response ( ) -> Weight {
66
- Weight :: from_ref_time ( 12_574_000 as u64 )
68
+ Weight :: from_ref_time ( 19_435_000 as u64 )
67
69
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as u64 ) )
68
70
}
69
71
pub ( crate ) fn transact ( ) -> Weight {
70
- Weight :: from_ref_time ( 15_764_000 as u64 )
72
+ Weight :: from_ref_time ( 22_656_000 as u64 )
71
73
}
72
74
pub ( crate ) fn refund_surplus ( ) -> Weight {
73
- Weight :: from_ref_time ( 7_200_000 as u64 )
75
+ Weight :: from_ref_time ( 8_900_000 as u64 )
74
76
}
75
77
pub ( crate ) fn set_error_handler ( ) -> Weight {
76
- Weight :: from_ref_time ( 3_310_000 as u64 )
78
+ Weight :: from_ref_time ( 6_255_000 as u64 )
77
79
}
78
80
pub ( crate ) fn set_appendix ( ) -> Weight {
79
- Weight :: from_ref_time ( 3_260_000 as u64 )
81
+ Weight :: from_ref_time ( 6_268_000 as u64 )
80
82
}
81
83
pub ( crate ) fn clear_error ( ) -> Weight {
82
- Weight :: from_ref_time ( 3_277_000 as u64 )
84
+ Weight :: from_ref_time ( 6_304_000 as u64 )
83
85
}
84
86
pub ( crate ) fn descend_origin ( ) -> Weight {
85
- Weight :: from_ref_time ( 3_913_000 as u64 )
87
+ Weight :: from_ref_time ( 7_279_000 as u64 )
86
88
}
87
89
pub ( crate ) fn clear_origin ( ) -> Weight {
88
- Weight :: from_ref_time ( 3_354_000 as u64 )
90
+ Weight :: from_ref_time ( 6_297_000 as u64 )
89
91
}
92
+ // Storage: ParachainInfo ParachainId (r:1 w:0)
90
93
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
91
94
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
92
95
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
93
96
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
94
97
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
95
98
pub ( crate ) fn report_error ( ) -> Weight {
96
- Weight :: from_ref_time ( 13_028_000 as u64 )
97
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 as u64 ) )
99
+ Weight :: from_ref_time ( 23_025_000 as u64 )
100
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 as u64 ) )
98
101
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 as u64 ) )
99
102
}
100
103
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
101
104
pub ( crate ) fn claim_asset ( ) -> Weight {
102
- Weight :: from_ref_time ( 7_739_000 as u64 )
105
+ Weight :: from_ref_time ( 13_001_000 as u64 )
103
106
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as u64 ) )
104
107
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as u64 ) )
105
108
}
106
109
pub ( crate ) fn trap ( ) -> Weight {
107
- Weight :: from_ref_time ( 3_351_000 as u64 )
110
+ Weight :: from_ref_time ( 6_266_000 as u64 )
108
111
}
109
112
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
110
113
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
@@ -113,13 +116,13 @@ impl<T: frame_system::Config> WeightInfo<T> {
113
116
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
114
117
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
115
118
pub ( crate ) fn subscribe_version ( ) -> Weight {
116
- Weight :: from_ref_time ( 16_051_000 as u64 )
119
+ Weight :: from_ref_time ( 31_348_000 as u64 )
117
120
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 as u64 ) )
118
121
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as u64 ) )
119
122
}
120
123
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
121
124
pub ( crate ) fn unsubscribe_version ( ) -> Weight {
122
- Weight :: from_ref_time ( 5_477_000 as u64 )
125
+ Weight :: from_ref_time ( 9_534_000 as u64 )
123
126
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as u64 ) )
124
127
}
125
128
// Storage: ParachainInfo ParachainId (r:1 w:0)
@@ -129,55 +132,57 @@ impl<T: frame_system::Config> WeightInfo<T> {
129
132
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
130
133
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
131
134
pub ( crate ) fn initiate_reserve_withdraw ( ) -> Weight {
132
- Weight :: from_ref_time ( 874_435_000 as u64 )
135
+ Weight :: from_ref_time ( 1_558_814_000 as u64 )
133
136
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 as u64 ) )
134
137
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 as u64 ) )
135
138
}
136
139
pub ( crate ) fn burn_asset ( ) -> Weight {
137
- Weight :: from_ref_time ( 5_194_000 as u64 )
140
+ Weight :: from_ref_time ( 496_802_000 as u64 )
138
141
}
139
142
pub ( crate ) fn expect_asset ( ) -> Weight {
140
- Weight :: from_ref_time ( 3_698_000 as u64 )
143
+ Weight :: from_ref_time ( 38_299_000 as u64 )
141
144
}
142
145
pub ( crate ) fn expect_origin ( ) -> Weight {
143
- Weight :: from_ref_time ( 3_786_000 as u64 )
146
+ Weight :: from_ref_time ( 6_354_000 as u64 )
144
147
}
145
148
pub ( crate ) fn expect_error ( ) -> Weight {
146
- Weight :: from_ref_time ( 3_645_000 as u64 )
149
+ Weight :: from_ref_time ( 6_234_000 as u64 )
147
150
}
148
- // Storage: XcmPallet SupportedVersion (r:1 w:0)
149
- // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
150
- // Storage: XcmPallet SafeXcmVersion (r:1 w:0)
151
- // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
152
- // Storage: Dmp DownwardMessageQueues (r:1 w:1)
151
+ // Storage: ParachainInfo ParachainId (r:1 w:0)
152
+ // Storage: PolkadotXcm SupportedVersion (r:1 w:0)
153
+ // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
154
+ // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
155
+ // Storage: ParachainSystem HostConfiguration (r:1 w:0)
156
+ // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
153
157
pub ( crate ) fn query_pallet ( ) -> Weight {
154
- Weight :: from_ref_time ( 22_993_000 as u64 )
155
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 as u64 ) )
156
- . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as u64 ) )
158
+ Weight :: from_ref_time ( 25_150_000 as u64 )
159
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 as u64 ) )
160
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 as u64 ) )
157
161
}
158
162
pub ( crate ) fn expect_pallet ( ) -> Weight {
159
- Weight :: from_ref_time ( 4_043_000 as u64 )
163
+ Weight :: from_ref_time ( 7_969_000 as u64 )
160
164
}
161
- // Storage: XcmPallet SupportedVersion (r:1 w:0)
162
- // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
163
- // Storage: XcmPallet SafeXcmVersion (r:1 w:0)
164
- // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
165
- // Storage: Dmp DownwardMessageQueues (r:1 w:1)
165
+ // Storage: ParachainInfo ParachainId (r:1 w:0)
166
+ // Storage: PolkadotXcm SupportedVersion (r:1 w:0)
167
+ // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
168
+ // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
169
+ // Storage: ParachainSystem HostConfiguration (r:1 w:0)
170
+ // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
166
171
pub ( crate ) fn report_transact_status ( ) -> Weight {
167
- Weight :: from_ref_time ( 21_668_000 as u64 )
168
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 as u64 ) )
169
- . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as u64 ) )
172
+ Weight :: from_ref_time ( 23_099_000 as u64 )
173
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 as u64 ) )
174
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 as u64 ) )
170
175
}
171
176
pub ( crate ) fn clear_transact_status ( ) -> Weight {
172
- Weight :: from_ref_time ( 3_673_000 as u64 )
177
+ Weight :: from_ref_time ( 6_366_000 as u64 )
173
178
}
174
179
pub ( crate ) fn set_topic ( ) -> Weight {
175
- Weight :: from_ref_time ( 3_661_000 as u64 )
180
+ Weight :: from_ref_time ( 6_422_000 as u64 )
176
181
}
177
182
pub ( crate ) fn clear_topic ( ) -> Weight {
178
- Weight :: from_ref_time ( 3_647_000 as u64 )
183
+ Weight :: from_ref_time ( 6_405_000 as u64 )
179
184
}
180
185
pub ( crate ) fn set_fees_mode ( ) -> Weight {
181
- Weight :: from_ref_time ( 3_599_000 as u64 )
186
+ Weight :: from_ref_time ( 6_392_000 as u64 )
182
187
}
183
188
}
0 commit comments