mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-08-06 07:15:47 +00:00
1eb0cd31b9
* Bump default 'additional_trie_layers' to two The default here only works for extremely small runtimes, which have no more than 16 storage prefices. This is changed to a "sane" default of 2, which is save for runtimes with up to 4096 storage prefices (eg StorageValue). Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update tests and test weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix PoV weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_balances * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_message_queue * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_glutton * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_glutton * Fix sanity check >0 would also do as a check, but let's try this. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: command-bot <>
870 lines
39 KiB
Rust
870 lines
39 KiB
Rust
|
|
//! 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: `[]`
|
|
//! 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
|
|
|
|
// Executed Command:
|
|
// ./target/release/substrate
|
|
// benchmark
|
|
// pallet
|
|
// --dev
|
|
// --pallet
|
|
// frame-benchmarking-pallet-pov
|
|
// --extrinsic
|
|
//
|
|
// --steps
|
|
// 50
|
|
// --repeat
|
|
// 20
|
|
// --template=.maintain/frame-weight-template.hbs
|
|
// --output=frame/benchmarking/pov/src/weights.rs
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
|
|
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
|
|
use sp_std::marker::PhantomData;
|
|
|
|
/// Weight functions needed for frame_benchmarking_pallet_pov.
|
|
pub trait WeightInfo {
|
|
fn storage_single_value_read() -> Weight;
|
|
fn storage_single_value_ignored_read() -> Weight;
|
|
fn storage_single_value_ignored_some_read() -> Weight;
|
|
fn storage_single_value_read_twice() -> Weight;
|
|
fn storage_single_value_write() -> Weight;
|
|
fn storage_single_value_kill() -> Weight;
|
|
fn storage_1m_map_read_one_value_two_additional_layers() -> Weight;
|
|
fn storage_1m_map_read_one_value_three_additional_layers() -> Weight;
|
|
fn storage_1m_map_read_one_value_four_additional_layers() -> Weight;
|
|
fn storage_map_read_per_component(n: u32, m: u32, ) -> Weight;
|
|
fn storage_map_read_per_component_one_ignored(n: u32, m: u32, ) -> Weight;
|
|
fn storage_1m_map_one_entry_repeated_read(n: u32, ) -> Weight;
|
|
fn storage_1m_map_multiple_entry_repeated_read(n: u32, ) -> Weight;
|
|
fn storage_1m_double_map_read_per_component(n: u32, ) -> Weight;
|
|
fn storage_value_bounded_read() -> Weight;
|
|
fn storage_value_unbounded_read() -> Weight;
|
|
fn storage_value_unbounded_ignored_read() -> Weight;
|
|
fn storage_value_bounded_and_unbounded_read() -> Weight;
|
|
fn measured_storage_value_read_linear_size(l: u32, ) -> Weight;
|
|
fn mel_storage_value_read_linear_size(l: u32, ) -> Weight;
|
|
fn measured_storage_double_value_read_linear_size(l: u32, ) -> Weight;
|
|
fn mel_storage_double_value_read_linear_size(l: u32, ) -> Weight;
|
|
fn mel_mixed_storage_double_value_read_linear_size(l: u32, ) -> Weight;
|
|
fn measured_mixed_storage_double_value_read_linear_size(l: u32, ) -> Weight;
|
|
fn storage_map_unbounded_both_measured_read(i: u32, ) -> Weight;
|
|
fn storage_map_partial_unbounded_read(i: u32, ) -> Weight;
|
|
fn storage_map_partial_unbounded_ignored_read(i: u32, ) -> Weight;
|
|
fn emit_event() -> Weight;
|
|
fn noop() -> Weight;
|
|
}
|
|
|
|
/// Weights for frame_benchmarking_pallet_pov using the Substrate node and recommended hardware.
|
|
pub struct SubstrateWeight<T>(PhantomData<T>);
|
|
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
|
/// Storage: Pov Value (r:1 w:0)
|
|
/// Proof: Pov Value (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
fn storage_single_value_read() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `136`
|
|
// Estimated: `1489`
|
|
// Minimum execution time: 1_968 nanoseconds.
|
|
Weight::from_ref_time(2_060_000)
|
|
.saturating_add(Weight::from_proof_size(1489))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Value (r:1 w:0)
|
|
/// Proof: Pov Value (max_values: Some(1), max_size: Some(4), added: 499, mode: Ignored)
|
|
fn storage_single_value_ignored_read() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `136`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_934 nanoseconds.
|
|
Weight::from_ref_time(2_092_000)
|
|
.saturating_add(Weight::from_proof_size(0))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Value (r:1 w:0)
|
|
/// Proof: Pov Value (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
/// Storage: Pov Value2 (r:1 w:0)
|
|
/// Proof: Pov Value2 (max_values: Some(1), max_size: Some(4), added: 499, mode: Ignored)
|
|
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_ref_time(2_786_000)
|
|
.saturating_add(Weight::from_proof_size(1649))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
}
|
|
/// Storage: Pov Value (r:1 w:0)
|
|
/// Proof: Pov Value (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
fn storage_single_value_read_twice() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `136`
|
|
// Estimated: `1489`
|
|
// Minimum execution time: 2_019 nanoseconds.
|
|
Weight::from_ref_time(2_214_000)
|
|
.saturating_add(Weight::from_proof_size(1489))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Value (r:0 w:1)
|
|
/// Proof: Pov Value (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
fn storage_single_value_write() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 279 nanoseconds.
|
|
Weight::from_ref_time(357_000)
|
|
.saturating_add(Weight::from_proof_size(0))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Pov Value (r:0 w:1)
|
|
/// Proof: Pov Value (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
fn storage_single_value_kill() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 291 nanoseconds.
|
|
Weight::from_ref_time(378_000)
|
|
.saturating_add(Weight::from_proof_size(0))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Pov Map1M (r:1 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: Measured)
|
|
fn storage_1m_map_read_one_value_two_additional_layers() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1275`
|
|
// Estimated: `4740`
|
|
// Minimum execution time: 5_077 nanoseconds.
|
|
Weight::from_ref_time(5_400_000)
|
|
.saturating_add(Weight::from_proof_size(4740))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Map1M (r:1 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: Measured)
|
|
fn storage_1m_map_read_one_value_three_additional_layers() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1544`
|
|
// Estimated: `5009`
|
|
// Minimum execution time: 5_878 nanoseconds.
|
|
Weight::from_ref_time(6_239_000)
|
|
.saturating_add(Weight::from_proof_size(5009))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Map1M (r:1 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: Measured)
|
|
fn storage_1m_map_read_one_value_four_additional_layers() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `2044`
|
|
// Estimated: `5509`
|
|
// Minimum execution time: 7_282 nanoseconds.
|
|
Weight::from_ref_time(8_022_000)
|
|
.saturating_add(Weight::from_proof_size(5509))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Map1M (r:100 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: MaxEncodedLen)
|
|
/// Storage: Pov Map16M (r:100 w:0)
|
|
/// Proof: Pov Map16M (max_values: Some(16000000), max_size: Some(36), added: 3006, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 100]`.
|
|
/// 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_ref_time(129_093_464)
|
|
.saturating_add(Weight::from_proof_size(1980))
|
|
// Standard Error: 12_134
|
|
.saturating_add(Weight::from_ref_time(855_330).saturating_mul(n.into()))
|
|
// Standard Error: 12_134
|
|
.saturating_add(Weight::from_ref_time(870_523).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_proof_size(3006).saturating_mul(n.into()))
|
|
.saturating_add(Weight::from_proof_size(2511).saturating_mul(m.into()))
|
|
}
|
|
/// Storage: Pov Map1M (r:100 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: Ignored)
|
|
/// Storage: Pov Map16M (r:100 w:0)
|
|
/// Proof: Pov Map16M (max_values: Some(16000000), max_size: Some(36), added: 3006, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 100]`.
|
|
/// 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_ref_time(131_322_479)
|
|
.saturating_add(Weight::from_proof_size(1685))
|
|
// Standard Error: 12_161
|
|
.saturating_add(Weight::from_ref_time(843_047).saturating_mul(n.into()))
|
|
// Standard Error: 12_161
|
|
.saturating_add(Weight::from_ref_time(858_668).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_proof_size(3195).saturating_mul(n.into()))
|
|
.saturating_add(Weight::from_proof_size(189).saturating_mul(m.into()))
|
|
}
|
|
/// Storage: Pov Map1M (r:1 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 100]`.
|
|
fn storage_1m_map_one_entry_repeated_read(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `170`
|
|
// Estimated: `3501`
|
|
// Minimum execution time: 22 nanoseconds.
|
|
Weight::from_ref_time(2_334_945)
|
|
.saturating_add(Weight::from_proof_size(3501))
|
|
// Standard Error: 624
|
|
.saturating_add(Weight::from_ref_time(282_046).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Map1M (r:100 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 100]`.
|
|
fn storage_1m_map_multiple_entry_repeated_read(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `147 + n * (40 ±0)`
|
|
// Estimated: `990 + n * (2511 ±0)`
|
|
// Minimum execution time: 20 nanoseconds.
|
|
Weight::from_ref_time(525_027)
|
|
.saturating_add(Weight::from_proof_size(990))
|
|
// Standard Error: 2_767
|
|
.saturating_add(Weight::from_ref_time(3_887_350).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(Weight::from_proof_size(2511).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: Pov DoubleMap1M (r:1024 w:0)
|
|
/// Proof: Pov DoubleMap1M (max_values: Some(1000000), max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn storage_1m_double_map_read_per_component(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `21938 + n * (57 ±0)`
|
|
// Estimated: `990 + n * (2543 ±0)`
|
|
// Minimum execution time: 34 nanoseconds.
|
|
Weight::from_ref_time(18_341_393)
|
|
.saturating_add(Weight::from_proof_size(990))
|
|
// Standard Error: 1_312
|
|
.saturating_add(Weight::from_ref_time(2_053_135).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(Weight::from_proof_size(2543).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: Pov BoundedValue (r:1 w:0)
|
|
/// Proof: Pov BoundedValue (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
|
|
fn storage_value_bounded_read() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `109`
|
|
// Estimated: `1518`
|
|
// Minimum execution time: 1_163 nanoseconds.
|
|
Weight::from_ref_time(1_274_000)
|
|
.saturating_add(Weight::from_proof_size(1518))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov UnboundedValue (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedValue (max_values: Some(1), max_size: None, mode: Measured)
|
|
fn storage_value_unbounded_read() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `109`
|
|
// Estimated: `1594`
|
|
// Minimum execution time: 1_167 nanoseconds.
|
|
Weight::from_ref_time(1_367_000)
|
|
.saturating_add(Weight::from_proof_size(1594))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov UnboundedValue (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedValue (max_values: Some(1), max_size: None, mode: Ignored)
|
|
fn storage_value_unbounded_ignored_read() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `109`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_155 nanoseconds.
|
|
Weight::from_ref_time(1_248_000)
|
|
.saturating_add(Weight::from_proof_size(0))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov UnboundedValue (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedValue (max_values: Some(1), max_size: None, mode: Measured)
|
|
/// Storage: Pov BoundedValue (r:1 w:0)
|
|
/// 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_ref_time(1_601_000)
|
|
.saturating_add(Weight::from_proof_size(3112))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
}
|
|
/// Storage: Pov LargeValue (r:1 w:0)
|
|
/// Proof: Pov LargeValue (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: Measured)
|
|
/// 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_ref_time(1_800_000)
|
|
.saturating_add(Weight::from_proof_size(1656))
|
|
// Standard Error: 4
|
|
.saturating_add(Weight::from_ref_time(443).saturating_mul(l.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(Weight::from_proof_size(1).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)
|
|
/// 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)`
|
|
// Estimated: `4195793`
|
|
// Minimum execution time: 1_770 nanoseconds.
|
|
Weight::from_ref_time(1_813_000)
|
|
.saturating_add(Weight::from_proof_size(4195793))
|
|
// Standard Error: 6
|
|
.saturating_add(Weight::from_ref_time(495).saturating_mul(l.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov LargeValue (r:1 w:0)
|
|
/// Proof: Pov LargeValue (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: Measured)
|
|
/// Storage: Pov LargeValue2 (r:1 w:0)
|
|
/// Proof: Pov LargeValue2 (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: Measured)
|
|
/// 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_ref_time(2_423_000)
|
|
.saturating_add(Weight::from_proof_size(3428))
|
|
// Standard Error: 11
|
|
.saturating_add(Weight::from_ref_time(950).saturating_mul(l.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(Weight::from_proof_size(4).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)
|
|
/// Storage: Pov LargeValue2 (r:1 w:0)
|
|
/// Proof: Pov LargeValue2 (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: MaxEncodedLen)
|
|
/// 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_ref_time(2_409_000)
|
|
.saturating_add(Weight::from_proof_size(8391586))
|
|
// Standard Error: 12
|
|
.saturating_add(Weight::from_ref_time(984).saturating_mul(l.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
}
|
|
/// Storage: Pov LargeValue (r:1 w:0)
|
|
/// Proof: Pov LargeValue (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: MaxEncodedLen)
|
|
/// Storage: Pov LargeValue2 (r:1 w:0)
|
|
/// Proof: Pov LargeValue2 (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: Measured)
|
|
/// 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_ref_time(2_474_000)
|
|
.saturating_add(Weight::from_proof_size(4197507))
|
|
// Standard Error: 11
|
|
.saturating_add(Weight::from_ref_time(956).saturating_mul(l.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(Weight::from_proof_size(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: Measured)
|
|
/// Storage: Pov LargeValue2 (r:1 w:0)
|
|
/// Proof: Pov LargeValue2 (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: MaxEncodedLen)
|
|
/// 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_ref_time(2_420_000)
|
|
.saturating_add(Weight::from_proof_size(4197507))
|
|
// Standard Error: 9
|
|
.saturating_add(Weight::from_ref_time(914).saturating_mul(l.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(Weight::from_proof_size(2).saturating_mul(l.into()))
|
|
}
|
|
/// Storage: Pov UnboundedMap (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedMap (max_values: None, max_size: None, mode: Measured)
|
|
/// Storage: Pov UnboundedMap2 (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedMap2 (max_values: None, max_size: None, mode: Measured)
|
|
/// 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_ref_time(3_689_335)
|
|
.saturating_add(Weight::from_proof_size(7504))
|
|
// Standard Error: 29
|
|
.saturating_add(Weight::from_ref_time(638).saturating_mul(i.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(Weight::from_proof_size(16).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)
|
|
/// Storage: Pov UnboundedMap (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedMap (max_values: None, max_size: None, mode: Measured)
|
|
/// 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_ref_time(3_878_896)
|
|
.saturating_add(Weight::from_proof_size(7223))
|
|
// Standard Error: 33
|
|
.saturating_add(Weight::from_ref_time(356).saturating_mul(i.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(Weight::from_proof_size(4).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)
|
|
/// Storage: Pov UnboundedMap (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedMap (max_values: None, max_size: None, mode: Ignored)
|
|
/// 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_ref_time(3_881_051)
|
|
.saturating_add(Weight::from_proof_size(3758))
|
|
// Standard Error: 35
|
|
.saturating_add(Weight::from_ref_time(384).saturating_mul(i.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(Weight::from_proof_size(4).saturating_mul(i.into()))
|
|
}
|
|
fn emit_event() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_619 nanoseconds.
|
|
Weight::from_ref_time(1_728_000)
|
|
.saturating_add(Weight::from_proof_size(0))
|
|
}
|
|
fn noop() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 546 nanoseconds.
|
|
Weight::from_ref_time(640_000)
|
|
.saturating_add(Weight::from_proof_size(0))
|
|
}
|
|
}
|
|
|
|
// For backwards compatibility and tests
|
|
impl WeightInfo for () {
|
|
/// Storage: Pov Value (r:1 w:0)
|
|
/// Proof: Pov Value (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
fn storage_single_value_read() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `136`
|
|
// Estimated: `1489`
|
|
// Minimum execution time: 1_968 nanoseconds.
|
|
Weight::from_ref_time(2_060_000)
|
|
.saturating_add(Weight::from_proof_size(1489))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Value (r:1 w:0)
|
|
/// Proof: Pov Value (max_values: Some(1), max_size: Some(4), added: 499, mode: Ignored)
|
|
fn storage_single_value_ignored_read() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `136`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_934 nanoseconds.
|
|
Weight::from_ref_time(2_092_000)
|
|
.saturating_add(Weight::from_proof_size(0))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Value (r:1 w:0)
|
|
/// Proof: Pov Value (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
/// Storage: Pov Value2 (r:1 w:0)
|
|
/// Proof: Pov Value2 (max_values: Some(1), max_size: Some(4), added: 499, mode: Ignored)
|
|
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_ref_time(2_786_000)
|
|
.saturating_add(Weight::from_proof_size(1649))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
}
|
|
/// Storage: Pov Value (r:1 w:0)
|
|
/// Proof: Pov Value (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
fn storage_single_value_read_twice() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `136`
|
|
// Estimated: `1489`
|
|
// Minimum execution time: 2_019 nanoseconds.
|
|
Weight::from_ref_time(2_214_000)
|
|
.saturating_add(Weight::from_proof_size(1489))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Value (r:0 w:1)
|
|
/// Proof: Pov Value (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
fn storage_single_value_write() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 279 nanoseconds.
|
|
Weight::from_ref_time(357_000)
|
|
.saturating_add(Weight::from_proof_size(0))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Pov Value (r:0 w:1)
|
|
/// Proof: Pov Value (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
fn storage_single_value_kill() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 291 nanoseconds.
|
|
Weight::from_ref_time(378_000)
|
|
.saturating_add(Weight::from_proof_size(0))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Pov Map1M (r:1 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: Measured)
|
|
fn storage_1m_map_read_one_value_two_additional_layers() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1275`
|
|
// Estimated: `4740`
|
|
// Minimum execution time: 5_077 nanoseconds.
|
|
Weight::from_ref_time(5_400_000)
|
|
.saturating_add(Weight::from_proof_size(4740))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Map1M (r:1 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: Measured)
|
|
fn storage_1m_map_read_one_value_three_additional_layers() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1544`
|
|
// Estimated: `5009`
|
|
// Minimum execution time: 5_878 nanoseconds.
|
|
Weight::from_ref_time(6_239_000)
|
|
.saturating_add(Weight::from_proof_size(5009))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Map1M (r:1 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: Measured)
|
|
fn storage_1m_map_read_one_value_four_additional_layers() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `2044`
|
|
// Estimated: `5509`
|
|
// Minimum execution time: 7_282 nanoseconds.
|
|
Weight::from_ref_time(8_022_000)
|
|
.saturating_add(Weight::from_proof_size(5509))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Map1M (r:100 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: MaxEncodedLen)
|
|
/// Storage: Pov Map16M (r:100 w:0)
|
|
/// Proof: Pov Map16M (max_values: Some(16000000), max_size: Some(36), added: 3006, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 100]`.
|
|
/// 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_ref_time(129_093_464)
|
|
.saturating_add(Weight::from_proof_size(1980))
|
|
// Standard Error: 12_134
|
|
.saturating_add(Weight::from_ref_time(855_330).saturating_mul(n.into()))
|
|
// Standard Error: 12_134
|
|
.saturating_add(Weight::from_ref_time(870_523).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_proof_size(3006).saturating_mul(n.into()))
|
|
.saturating_add(Weight::from_proof_size(2511).saturating_mul(m.into()))
|
|
}
|
|
/// Storage: Pov Map1M (r:100 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: Ignored)
|
|
/// Storage: Pov Map16M (r:100 w:0)
|
|
/// Proof: Pov Map16M (max_values: Some(16000000), max_size: Some(36), added: 3006, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 100]`.
|
|
/// 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_ref_time(131_322_479)
|
|
.saturating_add(Weight::from_proof_size(1685))
|
|
// Standard Error: 12_161
|
|
.saturating_add(Weight::from_ref_time(843_047).saturating_mul(n.into()))
|
|
// Standard Error: 12_161
|
|
.saturating_add(Weight::from_ref_time(858_668).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_proof_size(3195).saturating_mul(n.into()))
|
|
.saturating_add(Weight::from_proof_size(189).saturating_mul(m.into()))
|
|
}
|
|
/// Storage: Pov Map1M (r:1 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 100]`.
|
|
fn storage_1m_map_one_entry_repeated_read(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `170`
|
|
// Estimated: `3501`
|
|
// Minimum execution time: 22 nanoseconds.
|
|
Weight::from_ref_time(2_334_945)
|
|
.saturating_add(Weight::from_proof_size(3501))
|
|
// Standard Error: 624
|
|
.saturating_add(Weight::from_ref_time(282_046).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov Map1M (r:100 w:0)
|
|
/// Proof: Pov Map1M (max_values: Some(1000000), max_size: Some(36), added: 2511, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 100]`.
|
|
fn storage_1m_map_multiple_entry_repeated_read(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `147 + n * (40 ±0)`
|
|
// Estimated: `990 + n * (2511 ±0)`
|
|
// Minimum execution time: 20 nanoseconds.
|
|
Weight::from_ref_time(525_027)
|
|
.saturating_add(Weight::from_proof_size(990))
|
|
// Standard Error: 2_767
|
|
.saturating_add(Weight::from_ref_time(3_887_350).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(Weight::from_proof_size(2511).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: Pov DoubleMap1M (r:1024 w:0)
|
|
/// Proof: Pov DoubleMap1M (max_values: Some(1000000), max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn storage_1m_double_map_read_per_component(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `21938 + n * (57 ±0)`
|
|
// Estimated: `990 + n * (2543 ±0)`
|
|
// Minimum execution time: 34 nanoseconds.
|
|
Weight::from_ref_time(18_341_393)
|
|
.saturating_add(Weight::from_proof_size(990))
|
|
// Standard Error: 1_312
|
|
.saturating_add(Weight::from_ref_time(2_053_135).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(Weight::from_proof_size(2543).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: Pov BoundedValue (r:1 w:0)
|
|
/// Proof: Pov BoundedValue (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
|
|
fn storage_value_bounded_read() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `109`
|
|
// Estimated: `1518`
|
|
// Minimum execution time: 1_163 nanoseconds.
|
|
Weight::from_ref_time(1_274_000)
|
|
.saturating_add(Weight::from_proof_size(1518))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov UnboundedValue (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedValue (max_values: Some(1), max_size: None, mode: Measured)
|
|
fn storage_value_unbounded_read() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `109`
|
|
// Estimated: `1594`
|
|
// Minimum execution time: 1_167 nanoseconds.
|
|
Weight::from_ref_time(1_367_000)
|
|
.saturating_add(Weight::from_proof_size(1594))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov UnboundedValue (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedValue (max_values: Some(1), max_size: None, mode: Ignored)
|
|
fn storage_value_unbounded_ignored_read() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `109`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_155 nanoseconds.
|
|
Weight::from_ref_time(1_248_000)
|
|
.saturating_add(Weight::from_proof_size(0))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov UnboundedValue (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedValue (max_values: Some(1), max_size: None, mode: Measured)
|
|
/// Storage: Pov BoundedValue (r:1 w:0)
|
|
/// 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_ref_time(1_601_000)
|
|
.saturating_add(Weight::from_proof_size(3112))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
}
|
|
/// Storage: Pov LargeValue (r:1 w:0)
|
|
/// Proof: Pov LargeValue (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: Measured)
|
|
/// 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_ref_time(1_800_000)
|
|
.saturating_add(Weight::from_proof_size(1656))
|
|
// Standard Error: 4
|
|
.saturating_add(Weight::from_ref_time(443).saturating_mul(l.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(Weight::from_proof_size(1).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)
|
|
/// 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)`
|
|
// Estimated: `4195793`
|
|
// Minimum execution time: 1_770 nanoseconds.
|
|
Weight::from_ref_time(1_813_000)
|
|
.saturating_add(Weight::from_proof_size(4195793))
|
|
// Standard Error: 6
|
|
.saturating_add(Weight::from_ref_time(495).saturating_mul(l.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: Pov LargeValue (r:1 w:0)
|
|
/// Proof: Pov LargeValue (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: Measured)
|
|
/// Storage: Pov LargeValue2 (r:1 w:0)
|
|
/// Proof: Pov LargeValue2 (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: Measured)
|
|
/// 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_ref_time(2_423_000)
|
|
.saturating_add(Weight::from_proof_size(3428))
|
|
// Standard Error: 11
|
|
.saturating_add(Weight::from_ref_time(950).saturating_mul(l.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(Weight::from_proof_size(4).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)
|
|
/// Storage: Pov LargeValue2 (r:1 w:0)
|
|
/// Proof: Pov LargeValue2 (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: MaxEncodedLen)
|
|
/// 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_ref_time(2_409_000)
|
|
.saturating_add(Weight::from_proof_size(8391586))
|
|
// Standard Error: 12
|
|
.saturating_add(Weight::from_ref_time(984).saturating_mul(l.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
}
|
|
/// Storage: Pov LargeValue (r:1 w:0)
|
|
/// Proof: Pov LargeValue (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: MaxEncodedLen)
|
|
/// Storage: Pov LargeValue2 (r:1 w:0)
|
|
/// Proof: Pov LargeValue2 (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: Measured)
|
|
/// 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_ref_time(2_474_000)
|
|
.saturating_add(Weight::from_proof_size(4197507))
|
|
// Standard Error: 11
|
|
.saturating_add(Weight::from_ref_time(956).saturating_mul(l.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(Weight::from_proof_size(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: Measured)
|
|
/// Storage: Pov LargeValue2 (r:1 w:0)
|
|
/// Proof: Pov LargeValue2 (max_values: Some(1), max_size: Some(4194308), added: 4194803, mode: MaxEncodedLen)
|
|
/// 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_ref_time(2_420_000)
|
|
.saturating_add(Weight::from_proof_size(4197507))
|
|
// Standard Error: 9
|
|
.saturating_add(Weight::from_ref_time(914).saturating_mul(l.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(Weight::from_proof_size(2).saturating_mul(l.into()))
|
|
}
|
|
/// Storage: Pov UnboundedMap (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedMap (max_values: None, max_size: None, mode: Measured)
|
|
/// Storage: Pov UnboundedMap2 (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedMap2 (max_values: None, max_size: None, mode: Measured)
|
|
/// 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_ref_time(3_689_335)
|
|
.saturating_add(Weight::from_proof_size(7504))
|
|
// Standard Error: 29
|
|
.saturating_add(Weight::from_ref_time(638).saturating_mul(i.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(Weight::from_proof_size(16).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)
|
|
/// Storage: Pov UnboundedMap (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedMap (max_values: None, max_size: None, mode: Measured)
|
|
/// 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_ref_time(3_878_896)
|
|
.saturating_add(Weight::from_proof_size(7223))
|
|
// Standard Error: 33
|
|
.saturating_add(Weight::from_ref_time(356).saturating_mul(i.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(Weight::from_proof_size(4).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)
|
|
/// Storage: Pov UnboundedMap (r:1 w:0)
|
|
/// Proof Skipped: Pov UnboundedMap (max_values: None, max_size: None, mode: Ignored)
|
|
/// 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_ref_time(3_881_051)
|
|
.saturating_add(Weight::from_proof_size(3758))
|
|
// Standard Error: 35
|
|
.saturating_add(Weight::from_ref_time(384).saturating_mul(i.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(Weight::from_proof_size(4).saturating_mul(i.into()))
|
|
}
|
|
fn emit_event() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_619 nanoseconds.
|
|
Weight::from_ref_time(1_728_000)
|
|
.saturating_add(Weight::from_proof_size(0))
|
|
}
|
|
fn noop() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 546 nanoseconds.
|
|
Weight::from_ref_time(640_000)
|
|
.saturating_add(Weight::from_proof_size(0))
|
|
}
|
|
}
|