".git/.scripts/commands/bench-vm/bench-vm.sh" all (#13933)

Co-authored-by: command-bot <>
This commit is contained in:
Oleg Plakida
2023-06-19 14:31:20 +01:00
committed by GitHub
parent 05592a84eb
commit 0aa79f87ca
52 changed files with 5126 additions and 4928 deletions
+79 -75
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_scheduler
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_scheduler
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_scheduler.
pub trait WeightInfo {
@@ -71,8 +75,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `31`
// Estimated: `1489`
// Minimum execution time: 3_776_000 picoseconds.
Weight::from_parts(3_992_000, 1489)
// Minimum execution time: 3_991_000 picoseconds.
Weight::from_parts(4_174_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -83,10 +87,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_418_000 picoseconds.
Weight::from_parts(8_606_012, 110487)
// Standard Error: 769
.saturating_add(Weight::from_parts(309_376, 0).saturating_mul(s.into()))
// Minimum execution time: 3_581_000 picoseconds.
Weight::from_parts(7_413_174, 110487)
// Standard Error: 971
.saturating_add(Weight::from_parts(348_077, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -94,8 +98,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_624_000 picoseconds.
Weight::from_parts(5_758_000, 0)
// Minimum execution time: 5_250_000 picoseconds.
Weight::from_parts(5_549_000, 0)
}
/// Storage: Preimage PreimageFor (r:1 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured)
@@ -106,10 +110,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `179 + s * (1 ±0)`
// Estimated: `3644 + s * (1 ±0)`
// Minimum execution time: 20_150_000 picoseconds.
Weight::from_parts(20_271_000, 3644)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_132, 0).saturating_mul(s.into()))
// Minimum execution time: 20_089_000 picoseconds.
Weight::from_parts(20_376_000, 3644)
// Standard Error: 3
.saturating_add(Weight::from_parts(1_170, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into()))
@@ -120,30 +124,30 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_451_000 picoseconds.
Weight::from_parts(7_693_000, 0)
// Minimum execution time: 6_998_000 picoseconds.
Weight::from_parts(7_303_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: 5_477_000 picoseconds.
Weight::from_parts(5_733_000, 0)
// Minimum execution time: 5_078_000 picoseconds.
Weight::from_parts(5_315_000, 0)
}
fn execute_dispatch_signed() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_675_000 picoseconds.
Weight::from_parts(2_870_000, 0)
// Minimum execution time: 2_228_000 picoseconds.
Weight::from_parts(2_352_000, 0)
}
fn execute_dispatch_unsigned() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_697_000 picoseconds.
Weight::from_parts(2_807_000, 0)
// Minimum execution time: 2_226_000 picoseconds.
Weight::from_parts(2_371_000, 0)
}
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
@@ -152,10 +156,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: 13_921_000 picoseconds.
Weight::from_parts(18_717_223, 110487)
// Standard Error: 771
.saturating_add(Weight::from_parts(333_102, 0).saturating_mul(s.into()))
// Minimum execution time: 12_683_000 picoseconds.
Weight::from_parts(16_951_846, 110487)
// Standard Error: 1_046
.saturating_add(Weight::from_parts(380_842, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -168,10 +172,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: 17_552_000 picoseconds.
Weight::from_parts(19_006_016, 110487)
// Standard Error: 1_115
.saturating_add(Weight::from_parts(495_979, 0).saturating_mul(s.into()))
// Minimum execution time: 16_201_000 picoseconds.
Weight::from_parts(18_259_422, 110487)
// Standard Error: 1_344
.saturating_add(Weight::from_parts(545_863, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -184,10 +188,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: 17_240_000 picoseconds.
Weight::from_parts(24_376_370, 110487)
// Standard Error: 928
.saturating_add(Weight::from_parts(331_209, 0).saturating_mul(s.into()))
// Minimum execution time: 16_180_000 picoseconds.
Weight::from_parts(25_128_925, 110487)
// Standard Error: 1_118
.saturating_add(Weight::from_parts(375_631, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -200,10 +204,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `709 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 19_731_000 picoseconds.
Weight::from_parts(23_787_948, 110487)
// Standard Error: 1_133
.saturating_add(Weight::from_parts(503_805, 0).saturating_mul(s.into()))
// Minimum execution time: 18_244_000 picoseconds.
Weight::from_parts(21_439_366, 110487)
// Standard Error: 1_084
.saturating_add(Weight::from_parts(557_691, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -217,8 +221,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `31`
// Estimated: `1489`
// Minimum execution time: 3_776_000 picoseconds.
Weight::from_parts(3_992_000, 1489)
// Minimum execution time: 3_991_000 picoseconds.
Weight::from_parts(4_174_000, 1489)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -229,10 +233,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 3_418_000 picoseconds.
Weight::from_parts(8_606_012, 110487)
// Standard Error: 769
.saturating_add(Weight::from_parts(309_376, 0).saturating_mul(s.into()))
// Minimum execution time: 3_581_000 picoseconds.
Weight::from_parts(7_413_174, 110487)
// Standard Error: 971
.saturating_add(Weight::from_parts(348_077, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -240,8 +244,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_624_000 picoseconds.
Weight::from_parts(5_758_000, 0)
// Minimum execution time: 5_250_000 picoseconds.
Weight::from_parts(5_549_000, 0)
}
/// Storage: Preimage PreimageFor (r:1 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured)
@@ -252,10 +256,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `179 + s * (1 ±0)`
// Estimated: `3644 + s * (1 ±0)`
// Minimum execution time: 20_150_000 picoseconds.
Weight::from_parts(20_271_000, 3644)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_132, 0).saturating_mul(s.into()))
// Minimum execution time: 20_089_000 picoseconds.
Weight::from_parts(20_376_000, 3644)
// Standard Error: 3
.saturating_add(Weight::from_parts(1_170, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into()))
@@ -266,30 +270,30 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_451_000 picoseconds.
Weight::from_parts(7_693_000, 0)
// Minimum execution time: 6_998_000 picoseconds.
Weight::from_parts(7_303_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: 5_477_000 picoseconds.
Weight::from_parts(5_733_000, 0)
// Minimum execution time: 5_078_000 picoseconds.
Weight::from_parts(5_315_000, 0)
}
fn execute_dispatch_signed() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_675_000 picoseconds.
Weight::from_parts(2_870_000, 0)
// Minimum execution time: 2_228_000 picoseconds.
Weight::from_parts(2_352_000, 0)
}
fn execute_dispatch_unsigned() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_697_000 picoseconds.
Weight::from_parts(2_807_000, 0)
// Minimum execution time: 2_226_000 picoseconds.
Weight::from_parts(2_371_000, 0)
}
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
@@ -298,10 +302,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 13_921_000 picoseconds.
Weight::from_parts(18_717_223, 110487)
// Standard Error: 771
.saturating_add(Weight::from_parts(333_102, 0).saturating_mul(s.into()))
// Minimum execution time: 12_683_000 picoseconds.
Weight::from_parts(16_951_846, 110487)
// Standard Error: 1_046
.saturating_add(Weight::from_parts(380_842, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -314,10 +318,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 17_552_000 picoseconds.
Weight::from_parts(19_006_016, 110487)
// Standard Error: 1_115
.saturating_add(Weight::from_parts(495_979, 0).saturating_mul(s.into()))
// Minimum execution time: 16_201_000 picoseconds.
Weight::from_parts(18_259_422, 110487)
// Standard Error: 1_344
.saturating_add(Weight::from_parts(545_863, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -330,10 +334,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `596 + s * (178 ±0)`
// Estimated: `110487`
// Minimum execution time: 17_240_000 picoseconds.
Weight::from_parts(24_376_370, 110487)
// Standard Error: 928
.saturating_add(Weight::from_parts(331_209, 0).saturating_mul(s.into()))
// Minimum execution time: 16_180_000 picoseconds.
Weight::from_parts(25_128_925, 110487)
// Standard Error: 1_118
.saturating_add(Weight::from_parts(375_631, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -346,10 +350,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `709 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 19_731_000 picoseconds.
Weight::from_parts(23_787_948, 110487)
// Standard Error: 1_133
.saturating_add(Weight::from_parts(503_805, 0).saturating_mul(s.into()))
// Minimum execution time: 18_244_000 picoseconds.
Weight::from_parts(21_439_366, 110487)
// Standard Error: 1_084
.saturating_add(Weight::from_parts(557_691, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}