18
18
//! Autogenerated weights for pallet_schemas
19
19
//!
20
20
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
21
- //! DATE: 2023-10-30 , STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21
+ //! DATE: 2023-11-02 , STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
22
//! WORST CASE MAP SIZE: `1000000`
23
- //! HOSTNAME: `benchmark-runner-44wtw-bw25f `, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
23
+ //! HOSTNAME: `benchmark-runner-44wtw-bs9g2 `, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
24
24
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024
25
25
26
26
// Executed Command:
@@ -63,37 +63,41 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
63
63
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
64
64
/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:1)
65
65
/// Proof: `Schemas::CurrentSchemaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
66
- /// Storage: `Schemas::Schemas` (r:0 w:1)
67
- /// Proof: `Schemas::Schemas` (`max_values`: None, `max_size`: Some(65518), added: 67993, mode: `MaxEncodedLen`)
66
+ /// Storage: `Schemas::SchemaInfos` (r:0 w:1)
67
+ /// Proof: `Schemas::SchemaInfos` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`)
68
+ /// Storage: `Schemas::SchemaPayloads` (r:0 w:1)
69
+ /// Proof: `Schemas::SchemaPayloads` (`max_values`: None, `max_size`: Some(65514), added: 67989, mode: `MaxEncodedLen`)
68
70
/// The range of component `m` is `[16, 65499]`.
69
71
fn create_schema ( m : u32 , ) -> Weight {
70
72
// Proof Size summary in bytes:
71
73
// Measured: `136`
72
74
// Estimated: `10399`
73
- // Minimum execution time: 14_031_000 picoseconds.
74
- Weight :: from_parts ( 14_415_000 , 10399 )
75
- // Standard Error: 47
76
- . saturating_add ( Weight :: from_parts ( 35_161 , 0 ) . saturating_mul ( m. into ( ) ) )
75
+ // Minimum execution time: 15_732_000 picoseconds.
76
+ Weight :: from_parts ( 15_811_000 , 10399 )
77
+ // Standard Error: 45
78
+ . saturating_add ( Weight :: from_parts ( 33_865 , 0 ) . saturating_mul ( m. into ( ) ) )
77
79
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2_u64 ) )
78
- . saturating_add ( T :: DbWeight :: get ( ) . writes ( 2_u64 ) )
80
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3_u64 ) )
79
81
}
80
82
/// Storage: `Schemas::GovernanceSchemaModelMaxBytes` (r:1 w:0)
81
83
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
82
84
/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:1)
83
85
/// Proof: `Schemas::CurrentSchemaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
84
- /// Storage: `Schemas::Schemas` (r:0 w:1)
85
- /// Proof: `Schemas::Schemas` (`max_values`: None, `max_size`: Some(65518), added: 67993, mode: `MaxEncodedLen`)
86
+ /// Storage: `Schemas::SchemaInfos` (r:0 w:1)
87
+ /// Proof: `Schemas::SchemaInfos` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`)
88
+ /// Storage: `Schemas::SchemaPayloads` (r:0 w:1)
89
+ /// Proof: `Schemas::SchemaPayloads` (`max_values`: None, `max_size`: Some(65514), added: 67989, mode: `MaxEncodedLen`)
86
90
/// The range of component `m` is `[16, 65499]`.
87
91
fn create_schema_via_governance ( m : u32 , ) -> Weight {
88
92
// Proof Size summary in bytes:
89
93
// Measured: `136`
90
94
// Estimated: `10399`
91
- // Minimum execution time: 14_110_000 picoseconds.
92
- Weight :: from_parts ( 14_289_000 , 10399 )
93
- // Standard Error: 47
94
- . saturating_add ( Weight :: from_parts ( 35_148 , 0 ) . saturating_mul ( m. into ( ) ) )
95
+ // Minimum execution time: 15_863_000 picoseconds.
96
+ Weight :: from_parts ( 6_645_040 , 10399 )
97
+ // Standard Error: 1_354
98
+ . saturating_add ( Weight :: from_parts ( 36_440 , 0 ) . saturating_mul ( m. into ( ) ) )
95
99
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2_u64 ) )
96
- . saturating_add ( T :: DbWeight :: get ( ) . writes ( 2_u64 ) )
100
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3_u64 ) )
97
101
}
98
102
/// Storage: `Council::Members` (r:1 w:0)
99
103
/// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
@@ -110,39 +114,41 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
110
114
// Proof Size summary in bytes:
111
115
// Measured: `230`
112
116
// Estimated: `12605`
113
- // Minimum execution time: 21_148_000 picoseconds.
114
- Weight :: from_parts ( 9_634_788 , 12605 )
115
- // Standard Error: 34
116
- . saturating_add ( Weight :: from_parts ( 3_135 , 0 ) . saturating_mul ( m. into ( ) ) )
117
+ // Minimum execution time: 21_551_000 picoseconds.
118
+ Weight :: from_parts ( 9_576_518 , 12605 )
119
+ // Standard Error: 38
120
+ . saturating_add ( Weight :: from_parts ( 3_139 , 0 ) . saturating_mul ( m. into ( ) ) )
117
121
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 4_u64 ) )
118
122
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 4_u64 ) )
119
123
}
120
124
/// Storage: `Schemas::GovernanceSchemaModelMaxBytes` (r:1 w:0)
121
125
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
122
126
/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:1)
123
127
/// Proof: `Schemas::CurrentSchemaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
124
- /// Storage: `Schemas::Schemas` (r:0 w:1)
125
- /// Proof: `Schemas::Schemas` (`max_values`: None, `max_size`: Some(65518), added: 67993, mode: `MaxEncodedLen`)
128
+ /// Storage: `Schemas::SchemaInfos` (r:0 w:1)
129
+ /// Proof: `Schemas::SchemaInfos` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`)
130
+ /// Storage: `Schemas::SchemaPayloads` (r:0 w:1)
131
+ /// Proof: `Schemas::SchemaPayloads` (`max_values`: None, `max_size`: Some(65514), added: 67989, mode: `MaxEncodedLen`)
126
132
/// The range of component `m` is `[16, 65499]`.
127
133
fn create_schema_v2 ( m : u32 , ) -> Weight {
128
134
// Proof Size summary in bytes:
129
135
// Measured: `136`
130
136
// Estimated: `10399`
131
- // Minimum execution time: 13_941_000 picoseconds.
132
- Weight :: from_parts ( 14_046_000 , 10399 )
133
- // Standard Error: 46
134
- . saturating_add ( Weight :: from_parts ( 35_198 , 0 ) . saturating_mul ( m. into ( ) ) )
137
+ // Minimum execution time: 15_895_000 picoseconds.
138
+ Weight :: from_parts ( 16_024_000 , 10399 )
139
+ // Standard Error: 45
140
+ . saturating_add ( Weight :: from_parts ( 33_856 , 0 ) . saturating_mul ( m. into ( ) ) )
135
141
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2_u64 ) )
136
- . saturating_add ( T :: DbWeight :: get ( ) . writes ( 2_u64 ) )
142
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3_u64 ) )
137
143
}
138
144
/// Storage: `Schemas::GovernanceSchemaModelMaxBytes` (r:0 w:1)
139
145
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
140
146
fn set_max_schema_model_bytes ( ) -> Weight {
141
147
// Proof Size summary in bytes:
142
148
// Measured: `0`
143
149
// Estimated: `0`
144
- // Minimum execution time: 6_747_000 picoseconds.
145
- Weight :: from_parts ( 6_980_000 , 0 )
150
+ // Minimum execution time: 6_678_000 picoseconds.
151
+ Weight :: from_parts ( 7_121_000 , 0 )
146
152
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1_u64 ) )
147
153
}
148
154
}
@@ -153,37 +159,41 @@ impl WeightInfo for () {
153
159
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
154
160
/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:1)
155
161
/// Proof: `Schemas::CurrentSchemaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
156
- /// Storage: `Schemas::Schemas` (r:0 w:1)
157
- /// Proof: `Schemas::Schemas` (`max_values`: None, `max_size`: Some(65518), added: 67993, mode: `MaxEncodedLen`)
162
+ /// Storage: `Schemas::SchemaInfos` (r:0 w:1)
163
+ /// Proof: `Schemas::SchemaInfos` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`)
164
+ /// Storage: `Schemas::SchemaPayloads` (r:0 w:1)
165
+ /// Proof: `Schemas::SchemaPayloads` (`max_values`: None, `max_size`: Some(65514), added: 67989, mode: `MaxEncodedLen`)
158
166
/// The range of component `m` is `[16, 65499]`.
159
167
fn create_schema ( m : u32 , ) -> Weight {
160
168
// Proof Size summary in bytes:
161
169
// Measured: `136`
162
170
// Estimated: `10399`
163
- // Minimum execution time: 14_031_000 picoseconds.
164
- Weight :: from_parts ( 14_415_000 , 10399 )
165
- // Standard Error: 47
166
- . saturating_add ( Weight :: from_parts ( 35_161 , 0 ) . saturating_mul ( m. into ( ) ) )
171
+ // Minimum execution time: 15_732_000 picoseconds.
172
+ Weight :: from_parts ( 15_811_000 , 10399 )
173
+ // Standard Error: 45
174
+ . saturating_add ( Weight :: from_parts ( 33_865 , 0 ) . saturating_mul ( m. into ( ) ) )
167
175
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 2_u64 ) )
168
- . saturating_add ( RocksDbWeight :: get ( ) . writes ( 2_u64 ) )
176
+ . saturating_add ( RocksDbWeight :: get ( ) . writes ( 3_u64 ) )
169
177
}
170
178
/// Storage: `Schemas::GovernanceSchemaModelMaxBytes` (r:1 w:0)
171
179
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
172
180
/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:1)
173
181
/// Proof: `Schemas::CurrentSchemaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
174
- /// Storage: `Schemas::Schemas` (r:0 w:1)
175
- /// Proof: `Schemas::Schemas` (`max_values`: None, `max_size`: Some(65518), added: 67993, mode: `MaxEncodedLen`)
182
+ /// Storage: `Schemas::SchemaInfos` (r:0 w:1)
183
+ /// Proof: `Schemas::SchemaInfos` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`)
184
+ /// Storage: `Schemas::SchemaPayloads` (r:0 w:1)
185
+ /// Proof: `Schemas::SchemaPayloads` (`max_values`: None, `max_size`: Some(65514), added: 67989, mode: `MaxEncodedLen`)
176
186
/// The range of component `m` is `[16, 65499]`.
177
187
fn create_schema_via_governance ( m : u32 , ) -> Weight {
178
188
// Proof Size summary in bytes:
179
189
// Measured: `136`
180
190
// Estimated: `10399`
181
- // Minimum execution time: 14_110_000 picoseconds.
182
- Weight :: from_parts ( 14_289_000 , 10399 )
183
- // Standard Error: 47
184
- . saturating_add ( Weight :: from_parts ( 35_148 , 0 ) . saturating_mul ( m. into ( ) ) )
191
+ // Minimum execution time: 15_863_000 picoseconds.
192
+ Weight :: from_parts ( 6_645_040 , 10399 )
193
+ // Standard Error: 1_354
194
+ . saturating_add ( Weight :: from_parts ( 36_440 , 0 ) . saturating_mul ( m. into ( ) ) )
185
195
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 2_u64 ) )
186
- . saturating_add ( RocksDbWeight :: get ( ) . writes ( 2_u64 ) )
196
+ . saturating_add ( RocksDbWeight :: get ( ) . writes ( 3_u64 ) )
187
197
}
188
198
/// Storage: `Council::Members` (r:1 w:0)
189
199
/// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
@@ -200,39 +210,41 @@ impl WeightInfo for () {
200
210
// Proof Size summary in bytes:
201
211
// Measured: `230`
202
212
// Estimated: `12605`
203
- // Minimum execution time: 21_148_000 picoseconds.
204
- Weight :: from_parts ( 9_634_788 , 12605 )
205
- // Standard Error: 34
206
- . saturating_add ( Weight :: from_parts ( 3_135 , 0 ) . saturating_mul ( m. into ( ) ) )
213
+ // Minimum execution time: 21_551_000 picoseconds.
214
+ Weight :: from_parts ( 9_576_518 , 12605 )
215
+ // Standard Error: 38
216
+ . saturating_add ( Weight :: from_parts ( 3_139 , 0 ) . saturating_mul ( m. into ( ) ) )
207
217
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 4_u64 ) )
208
218
. saturating_add ( RocksDbWeight :: get ( ) . writes ( 4_u64 ) )
209
219
}
210
220
/// Storage: `Schemas::GovernanceSchemaModelMaxBytes` (r:1 w:0)
211
221
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
212
222
/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:1)
213
223
/// Proof: `Schemas::CurrentSchemaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
214
- /// Storage: `Schemas::Schemas` (r:0 w:1)
215
- /// Proof: `Schemas::Schemas` (`max_values`: None, `max_size`: Some(65518), added: 67993, mode: `MaxEncodedLen`)
224
+ /// Storage: `Schemas::SchemaInfos` (r:0 w:1)
225
+ /// Proof: `Schemas::SchemaInfos` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`)
226
+ /// Storage: `Schemas::SchemaPayloads` (r:0 w:1)
227
+ /// Proof: `Schemas::SchemaPayloads` (`max_values`: None, `max_size`: Some(65514), added: 67989, mode: `MaxEncodedLen`)
216
228
/// The range of component `m` is `[16, 65499]`.
217
229
fn create_schema_v2 ( m : u32 , ) -> Weight {
218
230
// Proof Size summary in bytes:
219
231
// Measured: `136`
220
232
// Estimated: `10399`
221
- // Minimum execution time: 13_941_000 picoseconds.
222
- Weight :: from_parts ( 14_046_000 , 10399 )
223
- // Standard Error: 46
224
- . saturating_add ( Weight :: from_parts ( 35_198 , 0 ) . saturating_mul ( m. into ( ) ) )
233
+ // Minimum execution time: 15_895_000 picoseconds.
234
+ Weight :: from_parts ( 16_024_000 , 10399 )
235
+ // Standard Error: 45
236
+ . saturating_add ( Weight :: from_parts ( 33_856 , 0 ) . saturating_mul ( m. into ( ) ) )
225
237
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 2_u64 ) )
226
- . saturating_add ( RocksDbWeight :: get ( ) . writes ( 2_u64 ) )
238
+ . saturating_add ( RocksDbWeight :: get ( ) . writes ( 3_u64 ) )
227
239
}
228
240
/// Storage: `Schemas::GovernanceSchemaModelMaxBytes` (r:0 w:1)
229
241
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
230
242
fn set_max_schema_model_bytes ( ) -> Weight {
231
243
// Proof Size summary in bytes:
232
244
// Measured: `0`
233
245
// Estimated: `0`
234
- // Minimum execution time: 6_747_000 picoseconds.
235
- Weight :: from_parts ( 6_980_000 , 0 )
246
+ // Minimum execution time: 6_678_000 picoseconds.
247
+ Weight :: from_parts ( 7_121_000 , 0 )
236
248
. saturating_add ( RocksDbWeight :: get ( ) . writes ( 1_u64 ) )
237
249
}
238
250
}
0 commit comments