Skip to content

Commit 344b1a7

Browse files
committed
Update weights for PR #1743
1 parent 1a10f6b commit 344b1a7

File tree

1 file changed

+68
-56
lines changed

1 file changed

+68
-56
lines changed

pallets/schemas/src/weights.rs

Lines changed: 68 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
//! Autogenerated weights for pallet_schemas
1919
//!
2020
//! 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: `[]`
2222
//! 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`
2424
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024
2525
2626
// Executed Command:
@@ -63,37 +63,41 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
6363
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
6464
/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:1)
6565
/// 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`)
6870
/// The range of component `m` is `[16, 65499]`.
6971
fn create_schema(m: u32, ) -> Weight {
7072
// Proof Size summary in bytes:
7173
// Measured: `136`
7274
// 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()))
7779
.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))
7981
}
8082
/// Storage: `Schemas::GovernanceSchemaModelMaxBytes` (r:1 w:0)
8183
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
8284
/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:1)
8385
/// 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`)
8690
/// The range of component `m` is `[16, 65499]`.
8791
fn create_schema_via_governance(m: u32, ) -> Weight {
8892
// Proof Size summary in bytes:
8993
// Measured: `136`
9094
// 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()))
9599
.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))
97101
}
98102
/// Storage: `Council::Members` (r:1 w:0)
99103
/// 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> {
110114
// Proof Size summary in bytes:
111115
// Measured: `230`
112116
// 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()))
117121
.saturating_add(T::DbWeight::get().reads(4_u64))
118122
.saturating_add(T::DbWeight::get().writes(4_u64))
119123
}
120124
/// Storage: `Schemas::GovernanceSchemaModelMaxBytes` (r:1 w:0)
121125
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
122126
/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:1)
123127
/// 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`)
126132
/// The range of component `m` is `[16, 65499]`.
127133
fn create_schema_v2(m: u32, ) -> Weight {
128134
// Proof Size summary in bytes:
129135
// Measured: `136`
130136
// 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()))
135141
.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))
137143
}
138144
/// Storage: `Schemas::GovernanceSchemaModelMaxBytes` (r:0 w:1)
139145
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
140146
fn set_max_schema_model_bytes() -> Weight {
141147
// Proof Size summary in bytes:
142148
// Measured: `0`
143149
// 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)
146152
.saturating_add(T::DbWeight::get().writes(1_u64))
147153
}
148154
}
@@ -153,37 +159,41 @@ impl WeightInfo for () {
153159
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
154160
/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:1)
155161
/// 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`)
158166
/// The range of component `m` is `[16, 65499]`.
159167
fn create_schema(m: u32, ) -> Weight {
160168
// Proof Size summary in bytes:
161169
// Measured: `136`
162170
// 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()))
167175
.saturating_add(RocksDbWeight::get().reads(2_u64))
168-
.saturating_add(RocksDbWeight::get().writes(2_u64))
176+
.saturating_add(RocksDbWeight::get().writes(3_u64))
169177
}
170178
/// Storage: `Schemas::GovernanceSchemaModelMaxBytes` (r:1 w:0)
171179
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
172180
/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:1)
173181
/// 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`)
176186
/// The range of component `m` is `[16, 65499]`.
177187
fn create_schema_via_governance(m: u32, ) -> Weight {
178188
// Proof Size summary in bytes:
179189
// Measured: `136`
180190
// 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()))
185195
.saturating_add(RocksDbWeight::get().reads(2_u64))
186-
.saturating_add(RocksDbWeight::get().writes(2_u64))
196+
.saturating_add(RocksDbWeight::get().writes(3_u64))
187197
}
188198
/// Storage: `Council::Members` (r:1 w:0)
189199
/// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
@@ -200,39 +210,41 @@ impl WeightInfo for () {
200210
// Proof Size summary in bytes:
201211
// Measured: `230`
202212
// 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()))
207217
.saturating_add(RocksDbWeight::get().reads(4_u64))
208218
.saturating_add(RocksDbWeight::get().writes(4_u64))
209219
}
210220
/// Storage: `Schemas::GovernanceSchemaModelMaxBytes` (r:1 w:0)
211221
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
212222
/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:1)
213223
/// 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`)
216228
/// The range of component `m` is `[16, 65499]`.
217229
fn create_schema_v2(m: u32, ) -> Weight {
218230
// Proof Size summary in bytes:
219231
// Measured: `136`
220232
// 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()))
225237
.saturating_add(RocksDbWeight::get().reads(2_u64))
226-
.saturating_add(RocksDbWeight::get().writes(2_u64))
238+
.saturating_add(RocksDbWeight::get().writes(3_u64))
227239
}
228240
/// Storage: `Schemas::GovernanceSchemaModelMaxBytes` (r:0 w:1)
229241
/// Proof: `Schemas::GovernanceSchemaModelMaxBytes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
230242
fn set_max_schema_model_bytes() -> Weight {
231243
// Proof Size summary in bytes:
232244
// Measured: `0`
233245
// 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)
236248
.saturating_add(RocksDbWeight::get().writes(1_u64))
237249
}
238250
}

0 commit comments

Comments
 (0)