frame_benchmarking_pallet_pov/weights.rs
1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `frame_benchmarking_pallet_pov`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `4563561839a5`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=frame_benchmarking_pallet_pov
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/benchmarking/pov/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61// --genesis-builder-policy=none
62// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage,pallet_election_provider_multi_block,pallet_election_provider_multi_block::signed,pallet_election_provider_multi_block::unsigned,pallet_election_provider_multi_block::verifier
63
64#![cfg_attr(rustfmt, rustfmt_skip)]
65#![allow(unused_parens)]
66#![allow(unused_imports)]
67#![allow(missing_docs)]
68#![allow(dead_code)]
69
70use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
71use core::marker::PhantomData;
72
73/// Weight functions needed for `frame_benchmarking_pallet_pov`.
74pub trait WeightInfo {
75 fn storage_single_value_read() -> Weight;
76 fn storage_single_value_ignored_read() -> Weight;
77 fn storage_single_value_ignored_some_read() -> Weight;
78 fn storage_single_value_read_twice() -> Weight;
79 fn storage_single_value_write() -> Weight;
80 fn storage_single_value_kill() -> Weight;
81 fn storage_1m_map_read_one_value_two_additional_layers() -> Weight;
82 fn storage_1m_map_read_one_value_three_additional_layers() -> Weight;
83 fn storage_1m_map_read_one_value_four_additional_layers() -> Weight;
84 fn storage_map_read_per_component(n: u32, m: u32, ) -> Weight;
85 fn storage_map_read_per_component_one_ignored(n: u32, m: u32, ) -> Weight;
86 fn storage_1m_map_one_entry_repeated_read(n: u32, ) -> Weight;
87 fn storage_1m_map_multiple_entry_repeated_read(n: u32, ) -> Weight;
88 fn storage_1m_double_map_read_per_component(n: u32, ) -> Weight;
89 fn storage_value_bounded_read() -> Weight;
90 fn storage_value_unbounded_read() -> Weight;
91 fn storage_value_unbounded_ignored_read() -> Weight;
92 fn storage_value_bounded_and_unbounded_read() -> Weight;
93 fn measured_storage_value_read_linear_size(l: u32, ) -> Weight;
94 fn mel_storage_value_read_linear_size(l: u32, ) -> Weight;
95 fn measured_storage_double_value_read_linear_size(l: u32, ) -> Weight;
96 fn mel_storage_double_value_read_linear_size(l: u32, ) -> Weight;
97 fn mel_mixed_storage_double_value_read_linear_size(l: u32, ) -> Weight;
98 fn measured_mixed_storage_double_value_read_linear_size(l: u32, ) -> Weight;
99 fn storage_map_unbounded_both_measured_read(i: u32, ) -> Weight;
100 fn storage_map_partial_unbounded_read(i: u32, ) -> Weight;
101 fn storage_map_partial_unbounded_ignored_read(i: u32, ) -> Weight;
102 fn emit_event() -> Weight;
103 fn noop() -> Weight;
104 fn storage_iteration() -> Weight;
105 fn storage_root_is_the_same_every_time(i: u32, ) -> Weight;
106}
107
108/// Weights for `frame_benchmarking_pallet_pov` using the Substrate node and recommended hardware.
109pub struct SubstrateWeight<T>(PhantomData<T>);
110impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
111 /// Storage: `Pov::Value` (r:1 w:0)
112 /// Proof: `Pov::Value` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
113 fn storage_single_value_read() -> Weight {
114 // Proof Size summary in bytes:
115 // Measured: `8`
116 // Estimated: `1489`
117 // Minimum execution time: 1_817_000 picoseconds.
118 Weight::from_parts(1_881_000, 1489)
119 .saturating_add(T::DbWeight::get().reads(1_u64))
120 }
121 /// Storage: `Pov::Value` (r:1 w:0)
122 /// Proof: `Pov::Value` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Ignored`)
123 fn storage_single_value_ignored_read() -> Weight {
124 // Proof Size summary in bytes:
125 // Measured: `8`
126 // Estimated: `0`
127 // Minimum execution time: 1_782_000 picoseconds.
128 Weight::from_parts(1_910_000, 0)
129 .saturating_add(T::DbWeight::get().reads(1_u64))
130 }
131 /// Storage: `Pov::Value` (r:1 w:0)
132 /// Proof: `Pov::Value` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
133 /// Storage: `Pov::Value2` (r:1 w:0)
134 /// Proof: `Pov::Value2` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Ignored`)
135 fn storage_single_value_ignored_some_read() -> Weight {
136 // Proof Size summary in bytes:
137 // Measured: `35`
138 // Estimated: `1489`
139 // Minimum execution time: 3_713_000 picoseconds.
140 Weight::from_parts(3_806_000, 1489)
141 .saturating_add(T::DbWeight::get().reads(2_u64))
142 }
143 /// Storage: `Pov::Value` (r:1 w:0)
144 /// Proof: `Pov::Value` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
145 fn storage_single_value_read_twice() -> Weight {
146 // Proof Size summary in bytes:
147 // Measured: `8`
148 // Estimated: `1489`
149 // Minimum execution time: 2_252_000 picoseconds.
150 Weight::from_parts(2_394_000, 1489)
151 .saturating_add(T::DbWeight::get().reads(1_u64))
152 }
153 /// Storage: `Pov::Value` (r:0 w:1)
154 /// Proof: `Pov::Value` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
155 fn storage_single_value_write() -> Weight {
156 // Proof Size summary in bytes:
157 // Measured: `0`
158 // Estimated: `0`
159 // Minimum execution time: 376_000 picoseconds.
160 Weight::from_parts(448_000, 0)
161 .saturating_add(T::DbWeight::get().writes(1_u64))
162 }
163 /// Storage: `Pov::Value` (r:0 w:1)
164 /// Proof: `Pov::Value` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
165 fn storage_single_value_kill() -> Weight {
166 // Proof Size summary in bytes:
167 // Measured: `0`
168 // Estimated: `0`
169 // Minimum execution time: 311_000 picoseconds.
170 Weight::from_parts(371_000, 0)
171 .saturating_add(T::DbWeight::get().writes(1_u64))
172 }
173 /// Storage: `Pov::Map1M` (r:1 w:0)
174 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `Measured`)
175 fn storage_1m_map_read_one_value_two_additional_layers() -> Weight {
176 // Proof Size summary in bytes:
177 // Measured: `1182`
178 // Estimated: `4647`
179 // Minimum execution time: 11_814_000 picoseconds.
180 Weight::from_parts(12_286_000, 4647)
181 .saturating_add(T::DbWeight::get().reads(1_u64))
182 }
183 /// Storage: `Pov::Map1M` (r:1 w:0)
184 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `Measured`)
185 fn storage_1m_map_read_one_value_three_additional_layers() -> Weight {
186 // Proof Size summary in bytes:
187 // Measured: `1485`
188 // Estimated: `4950`
189 // Minimum execution time: 15_590_000 picoseconds.
190 Weight::from_parts(16_034_000, 4950)
191 .saturating_add(T::DbWeight::get().reads(1_u64))
192 }
193 /// Storage: `Pov::Map1M` (r:1 w:0)
194 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `Measured`)
195 fn storage_1m_map_read_one_value_four_additional_layers() -> Weight {
196 // Proof Size summary in bytes:
197 // Measured: `2018`
198 // Estimated: `5483`
199 // Minimum execution time: 14_940_000 picoseconds.
200 Weight::from_parts(15_410_000, 5483)
201 .saturating_add(T::DbWeight::get().reads(1_u64))
202 }
203 /// Storage: `Pov::Map1M` (r:100 w:0)
204 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
205 /// Storage: `Pov::Map16M` (r:100 w:0)
206 /// Proof: `Pov::Map16M` (`max_values`: Some(16000000), `max_size`: Some(36), added: 3006, mode: `MaxEncodedLen`)
207 /// The range of component `n` is `[0, 100]`.
208 /// The range of component `m` is `[0, 100]`.
209 fn storage_map_read_per_component(n: u32, m: u32, ) -> Weight {
210 // Proof Size summary in bytes:
211 // Measured: `390 + m * (188 ±0) + n * (188 ±0)`
212 // Estimated: `990 + m * (2511 ±0) + n * (3006 ±0)`
213 // Minimum execution time: 476_299_000 picoseconds.
214 Weight::from_parts(291_597_275, 990)
215 // Standard Error: 33_182
216 .saturating_add(Weight::from_parts(2_645_788, 0).saturating_mul(n.into()))
217 // Standard Error: 33_182
218 .saturating_add(Weight::from_parts(2_663_663, 0).saturating_mul(m.into()))
219 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
220 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
221 .saturating_add(Weight::from_parts(0, 2511).saturating_mul(m.into()))
222 .saturating_add(Weight::from_parts(0, 3006).saturating_mul(n.into()))
223 }
224 /// Storage: `Pov::Map1M` (r:100 w:0)
225 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `Ignored`)
226 /// Storage: `Pov::Map16M` (r:100 w:0)
227 /// Proof: `Pov::Map16M` (`max_values`: Some(16000000), `max_size`: Some(36), added: 3006, mode: `MaxEncodedLen`)
228 /// The range of component `n` is `[0, 100]`.
229 /// The range of component `m` is `[0, 100]`.
230 fn storage_map_read_per_component_one_ignored(n: u32, m: u32, ) -> Weight {
231 // Proof Size summary in bytes:
232 // Measured: `390 + m * (188 ±0) + n * (188 ±0)`
233 // Estimated: `1560 + m * (189 ±0) + n * (3006 ±0)`
234 // Minimum execution time: 478_548_000 picoseconds.
235 Weight::from_parts(286_747_135, 1560)
236 // Standard Error: 32_978
237 .saturating_add(Weight::from_parts(2_691_677, 0).saturating_mul(n.into()))
238 // Standard Error: 32_978
239 .saturating_add(Weight::from_parts(2_700_753, 0).saturating_mul(m.into()))
240 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
241 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
242 .saturating_add(Weight::from_parts(0, 189).saturating_mul(m.into()))
243 .saturating_add(Weight::from_parts(0, 3006).saturating_mul(n.into()))
244 }
245 /// Storage: `Pov::Map1M` (r:1 w:0)
246 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
247 /// The range of component `n` is `[0, 100]`.
248 fn storage_1m_map_one_entry_repeated_read(n: u32, ) -> Weight {
249 // Proof Size summary in bytes:
250 // Measured: `41`
251 // Estimated: `3501`
252 // Minimum execution time: 166_000 picoseconds.
253 Weight::from_parts(1_973_792, 3501)
254 // Standard Error: 952
255 .saturating_add(Weight::from_parts(1_147_407, 0).saturating_mul(n.into()))
256 .saturating_add(T::DbWeight::get().reads(1_u64))
257 }
258 /// Storage: `Pov::Map1M` (r:100 w:0)
259 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
260 /// The range of component `n` is `[0, 100]`.
261 fn storage_1m_map_multiple_entry_repeated_read(n: u32, ) -> Weight {
262 // Proof Size summary in bytes:
263 // Measured: `18 + n * (40 ±0)`
264 // Estimated: `990 + n * (2511 ±0)`
265 // Minimum execution time: 161_000 picoseconds.
266 Weight::from_parts(187_000, 990)
267 // Standard Error: 3_863
268 .saturating_add(Weight::from_parts(13_643_264, 0).saturating_mul(n.into()))
269 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
270 .saturating_add(Weight::from_parts(0, 2511).saturating_mul(n.into()))
271 }
272 /// Storage: `Pov::DoubleMap1M` (r:1024 w:0)
273 /// Proof: `Pov::DoubleMap1M` (`max_values`: Some(1000000), `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
274 /// The range of component `n` is `[0, 1024]`.
275 fn storage_1m_double_map_read_per_component(n: u32, ) -> Weight {
276 // Proof Size summary in bytes:
277 // Measured: `21809 + n * (57 ±0)`
278 // Estimated: `990 + n * (2543 ±0)`
279 // Minimum execution time: 320_000 picoseconds.
280 Weight::from_parts(88_877_073, 990)
281 // Standard Error: 3_857
282 .saturating_add(Weight::from_parts(4_894_961, 0).saturating_mul(n.into()))
283 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
284 .saturating_add(Weight::from_parts(0, 2543).saturating_mul(n.into()))
285 }
286 /// Storage: `Pov::BoundedValue` (r:1 w:0)
287 /// Proof: `Pov::BoundedValue` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
288 fn storage_value_bounded_read() -> Weight {
289 // Proof Size summary in bytes:
290 // Measured: `0`
291 // Estimated: `1518`
292 // Minimum execution time: 670_000 picoseconds.
293 Weight::from_parts(720_000, 1518)
294 .saturating_add(T::DbWeight::get().reads(1_u64))
295 }
296 /// Storage: `Pov::UnboundedValue` (r:1 w:0)
297 /// Proof: `Pov::UnboundedValue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
298 fn storage_value_unbounded_read() -> Weight {
299 // Proof Size summary in bytes:
300 // Measured: `0`
301 // Estimated: `1485`
302 // Minimum execution time: 655_000 picoseconds.
303 Weight::from_parts(698_000, 1485)
304 .saturating_add(T::DbWeight::get().reads(1_u64))
305 }
306 /// Storage: `Pov::UnboundedValue` (r:1 w:0)
307 /// Proof: `Pov::UnboundedValue` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`)
308 fn storage_value_unbounded_ignored_read() -> Weight {
309 // Proof Size summary in bytes:
310 // Measured: `0`
311 // Estimated: `0`
312 // Minimum execution time: 680_000 picoseconds.
313 Weight::from_parts(713_000, 0)
314 .saturating_add(T::DbWeight::get().reads(1_u64))
315 }
316 /// Storage: `Pov::UnboundedValue` (r:1 w:0)
317 /// Proof: `Pov::UnboundedValue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
318 /// Storage: `Pov::BoundedValue` (r:1 w:0)
319 /// Proof: `Pov::BoundedValue` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
320 fn storage_value_bounded_and_unbounded_read() -> Weight {
321 // Proof Size summary in bytes:
322 // Measured: `534`
323 // Estimated: `2019`
324 // Minimum execution time: 4_310_000 picoseconds.
325 Weight::from_parts(4_559_000, 2019)
326 .saturating_add(T::DbWeight::get().reads(2_u64))
327 }
328 /// Storage: `Pov::LargeValue` (r:1 w:0)
329 /// Proof: `Pov::LargeValue` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `Measured`)
330 /// The range of component `l` is `[0, 4194304]`.
331 fn measured_storage_value_read_linear_size(l: u32, ) -> Weight {
332 // Proof Size summary in bytes:
333 // Measured: `13 + l * (1 ±0)`
334 // Estimated: `1497 + l * (1 ±0)`
335 // Minimum execution time: 1_872_000 picoseconds.
336 Weight::from_parts(1_929_000, 1497)
337 // Standard Error: 132
338 .saturating_add(Weight::from_parts(11_970, 0).saturating_mul(l.into()))
339 .saturating_add(T::DbWeight::get().reads(1_u64))
340 .saturating_add(Weight::from_parts(0, 1).saturating_mul(l.into()))
341 }
342 /// Storage: `Pov::LargeValue` (r:1 w:0)
343 /// Proof: `Pov::LargeValue` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `MaxEncodedLen`)
344 /// The range of component `l` is `[0, 4194304]`.
345 fn mel_storage_value_read_linear_size(l: u32, ) -> Weight {
346 // Proof Size summary in bytes:
347 // Measured: `13 + l * (1 ±0)`
348 // Estimated: `4195793`
349 // Minimum execution time: 1_826_000 picoseconds.
350 Weight::from_parts(1_899_000, 4195793)
351 // Standard Error: 135
352 .saturating_add(Weight::from_parts(12_037, 0).saturating_mul(l.into()))
353 .saturating_add(T::DbWeight::get().reads(1_u64))
354 }
355 /// Storage: `Pov::LargeValue` (r:1 w:0)
356 /// Proof: `Pov::LargeValue` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `Measured`)
357 /// Storage: `Pov::LargeValue2` (r:1 w:0)
358 /// Proof: `Pov::LargeValue2` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `Measured`)
359 /// The range of component `l` is `[0, 4194304]`.
360 fn measured_storage_double_value_read_linear_size(l: u32, ) -> Weight {
361 // Proof Size summary in bytes:
362 // Measured: `46 + l * (2 ±0)`
363 // Estimated: `1530 + l * (2 ±0)`
364 // Minimum execution time: 3_663_000 picoseconds.
365 Weight::from_parts(3_837_000, 1530)
366 // Standard Error: 265
367 .saturating_add(Weight::from_parts(23_779, 0).saturating_mul(l.into()))
368 .saturating_add(T::DbWeight::get().reads(2_u64))
369 .saturating_add(Weight::from_parts(0, 2).saturating_mul(l.into()))
370 }
371 /// Storage: `Pov::LargeValue` (r:1 w:0)
372 /// Proof: `Pov::LargeValue` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `MaxEncodedLen`)
373 /// Storage: `Pov::LargeValue2` (r:1 w:0)
374 /// Proof: `Pov::LargeValue2` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `MaxEncodedLen`)
375 /// The range of component `l` is `[0, 4194304]`.
376 fn mel_storage_double_value_read_linear_size(l: u32, ) -> Weight {
377 // Proof Size summary in bytes:
378 // Measured: `46 + l * (2 ±0)`
379 // Estimated: `4195793`
380 // Minimum execution time: 3_717_000 picoseconds.
381 Weight::from_parts(3_763_000, 4195793)
382 // Standard Error: 265
383 .saturating_add(Weight::from_parts(23_782, 0).saturating_mul(l.into()))
384 .saturating_add(T::DbWeight::get().reads(2_u64))
385 }
386 /// Storage: `Pov::LargeValue` (r:1 w:0)
387 /// Proof: `Pov::LargeValue` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `MaxEncodedLen`)
388 /// Storage: `Pov::LargeValue2` (r:1 w:0)
389 /// Proof: `Pov::LargeValue2` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `Measured`)
390 /// The range of component `l` is `[0, 4194304]`.
391 fn mel_mixed_storage_double_value_read_linear_size(l: u32, ) -> Weight {
392 // Proof Size summary in bytes:
393 // Measured: `46 + l * (2 ±0)`
394 // Estimated: `4195793 + l * (2 ±0)`
395 // Minimum execution time: 3_720_000 picoseconds.
396 Weight::from_parts(3_809_000, 4195793)
397 // Standard Error: 266
398 .saturating_add(Weight::from_parts(23_788, 0).saturating_mul(l.into()))
399 .saturating_add(T::DbWeight::get().reads(2_u64))
400 .saturating_add(Weight::from_parts(0, 2).saturating_mul(l.into()))
401 }
402 /// Storage: `Pov::LargeValue` (r:1 w:0)
403 /// Proof: `Pov::LargeValue` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `Measured`)
404 /// Storage: `Pov::LargeValue2` (r:1 w:0)
405 /// Proof: `Pov::LargeValue2` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `MaxEncodedLen`)
406 /// The range of component `l` is `[0, 4194304]`.
407 fn measured_mixed_storage_double_value_read_linear_size(l: u32, ) -> Weight {
408 // Proof Size summary in bytes:
409 // Measured: `46 + l * (2 ±0)`
410 // Estimated: `4195793 + l * (2 ±0)`
411 // Minimum execution time: 3_660_000 picoseconds.
412 Weight::from_parts(3_792_000, 4195793)
413 // Standard Error: 266
414 .saturating_add(Weight::from_parts(23_795, 0).saturating_mul(l.into()))
415 .saturating_add(T::DbWeight::get().reads(2_u64))
416 .saturating_add(Weight::from_parts(0, 2).saturating_mul(l.into()))
417 }
418 /// Storage: `Pov::UnboundedMap` (r:1 w:0)
419 /// Proof: `Pov::UnboundedMap` (`max_values`: None, `max_size`: None, mode: `Measured`)
420 /// Storage: `Pov::UnboundedMap2` (r:1 w:0)
421 /// Proof: `Pov::UnboundedMap2` (`max_values`: None, `max_size`: None, mode: `Measured`)
422 /// The range of component `i` is `[0, 1000]`.
423 fn storage_map_unbounded_both_measured_read(i: u32, ) -> Weight {
424 // Proof Size summary in bytes:
425 // Measured: `104 + i * (8 ±0)`
426 // Estimated: `3568 + i * (8 ±0)`
427 // Minimum execution time: 7_143_000 picoseconds.
428 Weight::from_parts(7_945_447, 3568)
429 // Standard Error: 27
430 .saturating_add(Weight::from_parts(2_983, 0).saturating_mul(i.into()))
431 .saturating_add(T::DbWeight::get().reads(2_u64))
432 .saturating_add(Weight::from_parts(0, 8).saturating_mul(i.into()))
433 }
434 /// Storage: `Pov::Map1M` (r:1 w:0)
435 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
436 /// Storage: `Pov::UnboundedMap` (r:1 w:0)
437 /// Proof: `Pov::UnboundedMap` (`max_values`: None, `max_size`: None, mode: `Measured`)
438 /// The range of component `i` is `[0, 1000]`.
439 fn storage_map_partial_unbounded_read(i: u32, ) -> Weight {
440 // Proof Size summary in bytes:
441 // Measured: `103 + i * (4 ±0)`
442 // Estimated: `3567 + i * (4 ±0)`
443 // Minimum execution time: 7_254_000 picoseconds.
444 Weight::from_parts(7_919_811, 3567)
445 // Standard Error: 22
446 .saturating_add(Weight::from_parts(1_670, 0).saturating_mul(i.into()))
447 .saturating_add(T::DbWeight::get().reads(2_u64))
448 .saturating_add(Weight::from_parts(0, 4).saturating_mul(i.into()))
449 }
450 /// Storage: `Pov::Map1M` (r:1 w:0)
451 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
452 /// Storage: `Pov::UnboundedMap` (r:1 w:0)
453 /// Proof: `Pov::UnboundedMap` (`max_values`: None, `max_size`: None, mode: `Ignored`)
454 /// The range of component `i` is `[0, 1000]`.
455 fn storage_map_partial_unbounded_ignored_read(i: u32, ) -> Weight {
456 // Proof Size summary in bytes:
457 // Measured: `103 + i * (4 ±0)`
458 // Estimated: `3501 + i * (4 ±0)`
459 // Minimum execution time: 7_195_000 picoseconds.
460 Weight::from_parts(7_998_073, 3501)
461 // Standard Error: 23
462 .saturating_add(Weight::from_parts(1_576, 0).saturating_mul(i.into()))
463 .saturating_add(T::DbWeight::get().reads(2_u64))
464 .saturating_add(Weight::from_parts(0, 4).saturating_mul(i.into()))
465 }
466 fn emit_event() -> Weight {
467 // Proof Size summary in bytes:
468 // Measured: `0`
469 // Estimated: `0`
470 // Minimum execution time: 3_961_000 picoseconds.
471 Weight::from_parts(4_092_000, 0)
472 }
473 fn noop() -> Weight {
474 // Proof Size summary in bytes:
475 // Measured: `0`
476 // Estimated: `0`
477 // Minimum execution time: 1_607_000 picoseconds.
478 Weight::from_parts(1_673_000, 0)
479 }
480 /// Storage: `Pov::UnboundedMapTwox` (r:65001 w:0)
481 /// Proof: `Pov::UnboundedMapTwox` (`max_values`: None, `max_size`: None, mode: `Measured`)
482 fn storage_iteration() -> Weight {
483 // Proof Size summary in bytes:
484 // Measured: `17985119`
485 // Estimated: `178863584`
486 // Minimum execution time: 305_702_942_000 picoseconds.
487 Weight::from_parts(311_508_079_000, 178863584)
488 .saturating_add(T::DbWeight::get().reads(65001_u64))
489 }
490 /// Storage: UNKNOWN KEY `0x6b657932` (r:0 w:1)
491 /// Proof: UNKNOWN KEY `0x6b657932` (r:0 w:1)
492 /// The range of component `i` is `[0, 10]`.
493 fn storage_root_is_the_same_every_time(_i: u32, ) -> Weight {
494 // Proof Size summary in bytes:
495 // Measured: `0`
496 // Estimated: `0`
497 // Minimum execution time: 359_000 picoseconds.
498 Weight::from_parts(422_427, 0)
499 .saturating_add(T::DbWeight::get().writes(1_u64))
500 }
501}
502
503// For backwards compatibility and tests.
504impl WeightInfo for () {
505 /// Storage: `Pov::Value` (r:1 w:0)
506 /// Proof: `Pov::Value` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
507 fn storage_single_value_read() -> Weight {
508 // Proof Size summary in bytes:
509 // Measured: `8`
510 // Estimated: `1489`
511 // Minimum execution time: 1_817_000 picoseconds.
512 Weight::from_parts(1_881_000, 1489)
513 .saturating_add(RocksDbWeight::get().reads(1_u64))
514 }
515 /// Storage: `Pov::Value` (r:1 w:0)
516 /// Proof: `Pov::Value` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Ignored`)
517 fn storage_single_value_ignored_read() -> Weight {
518 // Proof Size summary in bytes:
519 // Measured: `8`
520 // Estimated: `0`
521 // Minimum execution time: 1_782_000 picoseconds.
522 Weight::from_parts(1_910_000, 0)
523 .saturating_add(RocksDbWeight::get().reads(1_u64))
524 }
525 /// Storage: `Pov::Value` (r:1 w:0)
526 /// Proof: `Pov::Value` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
527 /// Storage: `Pov::Value2` (r:1 w:0)
528 /// Proof: `Pov::Value2` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Ignored`)
529 fn storage_single_value_ignored_some_read() -> Weight {
530 // Proof Size summary in bytes:
531 // Measured: `35`
532 // Estimated: `1489`
533 // Minimum execution time: 3_713_000 picoseconds.
534 Weight::from_parts(3_806_000, 1489)
535 .saturating_add(RocksDbWeight::get().reads(2_u64))
536 }
537 /// Storage: `Pov::Value` (r:1 w:0)
538 /// Proof: `Pov::Value` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
539 fn storage_single_value_read_twice() -> Weight {
540 // Proof Size summary in bytes:
541 // Measured: `8`
542 // Estimated: `1489`
543 // Minimum execution time: 2_252_000 picoseconds.
544 Weight::from_parts(2_394_000, 1489)
545 .saturating_add(RocksDbWeight::get().reads(1_u64))
546 }
547 /// Storage: `Pov::Value` (r:0 w:1)
548 /// Proof: `Pov::Value` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
549 fn storage_single_value_write() -> Weight {
550 // Proof Size summary in bytes:
551 // Measured: `0`
552 // Estimated: `0`
553 // Minimum execution time: 376_000 picoseconds.
554 Weight::from_parts(448_000, 0)
555 .saturating_add(RocksDbWeight::get().writes(1_u64))
556 }
557 /// Storage: `Pov::Value` (r:0 w:1)
558 /// Proof: `Pov::Value` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
559 fn storage_single_value_kill() -> Weight {
560 // Proof Size summary in bytes:
561 // Measured: `0`
562 // Estimated: `0`
563 // Minimum execution time: 311_000 picoseconds.
564 Weight::from_parts(371_000, 0)
565 .saturating_add(RocksDbWeight::get().writes(1_u64))
566 }
567 /// Storage: `Pov::Map1M` (r:1 w:0)
568 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `Measured`)
569 fn storage_1m_map_read_one_value_two_additional_layers() -> Weight {
570 // Proof Size summary in bytes:
571 // Measured: `1182`
572 // Estimated: `4647`
573 // Minimum execution time: 11_814_000 picoseconds.
574 Weight::from_parts(12_286_000, 4647)
575 .saturating_add(RocksDbWeight::get().reads(1_u64))
576 }
577 /// Storage: `Pov::Map1M` (r:1 w:0)
578 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `Measured`)
579 fn storage_1m_map_read_one_value_three_additional_layers() -> Weight {
580 // Proof Size summary in bytes:
581 // Measured: `1485`
582 // Estimated: `4950`
583 // Minimum execution time: 15_590_000 picoseconds.
584 Weight::from_parts(16_034_000, 4950)
585 .saturating_add(RocksDbWeight::get().reads(1_u64))
586 }
587 /// Storage: `Pov::Map1M` (r:1 w:0)
588 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `Measured`)
589 fn storage_1m_map_read_one_value_four_additional_layers() -> Weight {
590 // Proof Size summary in bytes:
591 // Measured: `2018`
592 // Estimated: `5483`
593 // Minimum execution time: 14_940_000 picoseconds.
594 Weight::from_parts(15_410_000, 5483)
595 .saturating_add(RocksDbWeight::get().reads(1_u64))
596 }
597 /// Storage: `Pov::Map1M` (r:100 w:0)
598 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
599 /// Storage: `Pov::Map16M` (r:100 w:0)
600 /// Proof: `Pov::Map16M` (`max_values`: Some(16000000), `max_size`: Some(36), added: 3006, mode: `MaxEncodedLen`)
601 /// The range of component `n` is `[0, 100]`.
602 /// The range of component `m` is `[0, 100]`.
603 fn storage_map_read_per_component(n: u32, m: u32, ) -> Weight {
604 // Proof Size summary in bytes:
605 // Measured: `390 + m * (188 ±0) + n * (188 ±0)`
606 // Estimated: `990 + m * (2511 ±0) + n * (3006 ±0)`
607 // Minimum execution time: 476_299_000 picoseconds.
608 Weight::from_parts(291_597_275, 990)
609 // Standard Error: 33_182
610 .saturating_add(Weight::from_parts(2_645_788, 0).saturating_mul(n.into()))
611 // Standard Error: 33_182
612 .saturating_add(Weight::from_parts(2_663_663, 0).saturating_mul(m.into()))
613 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
614 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(m.into())))
615 .saturating_add(Weight::from_parts(0, 2511).saturating_mul(m.into()))
616 .saturating_add(Weight::from_parts(0, 3006).saturating_mul(n.into()))
617 }
618 /// Storage: `Pov::Map1M` (r:100 w:0)
619 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `Ignored`)
620 /// Storage: `Pov::Map16M` (r:100 w:0)
621 /// Proof: `Pov::Map16M` (`max_values`: Some(16000000), `max_size`: Some(36), added: 3006, mode: `MaxEncodedLen`)
622 /// The range of component `n` is `[0, 100]`.
623 /// The range of component `m` is `[0, 100]`.
624 fn storage_map_read_per_component_one_ignored(n: u32, m: u32, ) -> Weight {
625 // Proof Size summary in bytes:
626 // Measured: `390 + m * (188 ±0) + n * (188 ±0)`
627 // Estimated: `1560 + m * (189 ±0) + n * (3006 ±0)`
628 // Minimum execution time: 478_548_000 picoseconds.
629 Weight::from_parts(286_747_135, 1560)
630 // Standard Error: 32_978
631 .saturating_add(Weight::from_parts(2_691_677, 0).saturating_mul(n.into()))
632 // Standard Error: 32_978
633 .saturating_add(Weight::from_parts(2_700_753, 0).saturating_mul(m.into()))
634 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
635 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(m.into())))
636 .saturating_add(Weight::from_parts(0, 189).saturating_mul(m.into()))
637 .saturating_add(Weight::from_parts(0, 3006).saturating_mul(n.into()))
638 }
639 /// Storage: `Pov::Map1M` (r:1 w:0)
640 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
641 /// The range of component `n` is `[0, 100]`.
642 fn storage_1m_map_one_entry_repeated_read(n: u32, ) -> Weight {
643 // Proof Size summary in bytes:
644 // Measured: `41`
645 // Estimated: `3501`
646 // Minimum execution time: 166_000 picoseconds.
647 Weight::from_parts(1_973_792, 3501)
648 // Standard Error: 952
649 .saturating_add(Weight::from_parts(1_147_407, 0).saturating_mul(n.into()))
650 .saturating_add(RocksDbWeight::get().reads(1_u64))
651 }
652 /// Storage: `Pov::Map1M` (r:100 w:0)
653 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
654 /// The range of component `n` is `[0, 100]`.
655 fn storage_1m_map_multiple_entry_repeated_read(n: u32, ) -> Weight {
656 // Proof Size summary in bytes:
657 // Measured: `18 + n * (40 ±0)`
658 // Estimated: `990 + n * (2511 ±0)`
659 // Minimum execution time: 161_000 picoseconds.
660 Weight::from_parts(187_000, 990)
661 // Standard Error: 3_863
662 .saturating_add(Weight::from_parts(13_643_264, 0).saturating_mul(n.into()))
663 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
664 .saturating_add(Weight::from_parts(0, 2511).saturating_mul(n.into()))
665 }
666 /// Storage: `Pov::DoubleMap1M` (r:1024 w:0)
667 /// Proof: `Pov::DoubleMap1M` (`max_values`: Some(1000000), `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
668 /// The range of component `n` is `[0, 1024]`.
669 fn storage_1m_double_map_read_per_component(n: u32, ) -> Weight {
670 // Proof Size summary in bytes:
671 // Measured: `21809 + n * (57 ±0)`
672 // Estimated: `990 + n * (2543 ±0)`
673 // Minimum execution time: 320_000 picoseconds.
674 Weight::from_parts(88_877_073, 990)
675 // Standard Error: 3_857
676 .saturating_add(Weight::from_parts(4_894_961, 0).saturating_mul(n.into()))
677 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
678 .saturating_add(Weight::from_parts(0, 2543).saturating_mul(n.into()))
679 }
680 /// Storage: `Pov::BoundedValue` (r:1 w:0)
681 /// Proof: `Pov::BoundedValue` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
682 fn storage_value_bounded_read() -> Weight {
683 // Proof Size summary in bytes:
684 // Measured: `0`
685 // Estimated: `1518`
686 // Minimum execution time: 670_000 picoseconds.
687 Weight::from_parts(720_000, 1518)
688 .saturating_add(RocksDbWeight::get().reads(1_u64))
689 }
690 /// Storage: `Pov::UnboundedValue` (r:1 w:0)
691 /// Proof: `Pov::UnboundedValue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
692 fn storage_value_unbounded_read() -> Weight {
693 // Proof Size summary in bytes:
694 // Measured: `0`
695 // Estimated: `1485`
696 // Minimum execution time: 655_000 picoseconds.
697 Weight::from_parts(698_000, 1485)
698 .saturating_add(RocksDbWeight::get().reads(1_u64))
699 }
700 /// Storage: `Pov::UnboundedValue` (r:1 w:0)
701 /// Proof: `Pov::UnboundedValue` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`)
702 fn storage_value_unbounded_ignored_read() -> Weight {
703 // Proof Size summary in bytes:
704 // Measured: `0`
705 // Estimated: `0`
706 // Minimum execution time: 680_000 picoseconds.
707 Weight::from_parts(713_000, 0)
708 .saturating_add(RocksDbWeight::get().reads(1_u64))
709 }
710 /// Storage: `Pov::UnboundedValue` (r:1 w:0)
711 /// Proof: `Pov::UnboundedValue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
712 /// Storage: `Pov::BoundedValue` (r:1 w:0)
713 /// Proof: `Pov::BoundedValue` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
714 fn storage_value_bounded_and_unbounded_read() -> Weight {
715 // Proof Size summary in bytes:
716 // Measured: `534`
717 // Estimated: `2019`
718 // Minimum execution time: 4_310_000 picoseconds.
719 Weight::from_parts(4_559_000, 2019)
720 .saturating_add(RocksDbWeight::get().reads(2_u64))
721 }
722 /// Storage: `Pov::LargeValue` (r:1 w:0)
723 /// Proof: `Pov::LargeValue` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `Measured`)
724 /// The range of component `l` is `[0, 4194304]`.
725 fn measured_storage_value_read_linear_size(l: u32, ) -> Weight {
726 // Proof Size summary in bytes:
727 // Measured: `13 + l * (1 ±0)`
728 // Estimated: `1497 + l * (1 ±0)`
729 // Minimum execution time: 1_872_000 picoseconds.
730 Weight::from_parts(1_929_000, 1497)
731 // Standard Error: 132
732 .saturating_add(Weight::from_parts(11_970, 0).saturating_mul(l.into()))
733 .saturating_add(RocksDbWeight::get().reads(1_u64))
734 .saturating_add(Weight::from_parts(0, 1).saturating_mul(l.into()))
735 }
736 /// Storage: `Pov::LargeValue` (r:1 w:0)
737 /// Proof: `Pov::LargeValue` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `MaxEncodedLen`)
738 /// The range of component `l` is `[0, 4194304]`.
739 fn mel_storage_value_read_linear_size(l: u32, ) -> Weight {
740 // Proof Size summary in bytes:
741 // Measured: `13 + l * (1 ±0)`
742 // Estimated: `4195793`
743 // Minimum execution time: 1_826_000 picoseconds.
744 Weight::from_parts(1_899_000, 4195793)
745 // Standard Error: 135
746 .saturating_add(Weight::from_parts(12_037, 0).saturating_mul(l.into()))
747 .saturating_add(RocksDbWeight::get().reads(1_u64))
748 }
749 /// Storage: `Pov::LargeValue` (r:1 w:0)
750 /// Proof: `Pov::LargeValue` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `Measured`)
751 /// Storage: `Pov::LargeValue2` (r:1 w:0)
752 /// Proof: `Pov::LargeValue2` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `Measured`)
753 /// The range of component `l` is `[0, 4194304]`.
754 fn measured_storage_double_value_read_linear_size(l: u32, ) -> Weight {
755 // Proof Size summary in bytes:
756 // Measured: `46 + l * (2 ±0)`
757 // Estimated: `1530 + l * (2 ±0)`
758 // Minimum execution time: 3_663_000 picoseconds.
759 Weight::from_parts(3_837_000, 1530)
760 // Standard Error: 265
761 .saturating_add(Weight::from_parts(23_779, 0).saturating_mul(l.into()))
762 .saturating_add(RocksDbWeight::get().reads(2_u64))
763 .saturating_add(Weight::from_parts(0, 2).saturating_mul(l.into()))
764 }
765 /// Storage: `Pov::LargeValue` (r:1 w:0)
766 /// Proof: `Pov::LargeValue` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `MaxEncodedLen`)
767 /// Storage: `Pov::LargeValue2` (r:1 w:0)
768 /// Proof: `Pov::LargeValue2` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `MaxEncodedLen`)
769 /// The range of component `l` is `[0, 4194304]`.
770 fn mel_storage_double_value_read_linear_size(l: u32, ) -> Weight {
771 // Proof Size summary in bytes:
772 // Measured: `46 + l * (2 ±0)`
773 // Estimated: `4195793`
774 // Minimum execution time: 3_717_000 picoseconds.
775 Weight::from_parts(3_763_000, 4195793)
776 // Standard Error: 265
777 .saturating_add(Weight::from_parts(23_782, 0).saturating_mul(l.into()))
778 .saturating_add(RocksDbWeight::get().reads(2_u64))
779 }
780 /// Storage: `Pov::LargeValue` (r:1 w:0)
781 /// Proof: `Pov::LargeValue` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `MaxEncodedLen`)
782 /// Storage: `Pov::LargeValue2` (r:1 w:0)
783 /// Proof: `Pov::LargeValue2` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `Measured`)
784 /// The range of component `l` is `[0, 4194304]`.
785 fn mel_mixed_storage_double_value_read_linear_size(l: u32, ) -> Weight {
786 // Proof Size summary in bytes:
787 // Measured: `46 + l * (2 ±0)`
788 // Estimated: `4195793 + l * (2 ±0)`
789 // Minimum execution time: 3_720_000 picoseconds.
790 Weight::from_parts(3_809_000, 4195793)
791 // Standard Error: 266
792 .saturating_add(Weight::from_parts(23_788, 0).saturating_mul(l.into()))
793 .saturating_add(RocksDbWeight::get().reads(2_u64))
794 .saturating_add(Weight::from_parts(0, 2).saturating_mul(l.into()))
795 }
796 /// Storage: `Pov::LargeValue` (r:1 w:0)
797 /// Proof: `Pov::LargeValue` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `Measured`)
798 /// Storage: `Pov::LargeValue2` (r:1 w:0)
799 /// Proof: `Pov::LargeValue2` (`max_values`: Some(1), `max_size`: Some(4194308), added: 4194803, mode: `MaxEncodedLen`)
800 /// The range of component `l` is `[0, 4194304]`.
801 fn measured_mixed_storage_double_value_read_linear_size(l: u32, ) -> Weight {
802 // Proof Size summary in bytes:
803 // Measured: `46 + l * (2 ±0)`
804 // Estimated: `4195793 + l * (2 ±0)`
805 // Minimum execution time: 3_660_000 picoseconds.
806 Weight::from_parts(3_792_000, 4195793)
807 // Standard Error: 266
808 .saturating_add(Weight::from_parts(23_795, 0).saturating_mul(l.into()))
809 .saturating_add(RocksDbWeight::get().reads(2_u64))
810 .saturating_add(Weight::from_parts(0, 2).saturating_mul(l.into()))
811 }
812 /// Storage: `Pov::UnboundedMap` (r:1 w:0)
813 /// Proof: `Pov::UnboundedMap` (`max_values`: None, `max_size`: None, mode: `Measured`)
814 /// Storage: `Pov::UnboundedMap2` (r:1 w:0)
815 /// Proof: `Pov::UnboundedMap2` (`max_values`: None, `max_size`: None, mode: `Measured`)
816 /// The range of component `i` is `[0, 1000]`.
817 fn storage_map_unbounded_both_measured_read(i: u32, ) -> Weight {
818 // Proof Size summary in bytes:
819 // Measured: `104 + i * (8 ±0)`
820 // Estimated: `3568 + i * (8 ±0)`
821 // Minimum execution time: 7_143_000 picoseconds.
822 Weight::from_parts(7_945_447, 3568)
823 // Standard Error: 27
824 .saturating_add(Weight::from_parts(2_983, 0).saturating_mul(i.into()))
825 .saturating_add(RocksDbWeight::get().reads(2_u64))
826 .saturating_add(Weight::from_parts(0, 8).saturating_mul(i.into()))
827 }
828 /// Storage: `Pov::Map1M` (r:1 w:0)
829 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
830 /// Storage: `Pov::UnboundedMap` (r:1 w:0)
831 /// Proof: `Pov::UnboundedMap` (`max_values`: None, `max_size`: None, mode: `Measured`)
832 /// The range of component `i` is `[0, 1000]`.
833 fn storage_map_partial_unbounded_read(i: u32, ) -> Weight {
834 // Proof Size summary in bytes:
835 // Measured: `103 + i * (4 ±0)`
836 // Estimated: `3567 + i * (4 ±0)`
837 // Minimum execution time: 7_254_000 picoseconds.
838 Weight::from_parts(7_919_811, 3567)
839 // Standard Error: 22
840 .saturating_add(Weight::from_parts(1_670, 0).saturating_mul(i.into()))
841 .saturating_add(RocksDbWeight::get().reads(2_u64))
842 .saturating_add(Weight::from_parts(0, 4).saturating_mul(i.into()))
843 }
844 /// Storage: `Pov::Map1M` (r:1 w:0)
845 /// Proof: `Pov::Map1M` (`max_values`: Some(1000000), `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
846 /// Storage: `Pov::UnboundedMap` (r:1 w:0)
847 /// Proof: `Pov::UnboundedMap` (`max_values`: None, `max_size`: None, mode: `Ignored`)
848 /// The range of component `i` is `[0, 1000]`.
849 fn storage_map_partial_unbounded_ignored_read(i: u32, ) -> Weight {
850 // Proof Size summary in bytes:
851 // Measured: `103 + i * (4 ±0)`
852 // Estimated: `3501 + i * (4 ±0)`
853 // Minimum execution time: 7_195_000 picoseconds.
854 Weight::from_parts(7_998_073, 3501)
855 // Standard Error: 23
856 .saturating_add(Weight::from_parts(1_576, 0).saturating_mul(i.into()))
857 .saturating_add(RocksDbWeight::get().reads(2_u64))
858 .saturating_add(Weight::from_parts(0, 4).saturating_mul(i.into()))
859 }
860 fn emit_event() -> Weight {
861 // Proof Size summary in bytes:
862 // Measured: `0`
863 // Estimated: `0`
864 // Minimum execution time: 3_961_000 picoseconds.
865 Weight::from_parts(4_092_000, 0)
866 }
867 fn noop() -> Weight {
868 // Proof Size summary in bytes:
869 // Measured: `0`
870 // Estimated: `0`
871 // Minimum execution time: 1_607_000 picoseconds.
872 Weight::from_parts(1_673_000, 0)
873 }
874 /// Storage: `Pov::UnboundedMapTwox` (r:65001 w:0)
875 /// Proof: `Pov::UnboundedMapTwox` (`max_values`: None, `max_size`: None, mode: `Measured`)
876 fn storage_iteration() -> Weight {
877 // Proof Size summary in bytes:
878 // Measured: `17985119`
879 // Estimated: `178863584`
880 // Minimum execution time: 305_702_942_000 picoseconds.
881 Weight::from_parts(311_508_079_000, 178863584)
882 .saturating_add(RocksDbWeight::get().reads(65001_u64))
883 }
884 /// Storage: UNKNOWN KEY `0x6b657932` (r:0 w:1)
885 /// Proof: UNKNOWN KEY `0x6b657932` (r:0 w:1)
886 /// The range of component `i` is `[0, 10]`.
887 fn storage_root_is_the_same_every_time(_i: u32, ) -> Weight {
888 // Proof Size summary in bytes:
889 // Measured: `0`
890 // Estimated: `0`
891 // Minimum execution time: 359_000 picoseconds.
892 Weight::from_parts(422_427, 0)
893 .saturating_add(RocksDbWeight::get().writes(1_u64))
894 }
895}