1
- // Copyright Parity Technologies (UK) Ltd.
1
+ // Copyright (C) Parity Technologies (UK) Ltd.
2
2
// This file is part of Cumulus.
3
3
4
4
// Cumulus is free software: you can redistribute it and/or modify
16
16
17
17
//! Autogenerated weights for `pallet_core_fellowship`
18
18
//!
19
- //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4 .0.0-dev
20
- //! DATE: 2023-08-11 , STEPS: `2 `, REPEAT: `2 `, LOW RANGE: `[]`, HIGH RANGE: `[]`
19
+ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32 .0.0
20
+ //! DATE: 2025-01-03 , STEPS: `50 `, REPEAT: `20 `, LOW RANGE: `[]`, HIGH RANGE: `[]`
21
21
//! WORST CASE MAP SIZE: `1000000`
22
- //! HOSTNAME: `cob `, CPU: `<UNKNOWN> `
23
- //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("collectives-polkadot-dev") `, DB CACHE: 1024
22
+ //! HOSTNAME: `623e9e4b814e `, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz `
23
+ //! WASM-EXECUTION: `Compiled`, CHAIN: `None `, DB CACHE: 1024
24
24
25
25
// Executed Command:
26
- // target/release/polkadot-parachain
26
+ // frame-omni-bencher
27
+ // v1
27
28
// benchmark
28
29
// pallet
29
- // --chain=collectives-polkadot-dev
30
- // --wasm-execution=compiled
31
- // --pallet=pallet_core_fellowship
32
30
// --extrinsic=*
33
- // --steps=2
34
- // --repeat=2
35
- // --json
36
- // --header=./file_header.txt
37
- // --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/
31
+ // --runtime=target/production/wbuild/collectives-westend-runtime/collectives_westend_runtime.wasm
32
+ // --pallet=pallet_core_fellowship
33
+ // --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
34
+ // --output=./cumulus/parachains/runtimes/collectives/collectives-westend/src/weights
35
+ // --wasm-execution=compiled
36
+ // --steps=50
37
+ // --repeat=20
38
+ // --heap-pages=4096
39
+ // --no-storage-info
40
+ // --no-min-squares
41
+ // --no-median-slopes
38
42
39
43
#![ cfg_attr( rustfmt, rustfmt_skip) ]
40
44
#![ allow( unused_parens) ]
@@ -48,70 +52,75 @@ use core::marker::PhantomData;
48
52
pub struct WeightInfo < T > ( PhantomData < T > ) ;
49
53
impl < T : frame_system:: Config > pallet_core_fellowship:: WeightInfo for WeightInfo < T > {
50
54
/// Storage: `AmbassadorCore::Params` (r:0 w:1)
51
- /// Proof: `AmbassadorCore::Params` (`max_values`: Some(1), `max_size`: Some(364 ), added: 859 , mode: `MaxEncodedLen`)
55
+ /// Proof: `AmbassadorCore::Params` (`max_values`: Some(1), `max_size`: Some(368 ), added: 863 , mode: `MaxEncodedLen`)
52
56
fn set_params ( ) -> Weight {
53
57
// Proof Size summary in bytes:
54
58
// Measured: `0`
55
59
// Estimated: `0`
56
- // Minimum execution time: 11_000_000 picoseconds.
57
- Weight :: from_parts ( 11_000_000 , 0 )
60
+ // Minimum execution time: 9_131_000 picoseconds.
61
+ Weight :: from_parts ( 9_371_000 , 0 )
58
62
. saturating_add ( Weight :: from_parts ( 0 , 0 ) )
59
63
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
60
64
}
61
- /// Storage: `AmbassadorCore::Params` (r:0 w:1)
62
- /// Proof: `AmbassadorCore::Params` (`max_values`: Some(1), `max_size`: Some(364 ), added: 859 , mode: `MaxEncodedLen`)
65
+ /// Storage: `AmbassadorCore::Params` (r:1 w:1)
66
+ /// Proof: `AmbassadorCore::Params` (`max_values`: Some(1), `max_size`: Some(368 ), added: 863 , mode: `MaxEncodedLen`)
63
67
fn set_partial_params ( ) -> Weight {
64
68
// Proof Size summary in bytes:
65
- // Measured: `0`
66
- // Estimated: `0`
67
- // Minimum execution time: 11_000_000 picoseconds.
68
- Weight :: from_parts ( 11_000_000 , 0 )
69
- . saturating_add ( Weight :: from_parts ( 0 , 0 ) )
69
+ // Measured: `471`
70
+ // Estimated: `1853`
71
+ // Minimum execution time: 18_375_000 picoseconds.
72
+ Weight :: from_parts ( 18_872_000 , 0 )
73
+ . saturating_add ( Weight :: from_parts ( 0 , 1853 ) )
74
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 ) )
70
75
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
71
76
}
72
77
/// Storage: `AmbassadorCore::Member` (r:1 w:1)
73
78
/// Proof: `AmbassadorCore::Member` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
74
79
/// Storage: `AmbassadorCollective::Members` (r:1 w:1)
75
80
/// Proof: `AmbassadorCollective::Members` (`max_values`: None, `max_size`: Some(42), added: 2517, mode: `MaxEncodedLen`)
76
81
/// Storage: `AmbassadorCore::Params` (r:1 w:0)
77
- /// Proof: `AmbassadorCore::Params` (`max_values`: Some(1), `max_size`: Some(364 ), added: 859 , mode: `MaxEncodedLen`)
82
+ /// Proof: `AmbassadorCore::Params` (`max_values`: Some(1), `max_size`: Some(368 ), added: 863 , mode: `MaxEncodedLen`)
78
83
/// Storage: `AmbassadorCollective::MemberCount` (r:1 w:1)
79
84
/// Proof: `AmbassadorCollective::MemberCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`)
80
- /// Storage: `AmbassadorCollective::IdToIndex` (r:1 w:0 )
85
+ /// Storage: `AmbassadorCollective::IdToIndex` (r:1 w:1 )
81
86
/// Proof: `AmbassadorCollective::IdToIndex` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
82
87
/// Storage: `AmbassadorCore::MemberEvidence` (r:1 w:1)
83
88
/// Proof: `AmbassadorCore::MemberEvidence` (`max_values`: None, `max_size`: Some(65581), added: 68056, mode: `MaxEncodedLen`)
89
+ /// Storage: `AmbassadorCollective::IndexToId` (r:0 w:1)
90
+ /// Proof: `AmbassadorCollective::IndexToId` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
84
91
fn bump_offboard ( ) -> Weight {
85
92
// Proof Size summary in bytes:
86
- // Measured: `66011 `
93
+ // Measured: `66402 `
87
94
// Estimated: `69046`
88
- // Minimum execution time: 96_000_000 picoseconds.
89
- Weight :: from_parts ( 111_000_000 , 0 )
95
+ // Minimum execution time: 156_752_000 picoseconds.
96
+ Weight :: from_parts ( 164_242_000 , 0 )
90
97
. saturating_add ( Weight :: from_parts ( 0 , 69046 ) )
91
98
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 ) )
92
- . saturating_add ( T :: DbWeight :: get ( ) . writes ( 4 ) )
99
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 6 ) )
93
100
}
94
101
/// Storage: `AmbassadorCore::Member` (r:1 w:1)
95
102
/// Proof: `AmbassadorCore::Member` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
96
103
/// Storage: `AmbassadorCollective::Members` (r:1 w:1)
97
104
/// Proof: `AmbassadorCollective::Members` (`max_values`: None, `max_size`: Some(42), added: 2517, mode: `MaxEncodedLen`)
98
105
/// Storage: `AmbassadorCore::Params` (r:1 w:0)
99
- /// Proof: `AmbassadorCore::Params` (`max_values`: Some(1), `max_size`: Some(364 ), added: 859 , mode: `MaxEncodedLen`)
106
+ /// Proof: `AmbassadorCore::Params` (`max_values`: Some(1), `max_size`: Some(368 ), added: 863 , mode: `MaxEncodedLen`)
100
107
/// Storage: `AmbassadorCollective::MemberCount` (r:1 w:1)
101
108
/// Proof: `AmbassadorCollective::MemberCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`)
102
- /// Storage: `AmbassadorCollective::IdToIndex` (r:1 w:0 )
109
+ /// Storage: `AmbassadorCollective::IdToIndex` (r:1 w:1 )
103
110
/// Proof: `AmbassadorCollective::IdToIndex` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
104
111
/// Storage: `AmbassadorCore::MemberEvidence` (r:1 w:1)
105
112
/// Proof: `AmbassadorCore::MemberEvidence` (`max_values`: None, `max_size`: Some(65581), added: 68056, mode: `MaxEncodedLen`)
113
+ /// Storage: `AmbassadorCollective::IndexToId` (r:0 w:1)
114
+ /// Proof: `AmbassadorCollective::IndexToId` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
106
115
fn bump_demote ( ) -> Weight {
107
116
// Proof Size summary in bytes:
108
- // Measured: `66121 `
117
+ // Measured: `66512 `
109
118
// Estimated: `69046`
110
- // Minimum execution time: 99_000_000 picoseconds.
111
- Weight :: from_parts ( 116_000_000 , 0 )
119
+ // Minimum execution time: 158_877_000 picoseconds.
120
+ Weight :: from_parts ( 165_228_000 , 0 )
112
121
. saturating_add ( Weight :: from_parts ( 0 , 69046 ) )
113
122
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 ) )
114
- . saturating_add ( T :: DbWeight :: get ( ) . writes ( 4 ) )
123
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 6 ) )
115
124
}
116
125
/// Storage: `AmbassadorCollective::Members` (r:1 w:0)
117
126
/// Proof: `AmbassadorCollective::Members` (`max_values`: None, `max_size`: Some(42), added: 2517, mode: `MaxEncodedLen`)
@@ -121,8 +130,8 @@ impl<T: frame_system::Config> pallet_core_fellowship::WeightInfo for WeightInfo<
121
130
// Proof Size summary in bytes:
122
131
// Measured: `360`
123
132
// Estimated: `3514`
124
- // Minimum execution time: 21_000_000 picoseconds.
125
- Weight :: from_parts ( 22_000_000 , 0 )
133
+ // Minimum execution time: 25_056_000 picoseconds.
134
+ Weight :: from_parts ( 26_028_000 , 0 )
126
135
. saturating_add ( Weight :: from_parts ( 0 , 3514 ) )
127
136
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2 ) )
128
137
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
@@ -141,8 +150,8 @@ impl<T: frame_system::Config> pallet_core_fellowship::WeightInfo for WeightInfo<
141
150
// Proof Size summary in bytes:
142
151
// Measured: `118`
143
152
// Estimated: `3514`
144
- // Minimum execution time: 36_000_000 picoseconds.
145
- Weight :: from_parts ( 36_000_000 , 0 )
153
+ // Minimum execution time: 34_784_000 picoseconds.
154
+ Weight :: from_parts ( 35_970_000 , 0 )
146
155
. saturating_add ( Weight :: from_parts ( 0 , 3514 ) )
147
156
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 3 ) )
148
157
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 5 ) )
@@ -152,7 +161,7 @@ impl<T: frame_system::Config> pallet_core_fellowship::WeightInfo for WeightInfo<
152
161
/// Storage: `AmbassadorCore::Member` (r:1 w:1)
153
162
/// Proof: `AmbassadorCore::Member` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
154
163
/// Storage: `AmbassadorCore::Params` (r:1 w:0)
155
- /// Proof: `AmbassadorCore::Params` (`max_values`: Some(1), `max_size`: Some(364 ), added: 859 , mode: `MaxEncodedLen`)
164
+ /// Proof: `AmbassadorCore::Params` (`max_values`: Some(1), `max_size`: Some(368 ), added: 863 , mode: `MaxEncodedLen`)
156
165
/// Storage: `AmbassadorCollective::MemberCount` (r:1 w:1)
157
166
/// Proof: `AmbassadorCollective::MemberCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`)
158
167
/// Storage: `AmbassadorCore::MemberEvidence` (r:1 w:1)
@@ -163,25 +172,40 @@ impl<T: frame_system::Config> pallet_core_fellowship::WeightInfo for WeightInfo<
163
172
/// Proof: `AmbassadorCollective::IdToIndex` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
164
173
fn promote ( ) -> Weight {
165
174
// Proof Size summary in bytes:
166
- // Measured: `65989 `
175
+ // Measured: `66055 `
167
176
// Estimated: `69046`
168
- // Minimum execution time: 95_000_000 picoseconds.
169
- Weight :: from_parts ( 110_000_000 , 0 )
177
+ // Minimum execution time: 147_616_000 picoseconds.
178
+ Weight :: from_parts ( 154_534_000 , 0 )
170
179
. saturating_add ( Weight :: from_parts ( 0 , 69046 ) )
171
180
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 ) )
172
181
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 6 ) )
173
182
}
183
+ /// Storage: `AmbassadorCollective::Members` (r:1 w:1)
184
+ /// Proof: `AmbassadorCollective::Members` (`max_values`: None, `max_size`: Some(42), added: 2517, mode: `MaxEncodedLen`)
185
+ /// Storage: `AmbassadorCore::Member` (r:1 w:1)
186
+ /// Proof: `AmbassadorCore::Member` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
187
+ /// Storage: `AmbassadorCollective::MemberCount` (r:9 w:9)
188
+ /// Proof: `AmbassadorCollective::MemberCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`)
189
+ /// Storage: `AmbassadorCore::MemberEvidence` (r:1 w:1)
190
+ /// Proof: `AmbassadorCore::MemberEvidence` (`max_values`: None, `max_size`: Some(65581), added: 68056, mode: `MaxEncodedLen`)
191
+ /// Storage: `AmbassadorCollective::IndexToId` (r:0 w:9)
192
+ /// Proof: `AmbassadorCollective::IndexToId` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
193
+ /// Storage: `AmbassadorCollective::IdToIndex` (r:0 w:9)
194
+ /// Proof: `AmbassadorCollective::IdToIndex` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
195
+ /// The range of component `r` is `[1, 9]`.
196
+ /// The range of component `r` is `[1, 9]`.
174
197
fn promote_fast ( r : u32 , ) -> Weight {
175
198
// Proof Size summary in bytes:
176
- // Measured: `16844`
177
- // Estimated: `19894 + r * (2489 ±0)`
178
- // Minimum execution time: 45_065_000 picoseconds.
179
- Weight :: from_parts ( 34_090_392 , 19894 )
180
- // Standard Error: 18_620
181
- . saturating_add ( Weight :: from_parts ( 13_578_046 , 0 ) . saturating_mul ( r. into ( ) ) )
182
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 3_u64 ) )
199
+ // Measured: `65968`
200
+ // Estimated: `69046 + r * (2489 ±0)`
201
+ // Minimum execution time: 138_323_000 picoseconds.
202
+ Weight :: from_parts ( 125_497_264 , 0 )
203
+ . saturating_add ( Weight :: from_parts ( 0 , 69046 ) )
204
+ // Standard Error: 56_050
205
+ . saturating_add ( Weight :: from_parts ( 19_863_853 , 0 ) . saturating_mul ( r. into ( ) ) )
206
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 3 ) )
183
207
. saturating_add ( T :: DbWeight :: get ( ) . reads ( ( 1_u64 ) . saturating_mul ( r. into ( ) ) ) )
184
- . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3_u64 ) )
208
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 ) )
185
209
. saturating_add ( T :: DbWeight :: get ( ) . writes ( ( 3_u64 ) . saturating_mul ( r. into ( ) ) ) )
186
210
. saturating_add ( Weight :: from_parts ( 0 , 2489 ) . saturating_mul ( r. into ( ) ) )
187
211
}
@@ -193,10 +217,10 @@ impl<T: frame_system::Config> pallet_core_fellowship::WeightInfo for WeightInfo<
193
217
/// Proof: `AmbassadorCore::MemberEvidence` (`max_values`: None, `max_size`: Some(65581), added: 68056, mode: `MaxEncodedLen`)
194
218
fn offboard ( ) -> Weight {
195
219
// Proof Size summary in bytes:
196
- // Measured: `331 `
220
+ // Measured: `265 `
197
221
// Estimated: `3514`
198
- // Minimum execution time: 21_000_000 picoseconds.
199
- Weight :: from_parts ( 22_000_000 , 0 )
222
+ // Minimum execution time: 26_903_000 picoseconds.
223
+ Weight :: from_parts ( 27_645_000 , 0 )
200
224
. saturating_add ( Weight :: from_parts ( 0 , 3514 ) )
201
225
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2 ) )
202
226
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 ) )
@@ -209,8 +233,22 @@ impl<T: frame_system::Config> pallet_core_fellowship::WeightInfo for WeightInfo<
209
233
// Proof Size summary in bytes:
210
234
// Measured: `285`
211
235
// Estimated: `3514`
212
- // Minimum execution time: 20_000_000 picoseconds.
213
- Weight :: from_parts ( 21_000_000 , 0 )
236
+ // Minimum execution time: 23_286_000 picoseconds.
237
+ Weight :: from_parts ( 23_848_000 , 0 )
238
+ . saturating_add ( Weight :: from_parts ( 0 , 3514 ) )
239
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 2 ) )
240
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
241
+ }
242
+ /// Storage: `AmbassadorCore::Member` (r:1 w:1)
243
+ /// Proof: `AmbassadorCore::Member` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
244
+ /// Storage: `AmbassadorCollective::Members` (r:1 w:0)
245
+ /// Proof: `AmbassadorCollective::Members` (`max_values`: None, `max_size`: Some(42), added: 2517, mode: `MaxEncodedLen`)
246
+ fn import_member ( ) -> Weight {
247
+ // Proof Size summary in bytes:
248
+ // Measured: `285`
249
+ // Estimated: `3514`
250
+ // Minimum execution time: 23_239_000 picoseconds.
251
+ Weight :: from_parts ( 23_684_000 , 0 )
214
252
. saturating_add ( Weight :: from_parts ( 0 , 3514 ) )
215
253
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2 ) )
216
254
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
@@ -225,8 +263,8 @@ impl<T: frame_system::Config> pallet_core_fellowship::WeightInfo for WeightInfo<
225
263
// Proof Size summary in bytes:
226
264
// Measured: `65967`
227
265
// Estimated: `69046`
228
- // Minimum execution time: 78_000_000 picoseconds.
229
- Weight :: from_parts ( 104_000_000 , 0 )
266
+ // Minimum execution time: 125_987_000 picoseconds.
267
+ Weight :: from_parts ( 130_625_000 , 0 )
230
268
. saturating_add ( Weight :: from_parts ( 0 , 69046 ) )
231
269
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 3 ) )
232
270
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 ) )
@@ -239,8 +277,8 @@ impl<T: frame_system::Config> pallet_core_fellowship::WeightInfo for WeightInfo<
239
277
// Proof Size summary in bytes:
240
278
// Measured: `151`
241
279
// Estimated: `69046`
242
- // Minimum execution time: 43_000_000 picoseconds.
243
- Weight :: from_parts ( 44_000_000 , 0 )
280
+ // Minimum execution time: 104_431_000 picoseconds.
281
+ Weight :: from_parts ( 106_646_000 , 0 )
244
282
. saturating_add ( Weight :: from_parts ( 0 , 69046 ) )
245
283
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2 ) )
246
284
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
0 commit comments