Fixes PoV over-estimation (#13766)

* Align log

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Use max instead of sum

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Make comment ordering deterministic

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Dont add Pov overhead when all is ignored

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update test pallet weights

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Re-run weights on bm2

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Fix test

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Actually use new weights

Fucked up the merge for this file...

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update contract weights

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2023-04-13 15:11:58 +02:00
committed by GitHub
parent 46e2d3e5f8
commit ebfe00d590
54 changed files with 5526 additions and 5534 deletions
@@ -192,6 +192,7 @@ frame_benchmarking::benchmarks! {
// Same as above, but we still expect a mathematical worst case PoV size for the bounded one.
storage_value_bounded_and_unbounded_read {
(0..1024).for_each(|i| Map1M::<T>::insert(i, i));
}: {
assert!(UnboundedValue::<T>::get().is_none());
assert!(BoundedValue::<T>::get().is_none());
@@ -144,9 +144,9 @@ fn unbounded_read_best_effort() {
fn partial_unbounded_read_best_effort() {
let w_unbounded = W::storage_value_unbounded_read().proof_size();
let w_bounded = W::storage_value_bounded_read().proof_size();
let w_partial = W::storage_value_bounded_and_unbounded_read().proof_size();
let w_both = W::storage_value_bounded_and_unbounded_read().proof_size();
assert_eq!(w_bounded + w_unbounded, w_partial, "The bounded part increases the PoV");
assert!(w_both > w_bounded && w_both > w_unbounded, "The bounded part increases the PoV");
}
#[test]
+259 -296
View File
@@ -2,7 +2,7 @@
//! Autogenerated weights for frame_benchmarking_pallet_pov
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-04-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `i9`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
@@ -28,7 +28,7 @@
#![allow(unused_imports)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for frame_benchmarking_pallet_pov.
pub trait WeightInfo {
@@ -61,6 +61,7 @@ pub trait WeightInfo {
fn storage_map_partial_unbounded_ignored_read(i: u32, ) -> Weight;
fn emit_event() -> Weight;
fn noop() -> Weight;
fn storage_iteration() -> Weight;
}
/// Weights for frame_benchmarking_pallet_pov using the Substrate node and recommended hardware.
@@ -72,9 +73,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `136`
// Estimated: `1489`
// Minimum execution time: 1_968 nanoseconds.
Weight::from_parts(2_060_000, 0)
.saturating_add(Weight::from_parts(0, 1489))
// Minimum execution time: 1_706_000 picoseconds.
Weight::from_parts(1_788_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Pov Value (r:1 w:0)
@@ -83,9 +83,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `136`
// Estimated: `0`
// Minimum execution time: 1_934 nanoseconds.
Weight::from_parts(2_092_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Minimum execution time: 1_661_000 picoseconds.
Weight::from_parts(1_718_000, 0)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Pov Value (r:1 w:0)
@@ -95,10 +94,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn storage_single_value_ignored_some_read() -> Weight {
// Proof Size summary in bytes:
// Measured: `160`
// Estimated: `1649`
// Minimum execution time: 2_605 nanoseconds.
Weight::from_parts(2_786_000, 0)
.saturating_add(Weight::from_parts(0, 1649))
// Estimated: `1489`
// Minimum execution time: 2_226_000 picoseconds.
Weight::from_parts(2_365_000, 1489)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
/// Storage: Pov Value (r:1 w:0)
@@ -107,9 +105,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `136`
// Estimated: `1489`
// Minimum execution time: 2_019 nanoseconds.
Weight::from_parts(2_214_000, 0)
.saturating_add(Weight::from_parts(0, 1489))
// Minimum execution time: 1_785_000 picoseconds.
Weight::from_parts(1_980_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Pov Value (r:0 w:1)
@@ -118,9 +115,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 279 nanoseconds.
Weight::from_parts(357_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Minimum execution time: 254_000 picoseconds.
Weight::from_parts(326_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Pov Value (r:0 w:1)
@@ -129,9 +125,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 291 nanoseconds.
Weight::from_parts(378_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Minimum execution time: 239_000 picoseconds.
Weight::from_parts(277_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Pov Map1M (r:1 w:0)
@@ -140,9 +135,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1275`
// Estimated: `4740`
// Minimum execution time: 5_077 nanoseconds.
Weight::from_parts(5_400_000, 0)
.saturating_add(Weight::from_parts(0, 4740))
// Minimum execution time: 4_760_000 picoseconds.
Weight::from_parts(5_051_000, 4740)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Pov Map1M (r:1 w:0)
@@ -151,9 +145,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1544`
// Estimated: `5009`
// Minimum execution time: 5_878 nanoseconds.
Weight::from_parts(6_239_000, 0)
.saturating_add(Weight::from_parts(0, 5009))
// Minimum execution time: 5_490_000 picoseconds.
Weight::from_parts(5_703_000, 5009)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Pov Map1M (r:1 w:0)
@@ -162,9 +155,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `2044`
// Estimated: `5509`
// Minimum execution time: 7_282 nanoseconds.
Weight::from_parts(8_022_000, 0)
.saturating_add(Weight::from_parts(0, 5509))
// Minimum execution time: 6_397_000 picoseconds.
Weight::from_parts(7_084_000, 5509)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Pov Map1M (r:100 w:0)
@@ -175,19 +167,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `m` is `[0, 100]`.
fn storage_map_read_per_component(n: u32, m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `515 + n * (188 ±0) + m * (188 ±0)`
// Estimated: `1980 + n * (3006 ±0) + m * (2511 ±0)`
// Minimum execution time: 195_406 nanoseconds.
Weight::from_parts(129_093_464, 0)
.saturating_add(Weight::from_parts(0, 1980))
// Standard Error: 12_134
.saturating_add(Weight::from_parts(855_330, 0).saturating_mul(n.into()))
// Standard Error: 12_134
.saturating_add(Weight::from_parts(870_523, 0).saturating_mul(m.into()))
// Measured: `515 + m * (188 ±0) + n * (188 ±0)`
// Estimated: `990 + m * (2511 ±0) + n * (3006 ±0)`
// Minimum execution time: 181_481_000 picoseconds.
Weight::from_parts(129_275_141, 990)
// Standard Error: 13_049
.saturating_add(Weight::from_parts(787_667, 0).saturating_mul(n.into()))
// Standard Error: 13_049
.saturating_add(Weight::from_parts(830_378, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
.saturating_add(Weight::from_parts(0, 3006).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(0, 2511).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 3006).saturating_mul(n.into()))
}
/// Storage: Pov Map1M (r:100 w:0)
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: Ignored)
@@ -197,19 +188,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `m` is `[0, 100]`.
fn storage_map_read_per_component_one_ignored(n: u32, m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `515 + n * (188 ±0) + m * (188 ±0)`
// Estimated: `1685 + n * (3195 ±0) + m * (189 ±0)`
// Minimum execution time: 195_053 nanoseconds.
Weight::from_parts(131_322_479, 0)
.saturating_add(Weight::from_parts(0, 1685))
// Standard Error: 12_161
.saturating_add(Weight::from_parts(843_047, 0).saturating_mul(n.into()))
// Standard Error: 12_161
.saturating_add(Weight::from_parts(858_668, 0).saturating_mul(m.into()))
// Measured: `515 + m * (188 ±0) + n * (188 ±0)`
// Estimated: `1685 + m * (189 ±0) + n * (3006 ±0)`
// Minimum execution time: 181_925_000 picoseconds.
Weight::from_parts(134_416_814, 1685)
// Standard Error: 15_678
.saturating_add(Weight::from_parts(827_168, 0).saturating_mul(n.into()))
// Standard Error: 15_678
.saturating_add(Weight::from_parts(813_655, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
.saturating_add(Weight::from_parts(0, 3195).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(0, 189).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 3006).saturating_mul(n.into()))
}
/// Storage: Pov Map1M (r:1 w:0)
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: MaxEncodedLen)
@@ -218,11 +208,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `170`
// Estimated: `3501`
// Minimum execution time: 22 nanoseconds.
Weight::from_parts(2_334_945, 0)
.saturating_add(Weight::from_parts(0, 3501))
// Standard Error: 624
.saturating_add(Weight::from_parts(282_046, 0).saturating_mul(n.into()))
// Minimum execution time: 20_000 picoseconds.
Weight::from_parts(2_006_399, 3501)
// Standard Error: 808
.saturating_add(Weight::from_parts(263_609, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Pov Map1M (r:100 w:0)
@@ -232,11 +221,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `147 + n * (40 ±0)`
// Estimated: `990 + n * (2511 ±0)`
// Minimum execution time: 20 nanoseconds.
Weight::from_parts(525_027, 0)
.saturating_add(Weight::from_parts(0, 990))
// Standard Error: 2_767
.saturating_add(Weight::from_parts(3_887_350, 0).saturating_mul(n.into()))
// Minimum execution time: 21_000 picoseconds.
Weight::from_parts(3_940_044, 990)
// Standard Error: 4_906
.saturating_add(Weight::from_parts(3_454_882, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 2511).saturating_mul(n.into()))
}
@@ -247,11 +235,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `21938 + n * (57 ±0)`
// Estimated: `990 + n * (2543 ±0)`
// Minimum execution time: 34 nanoseconds.
Weight::from_parts(18_341_393, 0)
.saturating_add(Weight::from_parts(0, 990))
// Standard Error: 1_312
.saturating_add(Weight::from_parts(2_053_135, 0).saturating_mul(n.into()))
// Minimum execution time: 28_000 picoseconds.
Weight::from_parts(20_674_869, 990)
// Standard Error: 3_035
.saturating_add(Weight::from_parts(1_995_730, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 2543).saturating_mul(n.into()))
}
@@ -261,9 +248,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `1518`
// Minimum execution time: 1_163 nanoseconds.
Weight::from_parts(1_274_000, 0)
.saturating_add(Weight::from_parts(0, 1518))
// Minimum execution time: 1_091_000 picoseconds.
Weight::from_parts(1_181_000, 1518)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Pov UnboundedValue (r:1 w:0)
@@ -272,9 +258,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `1594`
// Minimum execution time: 1_167 nanoseconds.
Weight::from_parts(1_367_000, 0)
.saturating_add(Weight::from_parts(0, 1594))
// Minimum execution time: 1_079_000 picoseconds.
Weight::from_parts(1_176_000, 1594)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Pov UnboundedValue (r:1 w:0)
@@ -283,9 +268,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `0`
// Minimum execution time: 1_155 nanoseconds.
Weight::from_parts(1_248_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Minimum execution time: 1_101_000 picoseconds.
Weight::from_parts(1_160_000, 0)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Pov UnboundedValue (r:1 w:0)
@@ -294,11 +278,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Pov BoundedValue (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
fn storage_value_bounded_and_unbounded_read() -> Weight {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `3112`
// Minimum execution time: 1_424 nanoseconds.
Weight::from_parts(1_601_000, 0)
.saturating_add(Weight::from_parts(0, 3112))
// Measured: `147`
// Estimated: `1632`
// Minimum execution time: 2_143_000 picoseconds.
Weight::from_parts(2_280_000, 1632)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
/// Storage: Pov LargeValue (r:1 w:0)
@@ -306,13 +289,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `l` is `[0, 4194304]`.
fn measured_storage_value_read_linear_size(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `174 + l * (1 ±0)`
// Estimated: `1656 + l * (1 ±0)`
// Minimum execution time: 1_744 nanoseconds.
Weight::from_parts(1_800_000, 0)
.saturating_add(Weight::from_parts(0, 1656))
// Standard Error: 4
.saturating_add(Weight::from_parts(443, 0).saturating_mul(l.into()))
// Measured: `142 + l * (1 ±0)`
// Estimated: `1626 + l * (1 ±0)`
// Minimum execution time: 1_665_000 picoseconds.
Weight::from_parts(1_725_000, 1626)
// Standard Error: 3
.saturating_add(Weight::from_parts(376, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(l.into()))
}
@@ -321,13 +303,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `l` is `[0, 4194304]`.
fn mel_storage_value_read_linear_size(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `174 + l * (1 ±0)`
// Measured: `142 + l * (1 ±0)`
// Estimated: `4195793`
// Minimum execution time: 1_770 nanoseconds.
Weight::from_parts(1_813_000, 0)
.saturating_add(Weight::from_parts(0, 4195793))
// Standard Error: 6
.saturating_add(Weight::from_parts(495, 0).saturating_mul(l.into()))
// Minimum execution time: 1_640_000 picoseconds.
Weight::from_parts(1_724_000, 4195793)
// Standard Error: 4
.saturating_add(Weight::from_parts(395, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Pov LargeValue (r:1 w:0)
@@ -337,15 +318,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `l` is `[0, 4194304]`.
fn measured_storage_double_value_read_linear_size(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `235 + l * (2 ±0)`
// Estimated: `3428 + l * (4 ±0)`
// Minimum execution time: 2_349 nanoseconds.
Weight::from_parts(2_423_000, 0)
.saturating_add(Weight::from_parts(0, 3428))
// Standard Error: 11
.saturating_add(Weight::from_parts(950, 0).saturating_mul(l.into()))
// Measured: `171 + l * (2 ±0)`
// Estimated: `1655 + l * (2 ±0)`
// Minimum execution time: 2_263_000 picoseconds.
Weight::from_parts(2_358_000, 1655)
// Standard Error: 8
.saturating_add(Weight::from_parts(737, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 4).saturating_mul(l.into()))
.saturating_add(Weight::from_parts(0, 2).saturating_mul(l.into()))
}
/// Storage: Pov LargeValue (r:1 w:0)
/// Proof: Pov LargeValue (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: MaxEncodedLen)
@@ -354,13 +334,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `l` is `[0, 4194304]`.
fn mel_storage_double_value_read_linear_size(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `235 + l * (2 ±0)`
// Estimated: `8391586`
// Minimum execution time: 2_315 nanoseconds.
Weight::from_parts(2_409_000, 0)
.saturating_add(Weight::from_parts(0, 8391586))
// Standard Error: 12
.saturating_add(Weight::from_parts(984, 0).saturating_mul(l.into()))
// Measured: `171 + l * (2 ±0)`
// Estimated: `4195793`
// Minimum execution time: 2_161_000 picoseconds.
Weight::from_parts(2_233_000, 4195793)
// Standard Error: 5
.saturating_add(Weight::from_parts(639, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
}
/// Storage: Pov LargeValue (r:1 w:0)
@@ -370,13 +349,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `l` is `[0, 4194304]`.
fn mel_mixed_storage_double_value_read_linear_size(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `235 + l * (2 ±0)`
// Estimated: `4197507 + l * (2 ±0)`
// Minimum execution time: 2_370 nanoseconds.
Weight::from_parts(2_474_000, 0)
.saturating_add(Weight::from_parts(0, 4197507))
// Standard Error: 11
.saturating_add(Weight::from_parts(956, 0).saturating_mul(l.into()))
// Measured: `171 + l * (2 ±0)`
// Estimated: `4195793 + l * (2 ±0)`
// Minimum execution time: 2_149_000 picoseconds.
Weight::from_parts(2_256_000, 4195793)
// Standard Error: 6
.saturating_add(Weight::from_parts(677, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 2).saturating_mul(l.into()))
}
@@ -387,13 +365,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `l` is `[0, 4194304]`.
fn measured_mixed_storage_double_value_read_linear_size(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `235 + l * (2 ±0)`
// Estimated: `4197507 + l * (2 ±0)`
// Minimum execution time: 2_375 nanoseconds.
Weight::from_parts(2_420_000, 0)
.saturating_add(Weight::from_parts(0, 4197507))
// Standard Error: 9
.saturating_add(Weight::from_parts(914, 0).saturating_mul(l.into()))
// Measured: `171 + l * (2 ±0)`
// Estimated: `4195793 + l * (2 ±0)`
// Minimum execution time: 2_254_000 picoseconds.
Weight::from_parts(2_319_000, 4195793)
// Standard Error: 5
.saturating_add(Weight::from_parts(664, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 2).saturating_mul(l.into()))
}
@@ -404,15 +381,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `i` is `[0, 1000]`.
fn storage_map_unbounded_both_measured_read(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `293 + i * (8 ±0)`
// Estimated: `7504 + i * (16 ±0)`
// Minimum execution time: 3_305 nanoseconds.
Weight::from_parts(3_689_335, 0)
.saturating_add(Weight::from_parts(0, 7504))
// Standard Error: 29
.saturating_add(Weight::from_parts(638, 0).saturating_mul(i.into()))
// Measured: `229 + i * (8 ±0)`
// Estimated: `3693 + i * (8 ±0)`
// Minimum execution time: 3_071_000 picoseconds.
Weight::from_parts(3_487_712, 3693)
// Standard Error: 26
.saturating_add(Weight::from_parts(748, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 16).saturating_mul(i.into()))
.saturating_add(Weight::from_parts(0, 8).saturating_mul(i.into()))
}
/// Storage: Pov Map1M (r:1 w:0)
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: MaxEncodedLen)
@@ -421,13 +397,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `i` is `[0, 1000]`.
fn storage_map_partial_unbounded_read(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `260 + i * (4 ±0)`
// Estimated: `7223 + i * (4 ±0)`
// Minimum execution time: 3_469 nanoseconds.
Weight::from_parts(3_878_896, 0)
.saturating_add(Weight::from_parts(0, 7223))
// Standard Error: 33
.saturating_add(Weight::from_parts(356, 0).saturating_mul(i.into()))
// Measured: `228 + i * (4 ±0)`
// Estimated: `3692 + i * (4 ±0)`
// Minimum execution time: 3_150_000 picoseconds.
Weight::from_parts(3_582_963, 3692)
// Standard Error: 18
.saturating_add(Weight::from_parts(380, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 4).saturating_mul(i.into()))
}
@@ -438,13 +413,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `i` is `[0, 1000]`.
fn storage_map_partial_unbounded_ignored_read(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `260 + i * (4 ±0)`
// Estimated: `3758 + i * (4 ±0)`
// Minimum execution time: 3_442 nanoseconds.
Weight::from_parts(3_881_051, 0)
.saturating_add(Weight::from_parts(0, 3758))
// Standard Error: 35
.saturating_add(Weight::from_parts(384, 0).saturating_mul(i.into()))
// Measured: `228 + i * (4 ±0)`
// Estimated: `3501 + i * (4 ±0)`
// Minimum execution time: 3_092_000 picoseconds.
Weight::from_parts(3_595_328, 3501)
// Standard Error: 20
.saturating_add(Weight::from_parts(243, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 4).saturating_mul(i.into()))
}
@@ -452,17 +426,25 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_619 nanoseconds.
Weight::from_parts(1_728_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Minimum execution time: 1_705_000 picoseconds.
Weight::from_parts(1_818_000, 0)
}
fn noop() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 546 nanoseconds.
Weight::from_parts(640_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Minimum execution time: 533_000 picoseconds.
Weight::from_parts(587_000, 0)
}
/// Storage: Pov UnboundedMapTwox (r:65001 w:0)
/// Proof Skipped: Pov UnboundedMapTwox (max_values: None, max_size: None, mode: Measured)
fn storage_iteration() -> Weight {
// Proof Size summary in bytes:
// Measured: `17985289`
// Estimated: `178863754`
// Minimum execution time: 118_753_057_000 picoseconds.
Weight::from_parts(121_396_503_000, 178863754)
.saturating_add(T::DbWeight::get().reads(65001_u64))
}
}
@@ -474,9 +456,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `136`
// Estimated: `1489`
// Minimum execution time: 1_968 nanoseconds.
Weight::from_parts(2_060_000, 0)
.saturating_add(Weight::from_parts(0, 1489))
// Minimum execution time: 1_706_000 picoseconds.
Weight::from_parts(1_788_000, 1489)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Pov Value (r:1 w:0)
@@ -485,9 +466,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `136`
// Estimated: `0`
// Minimum execution time: 1_934 nanoseconds.
Weight::from_parts(2_092_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Minimum execution time: 1_661_000 picoseconds.
Weight::from_parts(1_718_000, 0)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Pov Value (r:1 w:0)
@@ -497,10 +477,9 @@ impl WeightInfo for () {
fn storage_single_value_ignored_some_read() -> Weight {
// Proof Size summary in bytes:
// Measured: `160`
// Estimated: `1649`
// Minimum execution time: 2_605 nanoseconds.
Weight::from_parts(2_786_000, 0)
.saturating_add(Weight::from_parts(0, 1649))
// Estimated: `1489`
// Minimum execution time: 2_226_000 picoseconds.
Weight::from_parts(2_365_000, 1489)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
/// Storage: Pov Value (r:1 w:0)
@@ -509,9 +488,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `136`
// Estimated: `1489`
// Minimum execution time: 2_019 nanoseconds.
Weight::from_parts(2_214_000, 0)
.saturating_add(Weight::from_parts(0, 1489))
// Minimum execution time: 1_785_000 picoseconds.
Weight::from_parts(1_980_000, 1489)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Pov Value (r:0 w:1)
@@ -520,9 +498,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 279 nanoseconds.
Weight::from_parts(357_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Minimum execution time: 254_000 picoseconds.
Weight::from_parts(326_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Pov Value (r:0 w:1)
@@ -531,9 +508,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 291 nanoseconds.
Weight::from_parts(378_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Minimum execution time: 239_000 picoseconds.
Weight::from_parts(277_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Pov Map1M (r:1 w:0)
@@ -542,9 +518,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1275`
// Estimated: `4740`
// Minimum execution time: 5_077 nanoseconds.
Weight::from_parts(5_400_000, 0)
.saturating_add(Weight::from_parts(0, 4740))
// Minimum execution time: 4_760_000 picoseconds.
Weight::from_parts(5_051_000, 4740)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Pov Map1M (r:1 w:0)
@@ -553,9 +528,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1544`
// Estimated: `5009`
// Minimum execution time: 5_878 nanoseconds.
Weight::from_parts(6_239_000, 0)
.saturating_add(Weight::from_parts(0, 5009))
// Minimum execution time: 5_490_000 picoseconds.
Weight::from_parts(5_703_000, 5009)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Pov Map1M (r:1 w:0)
@@ -564,9 +538,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2044`
// Estimated: `5509`
// Minimum execution time: 7_282 nanoseconds.
Weight::from_parts(8_022_000, 0)
.saturating_add(Weight::from_parts(0, 5509))
// Minimum execution time: 6_397_000 picoseconds.
Weight::from_parts(7_084_000, 5509)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Pov Map1M (r:100 w:0)
@@ -577,19 +550,18 @@ impl WeightInfo for () {
/// The range of component `m` is `[0, 100]`.
fn storage_map_read_per_component(n: u32, m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `515 + n * (188 ±0) + m * (188 ±0)`
// Estimated: `1980 + n * (3006 ±0) + m * (2511 ±0)`
// Minimum execution time: 195_406 nanoseconds.
Weight::from_parts(129_093_464, 0)
.saturating_add(Weight::from_parts(0, 1980))
// Standard Error: 12_134
.saturating_add(Weight::from_parts(855_330, 0).saturating_mul(n.into()))
// Standard Error: 12_134
.saturating_add(Weight::from_parts(870_523, 0).saturating_mul(m.into()))
// Measured: `515 + m * (188 ±0) + n * (188 ±0)`
// Estimated: `990 + m * (2511 ±0) + n * (3006 ±0)`
// Minimum execution time: 181_481_000 picoseconds.
Weight::from_parts(129_275_141, 990)
// Standard Error: 13_049
.saturating_add(Weight::from_parts(787_667, 0).saturating_mul(n.into()))
// Standard Error: 13_049
.saturating_add(Weight::from_parts(830_378, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(m.into())))
.saturating_add(Weight::from_parts(0, 3006).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(0, 2511).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 3006).saturating_mul(n.into()))
}
/// Storage: Pov Map1M (r:100 w:0)
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: Ignored)
@@ -599,19 +571,18 @@ impl WeightInfo for () {
/// The range of component `m` is `[0, 100]`.
fn storage_map_read_per_component_one_ignored(n: u32, m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `515 + n * (188 ±0) + m * (188 ±0)`
// Estimated: `1685 + n * (3195 ±0) + m * (189 ±0)`
// Minimum execution time: 195_053 nanoseconds.
Weight::from_parts(131_322_479, 0)
.saturating_add(Weight::from_parts(0, 1685))
// Standard Error: 12_161
.saturating_add(Weight::from_parts(843_047, 0).saturating_mul(n.into()))
// Standard Error: 12_161
.saturating_add(Weight::from_parts(858_668, 0).saturating_mul(m.into()))
// Measured: `515 + m * (188 ±0) + n * (188 ±0)`
// Estimated: `1685 + m * (189 ±0) + n * (3006 ±0)`
// Minimum execution time: 181_925_000 picoseconds.
Weight::from_parts(134_416_814, 1685)
// Standard Error: 15_678
.saturating_add(Weight::from_parts(827_168, 0).saturating_mul(n.into()))
// Standard Error: 15_678
.saturating_add(Weight::from_parts(813_655, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(m.into())))
.saturating_add(Weight::from_parts(0, 3195).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(0, 189).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 3006).saturating_mul(n.into()))
}
/// Storage: Pov Map1M (r:1 w:0)
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: MaxEncodedLen)
@@ -620,11 +591,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `170`
// Estimated: `3501`
// Minimum execution time: 22 nanoseconds.
Weight::from_parts(2_334_945, 0)
.saturating_add(Weight::from_parts(0, 3501))
// Standard Error: 624
.saturating_add(Weight::from_parts(282_046, 0).saturating_mul(n.into()))
// Minimum execution time: 20_000 picoseconds.
Weight::from_parts(2_006_399, 3501)
// Standard Error: 808
.saturating_add(Weight::from_parts(263_609, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Pov Map1M (r:100 w:0)
@@ -634,11 +604,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `147 + n * (40 ±0)`
// Estimated: `990 + n * (2511 ±0)`
// Minimum execution time: 20 nanoseconds.
Weight::from_parts(525_027, 0)
.saturating_add(Weight::from_parts(0, 990))
// Standard Error: 2_767
.saturating_add(Weight::from_parts(3_887_350, 0).saturating_mul(n.into()))
// Minimum execution time: 21_000 picoseconds.
Weight::from_parts(3_940_044, 990)
// Standard Error: 4_906
.saturating_add(Weight::from_parts(3_454_882, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 2511).saturating_mul(n.into()))
}
@@ -649,11 +618,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `21938 + n * (57 ±0)`
// Estimated: `990 + n * (2543 ±0)`
// Minimum execution time: 34 nanoseconds.
Weight::from_parts(18_341_393, 0)
.saturating_add(Weight::from_parts(0, 990))
// Standard Error: 1_312
.saturating_add(Weight::from_parts(2_053_135, 0).saturating_mul(n.into()))
// Minimum execution time: 28_000 picoseconds.
Weight::from_parts(20_674_869, 990)
// Standard Error: 3_035
.saturating_add(Weight::from_parts(1_995_730, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 2543).saturating_mul(n.into()))
}
@@ -663,9 +631,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `1518`
// Minimum execution time: 1_163 nanoseconds.
Weight::from_parts(1_274_000, 0)
.saturating_add(Weight::from_parts(0, 1518))
// Minimum execution time: 1_091_000 picoseconds.
Weight::from_parts(1_181_000, 1518)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Pov UnboundedValue (r:1 w:0)
@@ -674,9 +641,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `1594`
// Minimum execution time: 1_167 nanoseconds.
Weight::from_parts(1_367_000, 0)
.saturating_add(Weight::from_parts(0, 1594))
// Minimum execution time: 1_079_000 picoseconds.
Weight::from_parts(1_176_000, 1594)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Pov UnboundedValue (r:1 w:0)
@@ -685,9 +651,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `0`
// Minimum execution time: 1_155 nanoseconds.
Weight::from_parts(1_248_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Minimum execution time: 1_101_000 picoseconds.
Weight::from_parts(1_160_000, 0)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Pov UnboundedValue (r:1 w:0)
@@ -696,11 +661,10 @@ impl WeightInfo for () {
/// Proof: Pov BoundedValue (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
fn storage_value_bounded_and_unbounded_read() -> Weight {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `3112`
// Minimum execution time: 1_424 nanoseconds.
Weight::from_parts(1_601_000, 0)
.saturating_add(Weight::from_parts(0, 3112))
// Measured: `147`
// Estimated: `1632`
// Minimum execution time: 2_143_000 picoseconds.
Weight::from_parts(2_280_000, 1632)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
/// Storage: Pov LargeValue (r:1 w:0)
@@ -708,13 +672,12 @@ impl WeightInfo for () {
/// The range of component `l` is `[0, 4194304]`.
fn measured_storage_value_read_linear_size(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `174 + l * (1 ±0)`
// Estimated: `1656 + l * (1 ±0)`
// Minimum execution time: 1_744 nanoseconds.
Weight::from_parts(1_800_000, 0)
.saturating_add(Weight::from_parts(0, 1656))
// Standard Error: 4
.saturating_add(Weight::from_parts(443, 0).saturating_mul(l.into()))
// Measured: `142 + l * (1 ±0)`
// Estimated: `1626 + l * (1 ±0)`
// Minimum execution time: 1_665_000 picoseconds.
Weight::from_parts(1_725_000, 1626)
// Standard Error: 3
.saturating_add(Weight::from_parts(376, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(l.into()))
}
@@ -723,13 +686,12 @@ impl WeightInfo for () {
/// The range of component `l` is `[0, 4194304]`.
fn mel_storage_value_read_linear_size(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `174 + l * (1 ±0)`
// Measured: `142 + l * (1 ±0)`
// Estimated: `4195793`
// Minimum execution time: 1_770 nanoseconds.
Weight::from_parts(1_813_000, 0)
.saturating_add(Weight::from_parts(0, 4195793))
// Standard Error: 6
.saturating_add(Weight::from_parts(495, 0).saturating_mul(l.into()))
// Minimum execution time: 1_640_000 picoseconds.
Weight::from_parts(1_724_000, 4195793)
// Standard Error: 4
.saturating_add(Weight::from_parts(395, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Pov LargeValue (r:1 w:0)
@@ -739,15 +701,14 @@ impl WeightInfo for () {
/// The range of component `l` is `[0, 4194304]`.
fn measured_storage_double_value_read_linear_size(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `235 + l * (2 ±0)`
// Estimated: `3428 + l * (4 ±0)`
// Minimum execution time: 2_349 nanoseconds.
Weight::from_parts(2_423_000, 0)
.saturating_add(Weight::from_parts(0, 3428))
// Standard Error: 11
.saturating_add(Weight::from_parts(950, 0).saturating_mul(l.into()))
// Measured: `171 + l * (2 ±0)`
// Estimated: `1655 + l * (2 ±0)`
// Minimum execution time: 2_263_000 picoseconds.
Weight::from_parts(2_358_000, 1655)
// Standard Error: 8
.saturating_add(Weight::from_parts(737, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 4).saturating_mul(l.into()))
.saturating_add(Weight::from_parts(0, 2).saturating_mul(l.into()))
}
/// Storage: Pov LargeValue (r:1 w:0)
/// Proof: Pov LargeValue (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: MaxEncodedLen)
@@ -756,13 +717,12 @@ impl WeightInfo for () {
/// The range of component `l` is `[0, 4194304]`.
fn mel_storage_double_value_read_linear_size(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `235 + l * (2 ±0)`
// Estimated: `8391586`
// Minimum execution time: 2_315 nanoseconds.
Weight::from_parts(2_409_000, 0)
.saturating_add(Weight::from_parts(0, 8391586))
// Standard Error: 12
.saturating_add(Weight::from_parts(984, 0).saturating_mul(l.into()))
// Measured: `171 + l * (2 ±0)`
// Estimated: `4195793`
// Minimum execution time: 2_161_000 picoseconds.
Weight::from_parts(2_233_000, 4195793)
// Standard Error: 5
.saturating_add(Weight::from_parts(639, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
/// Storage: Pov LargeValue (r:1 w:0)
@@ -772,13 +732,12 @@ impl WeightInfo for () {
/// The range of component `l` is `[0, 4194304]`.
fn mel_mixed_storage_double_value_read_linear_size(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `235 + l * (2 ±0)`
// Estimated: `4197507 + l * (2 ±0)`
// Minimum execution time: 2_370 nanoseconds.
Weight::from_parts(2_474_000, 0)
.saturating_add(Weight::from_parts(0, 4197507))
// Standard Error: 11
.saturating_add(Weight::from_parts(956, 0).saturating_mul(l.into()))
// Measured: `171 + l * (2 ±0)`
// Estimated: `4195793 + l * (2 ±0)`
// Minimum execution time: 2_149_000 picoseconds.
Weight::from_parts(2_256_000, 4195793)
// Standard Error: 6
.saturating_add(Weight::from_parts(677, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 2).saturating_mul(l.into()))
}
@@ -789,13 +748,12 @@ impl WeightInfo for () {
/// The range of component `l` is `[0, 4194304]`.
fn measured_mixed_storage_double_value_read_linear_size(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `235 + l * (2 ±0)`
// Estimated: `4197507 + l * (2 ±0)`
// Minimum execution time: 2_375 nanoseconds.
Weight::from_parts(2_420_000, 0)
.saturating_add(Weight::from_parts(0, 4197507))
// Standard Error: 9
.saturating_add(Weight::from_parts(914, 0).saturating_mul(l.into()))
// Measured: `171 + l * (2 ±0)`
// Estimated: `4195793 + l * (2 ±0)`
// Minimum execution time: 2_254_000 picoseconds.
Weight::from_parts(2_319_000, 4195793)
// Standard Error: 5
.saturating_add(Weight::from_parts(664, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 2).saturating_mul(l.into()))
}
@@ -806,15 +764,14 @@ impl WeightInfo for () {
/// The range of component `i` is `[0, 1000]`.
fn storage_map_unbounded_both_measured_read(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `293 + i * (8 ±0)`
// Estimated: `7504 + i * (16 ±0)`
// Minimum execution time: 3_305 nanoseconds.
Weight::from_parts(3_689_335, 0)
.saturating_add(Weight::from_parts(0, 7504))
// Standard Error: 29
.saturating_add(Weight::from_parts(638, 0).saturating_mul(i.into()))
// Measured: `229 + i * (8 ±0)`
// Estimated: `3693 + i * (8 ±0)`
// Minimum execution time: 3_071_000 picoseconds.
Weight::from_parts(3_487_712, 3693)
// Standard Error: 26
.saturating_add(Weight::from_parts(748, 0).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 16).saturating_mul(i.into()))
.saturating_add(Weight::from_parts(0, 8).saturating_mul(i.into()))
}
/// Storage: Pov Map1M (r:1 w:0)
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: MaxEncodedLen)
@@ -823,13 +780,12 @@ impl WeightInfo for () {
/// The range of component `i` is `[0, 1000]`.
fn storage_map_partial_unbounded_read(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `260 + i * (4 ±0)`
// Estimated: `7223 + i * (4 ±0)`
// Minimum execution time: 3_469 nanoseconds.
Weight::from_parts(3_878_896, 0)
.saturating_add(Weight::from_parts(0, 7223))
// Standard Error: 33
.saturating_add(Weight::from_parts(356, 0).saturating_mul(i.into()))
// Measured: `228 + i * (4 ±0)`
// Estimated: `3692 + i * (4 ±0)`
// Minimum execution time: 3_150_000 picoseconds.
Weight::from_parts(3_582_963, 3692)
// Standard Error: 18
.saturating_add(Weight::from_parts(380, 0).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 4).saturating_mul(i.into()))
}
@@ -840,13 +796,12 @@ impl WeightInfo for () {
/// The range of component `i` is `[0, 1000]`.
fn storage_map_partial_unbounded_ignored_read(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `260 + i * (4 ±0)`
// Estimated: `3758 + i * (4 ±0)`
// Minimum execution time: 3_442 nanoseconds.
Weight::from_parts(3_881_051, 0)
.saturating_add(Weight::from_parts(0, 3758))
// Standard Error: 35
.saturating_add(Weight::from_parts(384, 0).saturating_mul(i.into()))
// Measured: `228 + i * (4 ±0)`
// Estimated: `3501 + i * (4 ±0)`
// Minimum execution time: 3_092_000 picoseconds.
Weight::from_parts(3_595_328, 3501)
// Standard Error: 20
.saturating_add(Weight::from_parts(243, 0).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 4).saturating_mul(i.into()))
}
@@ -854,16 +809,24 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_619 nanoseconds.
Weight::from_parts(1_728_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Minimum execution time: 1_705_000 picoseconds.
Weight::from_parts(1_818_000, 0)
}
fn noop() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 546 nanoseconds.
Weight::from_parts(640_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Minimum execution time: 533_000 picoseconds.
Weight::from_parts(587_000, 0)
}
/// Storage: Pov UnboundedMapTwox (r:65001 w:0)
/// Proof Skipped: Pov UnboundedMapTwox (max_values: None, max_size: None, mode: Measured)
fn storage_iteration() -> Weight {
// Proof Size summary in bytes:
// Measured: `17985289`
// Estimated: `178863754`
// Minimum execution time: 118_753_057_000 picoseconds.
Weight::from_parts(121_396_503_000, 178863754)
.saturating_add(RocksDbWeight::get().reads(65001_u64))
}
}