".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
+51 -47
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_treasury
//!
//! 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_treasury
// --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_treasury.
pub trait WeightInfo {
@@ -67,10 +71,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
fn spend() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Measured: `76`
// Estimated: `1887`
// Minimum execution time: 16_592_000 picoseconds.
Weight::from_parts(16_959_000, 1887)
// Minimum execution time: 15_057_000 picoseconds.
Weight::from_parts(15_803_000, 1887)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -80,10 +84,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
fn propose_spend() -> Weight {
// Proof Size summary in bytes:
// Measured: `143`
// Measured: `177`
// Estimated: `1489`
// Minimum execution time: 29_742_000 picoseconds.
Weight::from_parts(30_359_000, 1489)
// Minimum execution time: 28_923_000 picoseconds.
Weight::from_parts(29_495_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -93,10 +97,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn reject_proposal() -> Weight {
// Proof Size summary in bytes:
// Measured: `301`
// Measured: `335`
// Estimated: `3593`
// Minimum execution time: 31_248_000 picoseconds.
Weight::from_parts(31_882_000, 3593)
// Minimum execution time: 30_539_000 picoseconds.
Weight::from_parts(30_986_000, 3593)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -107,12 +111,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `470 + p * (8 ±0)`
// Measured: `504 + p * (8 ±0)`
// Estimated: `3573`
// Minimum execution time: 10_441_000 picoseconds.
Weight::from_parts(13_061_079, 3573)
// Standard Error: 877
.saturating_add(Weight::from_parts(26_940, 0).saturating_mul(p.into()))
// Minimum execution time: 9_320_000 picoseconds.
Weight::from_parts(12_606_599, 3573)
// Standard Error: 1_302
.saturating_add(Weight::from_parts(71_054, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -120,10 +124,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
fn remove_approval() -> Weight {
// Proof Size summary in bytes:
// Measured: `127`
// Measured: `161`
// Estimated: `1887`
// Minimum execution time: 7_935_000 picoseconds.
Weight::from_parts(8_153_000, 1887)
// Minimum execution time: 7_231_000 picoseconds.
Weight::from_parts(7_459_000, 1887)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -140,12 +144,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `387 + p * (251 ±0)`
// Measured: `421 + p * (251 ±0)`
// Estimated: `1887 + p * (5206 ±0)`
// Minimum execution time: 45_306_000 picoseconds.
Weight::from_parts(53_639_830, 1887)
// Standard Error: 32_330
.saturating_add(Weight::from_parts(38_930_307, 0).saturating_mul(p.into()))
// Minimum execution time: 44_769_000 picoseconds.
Weight::from_parts(57_915_572, 1887)
// Standard Error: 59_484
.saturating_add(Weight::from_parts(42_343_732, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
@@ -164,10 +168,10 @@ impl WeightInfo for () {
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
fn spend() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Measured: `76`
// Estimated: `1887`
// Minimum execution time: 16_592_000 picoseconds.
Weight::from_parts(16_959_000, 1887)
// Minimum execution time: 15_057_000 picoseconds.
Weight::from_parts(15_803_000, 1887)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -177,10 +181,10 @@ impl WeightInfo for () {
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
fn propose_spend() -> Weight {
// Proof Size summary in bytes:
// Measured: `143`
// Measured: `177`
// Estimated: `1489`
// Minimum execution time: 29_742_000 picoseconds.
Weight::from_parts(30_359_000, 1489)
// Minimum execution time: 28_923_000 picoseconds.
Weight::from_parts(29_495_000, 1489)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -190,10 +194,10 @@ impl WeightInfo for () {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn reject_proposal() -> Weight {
// Proof Size summary in bytes:
// Measured: `301`
// Measured: `335`
// Estimated: `3593`
// Minimum execution time: 31_248_000 picoseconds.
Weight::from_parts(31_882_000, 3593)
// Minimum execution time: 30_539_000 picoseconds.
Weight::from_parts(30_986_000, 3593)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -204,12 +208,12 @@ impl WeightInfo for () {
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `470 + p * (8 ±0)`
// Measured: `504 + p * (8 ±0)`
// Estimated: `3573`
// Minimum execution time: 10_441_000 picoseconds.
Weight::from_parts(13_061_079, 3573)
// Standard Error: 877
.saturating_add(Weight::from_parts(26_940, 0).saturating_mul(p.into()))
// Minimum execution time: 9_320_000 picoseconds.
Weight::from_parts(12_606_599, 3573)
// Standard Error: 1_302
.saturating_add(Weight::from_parts(71_054, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -217,10 +221,10 @@ impl WeightInfo for () {
/// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
fn remove_approval() -> Weight {
// Proof Size summary in bytes:
// Measured: `127`
// Measured: `161`
// Estimated: `1887`
// Minimum execution time: 7_935_000 picoseconds.
Weight::from_parts(8_153_000, 1887)
// Minimum execution time: 7_231_000 picoseconds.
Weight::from_parts(7_459_000, 1887)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -237,12 +241,12 @@ impl WeightInfo for () {
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `387 + p * (251 ±0)`
// Measured: `421 + p * (251 ±0)`
// Estimated: `1887 + p * (5206 ±0)`
// Minimum execution time: 45_306_000 picoseconds.
Weight::from_parts(53_639_830, 1887)
// Standard Error: 32_330
.saturating_add(Weight::from_parts(38_930_307, 0).saturating_mul(p.into()))
// Minimum execution time: 44_769_000 picoseconds.
Weight::from_parts(57_915_572, 1887)
// Standard Error: 59_484
.saturating_add(Weight::from_parts(42_343_732, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(p.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))