mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
Update benchmarking macros (#3934)
Current benchmarking macro returns a closure with the captured
benchmarked code.
This can cause issues when the benchmarked code has complex lifetime
requirements.
This PR updates the existing macro by injecting the recording parameter
and invoking the start / stop method around the benchmarked block
instead of returning a closure
One other added benefit is that you can write this kind of code now as
well:
```rust
let v;
#[block]
{ v = func.call(); }
dbg!(v); // or assert something on v
```
[Weights compare
link](https://weights.tasty.limo/compare?unit=weight&ignore_errors=true&threshold=10&method=asymptotic&repo=polkadot-sdk&old=pg/fix-weights&new=pg/bench_update&path_pattern=substrate/frame/**/src/weights.rs,polkadot/runtime/*/src/weights/**/*.rs,polkadot/bridges/modules/*/src/weights.rs,cumulus/**/weights/*.rs,cumulus/**/weights/xcm/*.rs,cumulus/**/src/weights.rs)
---------
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
This commit is contained in:
Generated
+134
-128
@@ -17,26 +17,28 @@
|
||||
|
||||
//! Autogenerated weights for `pallet_scheduler`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2024-01-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
|
||||
//! DATE: 2024-04-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `runner-grjcggob-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! HOSTNAME: `runner-anb7yjbi-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
|
||||
|
||||
// Executed Command:
|
||||
// target/production/substrate-node
|
||||
// ./target/production/substrate-node
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_scheduler
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_scheduler
|
||||
// --chain=dev
|
||||
// --header=./substrate/HEADER-APACHE2
|
||||
// --output=./substrate/frame/scheduler/src/weights.rs
|
||||
// --header=./substrate/HEADER-APACHE2
|
||||
// --template=./substrate/.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -77,8 +79,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `31`
|
||||
// Estimated: `1489`
|
||||
// Minimum execution time: 3_040_000 picoseconds.
|
||||
Weight::from_parts(3_202_000, 1489)
|
||||
// Minimum execution time: 3_099_000 picoseconds.
|
||||
Weight::from_parts(3_298_000, 1489)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -89,10 +91,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `81 + s * (177 ±0)`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 3_462_000 picoseconds.
|
||||
Weight::from_parts(6_262_125, 110487)
|
||||
// Standard Error: 536
|
||||
.saturating_add(Weight::from_parts(332_570, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 3_558_000 picoseconds.
|
||||
Weight::from_parts(5_984_191, 110487)
|
||||
// Standard Error: 564
|
||||
.saturating_add(Weight::from_parts(334_983, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -100,8 +102,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_425_000 picoseconds.
|
||||
Weight::from_parts(3_680_000, 0)
|
||||
// Minimum execution time: 3_389_000 picoseconds.
|
||||
Weight::from_parts(3_609_000, 0)
|
||||
}
|
||||
/// Storage: `Preimage::PreimageFor` (r:1 w:1)
|
||||
/// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`)
|
||||
@@ -114,10 +116,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `246 + s * (1 ±0)`
|
||||
// Estimated: `3711 + s * (1 ±0)`
|
||||
// Minimum execution time: 17_564_000 picoseconds.
|
||||
Weight::from_parts(17_887_000, 3711)
|
||||
// Minimum execution time: 18_292_000 picoseconds.
|
||||
Weight::from_parts(18_574_000, 3711)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_parts(1_253, 0).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(1_189, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
.saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into()))
|
||||
@@ -128,16 +130,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_934_000 picoseconds.
|
||||
Weight::from_parts(5_275_000, 0)
|
||||
// Minimum execution time: 5_216_000 picoseconds.
|
||||
Weight::from_parts(5_439_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
fn service_task_periodic() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_348_000 picoseconds.
|
||||
Weight::from_parts(3_561_000, 0)
|
||||
// Minimum execution time: 3_383_000 picoseconds.
|
||||
Weight::from_parts(3_661_000, 0)
|
||||
}
|
||||
/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
|
||||
/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
||||
@@ -147,16 +149,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `145`
|
||||
// Estimated: `3997`
|
||||
// Minimum execution time: 6_395_000 picoseconds.
|
||||
Weight::from_parts(6_642_000, 3997)
|
||||
// Minimum execution time: 6_692_000 picoseconds.
|
||||
Weight::from_parts(7_069_000, 3997)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
}
|
||||
fn execute_dispatch_unsigned() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_167_000 picoseconds.
|
||||
Weight::from_parts(2_266_000, 0)
|
||||
// Minimum execution time: 2_165_000 picoseconds.
|
||||
Weight::from_parts(2_332_000, 0)
|
||||
}
|
||||
/// Storage: `Scheduler::Agenda` (r:1 w:1)
|
||||
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
|
||||
@@ -165,15 +167,17 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `81 + s * (177 ±0)`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 10_009_000 picoseconds.
|
||||
Weight::from_parts(13_565_985, 110487)
|
||||
// Standard Error: 575
|
||||
.saturating_add(Weight::from_parts(354_760, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 10_209_000 picoseconds.
|
||||
Weight::from_parts(11_235_511, 110487)
|
||||
// Standard Error: 906
|
||||
.saturating_add(Weight::from_parts(375_445, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Scheduler::Agenda` (r:1 w:1)
|
||||
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Retries` (r:0 w:1)
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Lookup` (r:0 w:1)
|
||||
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
|
||||
/// The range of component `s` is `[1, 512]`.
|
||||
@@ -181,12 +185,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `81 + s * (177 ±0)`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 14_048_000 picoseconds.
|
||||
Weight::from_parts(15_141_696, 110487)
|
||||
// Standard Error: 1_082
|
||||
.saturating_add(Weight::from_parts(533_390, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 15_906_000 picoseconds.
|
||||
Weight::from_parts(13_697_344, 110487)
|
||||
// Standard Error: 949
|
||||
.saturating_add(Weight::from_parts(564_461, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: `Scheduler::Lookup` (r:1 w:1)
|
||||
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
|
||||
@@ -197,10 +201,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `596 + s * (178 ±0)`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 12_902_000 picoseconds.
|
||||
Weight::from_parts(18_957_156, 110487)
|
||||
// Standard Error: 792
|
||||
.saturating_add(Weight::from_parts(361_909, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 13_618_000 picoseconds.
|
||||
Weight::from_parts(17_489_572, 110487)
|
||||
// Standard Error: 766
|
||||
.saturating_add(Weight::from_parts(377_559, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -208,35 +212,35 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Agenda` (r:1 w:1)
|
||||
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Retries` (r:0 w:1)
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
/// The range of component `s` is `[1, 512]`.
|
||||
fn cancel_named(s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `709 + s * (177 ±0)`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 15_933_000 picoseconds.
|
||||
Weight::from_parts(18_091_415, 110487)
|
||||
// Standard Error: 779
|
||||
.saturating_add(Weight::from_parts(534_402, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 17_954_000 picoseconds.
|
||||
Weight::from_parts(18_459_344, 110487)
|
||||
// Standard Error: 835
|
||||
.saturating_add(Weight::from_parts(585_557, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: `Scheduler::Retries` (r:1 w:2)
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Agenda` (r:1 w:1)
|
||||
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Lookup` (r:0 w:1)
|
||||
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Retries` (r:0 w:1)
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
/// The range of component `s` is `[1, 512]`.
|
||||
fn schedule_retry(s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `159`
|
||||
// Measured: `118`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 14_155_000 picoseconds.
|
||||
Weight::from_parts(16_447_031, 110487)
|
||||
// Standard Error: 233
|
||||
.saturating_add(Weight::from_parts(8_424, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
// Minimum execution time: 9_446_000 picoseconds.
|
||||
Weight::from_parts(10_797_672, 110487)
|
||||
// Standard Error: 184
|
||||
.saturating_add(Weight::from_parts(13_971, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
/// Storage: `Scheduler::Agenda` (r:1 w:0)
|
||||
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
|
||||
@@ -244,10 +248,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
fn set_retry() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `81 + s * (177 ±0)`
|
||||
// Measured: `90705`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 8_130_000 picoseconds.
|
||||
Weight::from_parts(9_047_554, 110487)
|
||||
// Minimum execution time: 137_044_000 picoseconds.
|
||||
Weight::from_parts(142_855_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -259,10 +263,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
fn set_retry_named() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `647 + s * (178 ±0)`
|
||||
// Measured: `91747`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 10_838_000 picoseconds.
|
||||
Weight::from_parts(12_804_076, 110487)
|
||||
// Minimum execution time: 144_333_000 picoseconds.
|
||||
Weight::from_parts(149_251_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -272,10 +276,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
fn cancel_retry() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `81 + s * (177 ±0)`
|
||||
// Measured: `90717`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 8_130_000 picoseconds.
|
||||
Weight::from_parts(9_047_554, 110487)
|
||||
// Minimum execution time: 132_387_000 picoseconds.
|
||||
Weight::from_parts(139_222_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -287,10 +291,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
fn cancel_retry_named() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `647 + s * (178 ±0)`
|
||||
// Measured: `91759`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 10_838_000 picoseconds.
|
||||
Weight::from_parts(12_804_076, 110487)
|
||||
// Minimum execution time: 141_082_000 picoseconds.
|
||||
Weight::from_parts(146_117_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -304,8 +308,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `31`
|
||||
// Estimated: `1489`
|
||||
// Minimum execution time: 3_040_000 picoseconds.
|
||||
Weight::from_parts(3_202_000, 1489)
|
||||
// Minimum execution time: 3_099_000 picoseconds.
|
||||
Weight::from_parts(3_298_000, 1489)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -316,10 +320,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `81 + s * (177 ±0)`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 3_462_000 picoseconds.
|
||||
Weight::from_parts(6_262_125, 110487)
|
||||
// Standard Error: 536
|
||||
.saturating_add(Weight::from_parts(332_570, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 3_558_000 picoseconds.
|
||||
Weight::from_parts(5_984_191, 110487)
|
||||
// Standard Error: 564
|
||||
.saturating_add(Weight::from_parts(334_983, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -327,8 +331,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_425_000 picoseconds.
|
||||
Weight::from_parts(3_680_000, 0)
|
||||
// Minimum execution time: 3_389_000 picoseconds.
|
||||
Weight::from_parts(3_609_000, 0)
|
||||
}
|
||||
/// Storage: `Preimage::PreimageFor` (r:1 w:1)
|
||||
/// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`)
|
||||
@@ -341,10 +345,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `246 + s * (1 ±0)`
|
||||
// Estimated: `3711 + s * (1 ±0)`
|
||||
// Minimum execution time: 17_564_000 picoseconds.
|
||||
Weight::from_parts(17_887_000, 3711)
|
||||
// Minimum execution time: 18_292_000 picoseconds.
|
||||
Weight::from_parts(18_574_000, 3711)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_parts(1_253, 0).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(1_189, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
.saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into()))
|
||||
@@ -355,16 +359,16 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_934_000 picoseconds.
|
||||
Weight::from_parts(5_275_000, 0)
|
||||
// Minimum execution time: 5_216_000 picoseconds.
|
||||
Weight::from_parts(5_439_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
fn service_task_periodic() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_348_000 picoseconds.
|
||||
Weight::from_parts(3_561_000, 0)
|
||||
// Minimum execution time: 3_383_000 picoseconds.
|
||||
Weight::from_parts(3_661_000, 0)
|
||||
}
|
||||
/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
|
||||
/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
||||
@@ -374,16 +378,16 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `145`
|
||||
// Estimated: `3997`
|
||||
// Minimum execution time: 6_395_000 picoseconds.
|
||||
Weight::from_parts(6_642_000, 3997)
|
||||
// Minimum execution time: 6_692_000 picoseconds.
|
||||
Weight::from_parts(7_069_000, 3997)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
}
|
||||
fn execute_dispatch_unsigned() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_167_000 picoseconds.
|
||||
Weight::from_parts(2_266_000, 0)
|
||||
// Minimum execution time: 2_165_000 picoseconds.
|
||||
Weight::from_parts(2_332_000, 0)
|
||||
}
|
||||
/// Storage: `Scheduler::Agenda` (r:1 w:1)
|
||||
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
|
||||
@@ -392,15 +396,17 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `81 + s * (177 ±0)`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 10_009_000 picoseconds.
|
||||
Weight::from_parts(13_565_985, 110487)
|
||||
// Standard Error: 575
|
||||
.saturating_add(Weight::from_parts(354_760, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 10_209_000 picoseconds.
|
||||
Weight::from_parts(11_235_511, 110487)
|
||||
// Standard Error: 906
|
||||
.saturating_add(Weight::from_parts(375_445, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Scheduler::Agenda` (r:1 w:1)
|
||||
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Retries` (r:0 w:1)
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Lookup` (r:0 w:1)
|
||||
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
|
||||
/// The range of component `s` is `[1, 512]`.
|
||||
@@ -408,12 +414,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `81 + s * (177 ±0)`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 14_048_000 picoseconds.
|
||||
Weight::from_parts(15_141_696, 110487)
|
||||
// Standard Error: 1_082
|
||||
.saturating_add(Weight::from_parts(533_390, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 15_906_000 picoseconds.
|
||||
Weight::from_parts(13_697_344, 110487)
|
||||
// Standard Error: 949
|
||||
.saturating_add(Weight::from_parts(564_461, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: `Scheduler::Lookup` (r:1 w:1)
|
||||
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
|
||||
@@ -424,10 +430,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `596 + s * (178 ±0)`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 12_902_000 picoseconds.
|
||||
Weight::from_parts(18_957_156, 110487)
|
||||
// Standard Error: 792
|
||||
.saturating_add(Weight::from_parts(361_909, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 13_618_000 picoseconds.
|
||||
Weight::from_parts(17_489_572, 110487)
|
||||
// Standard Error: 766
|
||||
.saturating_add(Weight::from_parts(377_559, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -435,35 +441,35 @@ impl WeightInfo for () {
|
||||
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Agenda` (r:1 w:1)
|
||||
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Retries` (r:0 w:1)
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
/// The range of component `s` is `[1, 512]`.
|
||||
fn cancel_named(s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `709 + s * (177 ±0)`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 15_933_000 picoseconds.
|
||||
Weight::from_parts(18_091_415, 110487)
|
||||
// Standard Error: 779
|
||||
.saturating_add(Weight::from_parts(534_402, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 17_954_000 picoseconds.
|
||||
Weight::from_parts(18_459_344, 110487)
|
||||
// Standard Error: 835
|
||||
.saturating_add(Weight::from_parts(585_557, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: `Scheduler::Retries` (r:1 w:2)
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Agenda` (r:1 w:1)
|
||||
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Lookup` (r:0 w:1)
|
||||
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Scheduler::Retries` (r:0 w:1)
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
/// The range of component `s` is `[1, 512]`.
|
||||
fn schedule_retry(s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `159`
|
||||
// Measured: `118`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 14_155_000 picoseconds.
|
||||
Weight::from_parts(16_447_031, 110487)
|
||||
// Standard Error: 233
|
||||
.saturating_add(Weight::from_parts(8_424, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
// Minimum execution time: 9_446_000 picoseconds.
|
||||
Weight::from_parts(10_797_672, 110487)
|
||||
// Standard Error: 184
|
||||
.saturating_add(Weight::from_parts(13_971, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
/// Storage: `Scheduler::Agenda` (r:1 w:0)
|
||||
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
|
||||
@@ -471,10 +477,10 @@ impl WeightInfo for () {
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
fn set_retry() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `81 + s * (177 ±0)`
|
||||
// Measured: `90705`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 8_130_000 picoseconds.
|
||||
Weight::from_parts(9_047_554, 110487)
|
||||
// Minimum execution time: 137_044_000 picoseconds.
|
||||
Weight::from_parts(142_855_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -486,10 +492,10 @@ impl WeightInfo for () {
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
fn set_retry_named() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `647 + s * (178 ±0)`
|
||||
// Measured: `91747`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 10_838_000 picoseconds.
|
||||
Weight::from_parts(12_804_076, 110487)
|
||||
// Minimum execution time: 144_333_000 picoseconds.
|
||||
Weight::from_parts(149_251_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -499,10 +505,10 @@ impl WeightInfo for () {
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
fn cancel_retry() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `81 + s * (177 ±0)`
|
||||
// Measured: `90717`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 8_130_000 picoseconds.
|
||||
Weight::from_parts(9_047_554, 110487)
|
||||
// Minimum execution time: 132_387_000 picoseconds.
|
||||
Weight::from_parts(139_222_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -514,10 +520,10 @@ impl WeightInfo for () {
|
||||
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
|
||||
fn cancel_retry_named() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `647 + s * (178 ±0)`
|
||||
// Measured: `91759`
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 10_838_000 picoseconds.
|
||||
Weight::from_parts(12_804_076, 110487)
|
||||
// Minimum execution time: 141_082_000 picoseconds.
|
||||
Weight::from_parts(146_117_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user