".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
+55 -51
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_child_bounties
//!
//! 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_child_bounties
// --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_child_bounties.
pub trait WeightInfo {
@@ -76,10 +80,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `d` is `[0, 300]`.
fn add_child_bounty(_d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `678`
// Measured: `712`
// Estimated: `6196`
// Minimum execution time: 69_784_000 picoseconds.
Weight::from_parts(71_225_354, 6196)
// Minimum execution time: 69_805_000 picoseconds.
Weight::from_parts(73_216_717, 6196)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -91,10 +95,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
fn propose_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `732`
// Measured: `766`
// Estimated: `3642`
// Minimum execution time: 19_008_000 picoseconds.
Weight::from_parts(19_219_000, 3642)
// Minimum execution time: 18_190_000 picoseconds.
Weight::from_parts(18_932_000, 3642)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -106,10 +110,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 accept_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `878`
// Measured: `912`
// Estimated: `3642`
// Minimum execution time: 35_457_000 picoseconds.
Weight::from_parts(36_088_000, 3642)
// Minimum execution time: 35_035_000 picoseconds.
Weight::from_parts(35_975_000, 3642)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -121,10 +125,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 unassign_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `878`
// Measured: `912`
// Estimated: `3642`
// Minimum execution time: 38_244_000 picoseconds.
Weight::from_parts(38_611_000, 3642)
// Minimum execution time: 37_636_000 picoseconds.
Weight::from_parts(38_610_000, 3642)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -134,10 +138,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
fn award_child_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `775`
// Measured: `809`
// Estimated: `3642`
// Minimum execution time: 22_762_000 picoseconds.
Weight::from_parts(23_249_000, 3642)
// Minimum execution time: 22_457_000 picoseconds.
Weight::from_parts(23_691_000, 3642)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -151,10 +155,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn claim_child_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `648`
// Measured: `682`
// Estimated: `8799`
// Minimum execution time: 112_019_000 picoseconds.
Weight::from_parts(113_190_000, 8799)
// Minimum execution time: 118_272_000 picoseconds.
Weight::from_parts(121_646_000, 8799)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -172,10 +176,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_child_bounty_added() -> Weight {
// Proof Size summary in bytes:
// Measured: `978`
// Measured: `1012`
// Estimated: `6196`
// Minimum execution time: 72_477_000 picoseconds.
Weight::from_parts(73_573_000, 6196)
// Minimum execution time: 75_717_000 picoseconds.
Weight::from_parts(77_837_000, 6196)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -193,10 +197,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_child_bounty_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `1165`
// Measured: `1199`
// Estimated: `8799`
// Minimum execution time: 91_049_000 picoseconds.
Weight::from_parts(91_874_000, 8799)
// Minimum execution time: 94_215_000 picoseconds.
Weight::from_parts(97_017_000, 8799)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -219,10 +223,10 @@ impl WeightInfo for () {
/// The range of component `d` is `[0, 300]`.
fn add_child_bounty(_d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `678`
// Measured: `712`
// Estimated: `6196`
// Minimum execution time: 69_784_000 picoseconds.
Weight::from_parts(71_225_354, 6196)
// Minimum execution time: 69_805_000 picoseconds.
Weight::from_parts(73_216_717, 6196)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -234,10 +238,10 @@ impl WeightInfo for () {
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
fn propose_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `732`
// Measured: `766`
// Estimated: `3642`
// Minimum execution time: 19_008_000 picoseconds.
Weight::from_parts(19_219_000, 3642)
// Minimum execution time: 18_190_000 picoseconds.
Weight::from_parts(18_932_000, 3642)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -249,10 +253,10 @@ impl WeightInfo for () {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn accept_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `878`
// Measured: `912`
// Estimated: `3642`
// Minimum execution time: 35_457_000 picoseconds.
Weight::from_parts(36_088_000, 3642)
// Minimum execution time: 35_035_000 picoseconds.
Weight::from_parts(35_975_000, 3642)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -264,10 +268,10 @@ impl WeightInfo for () {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn unassign_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `878`
// Measured: `912`
// Estimated: `3642`
// Minimum execution time: 38_244_000 picoseconds.
Weight::from_parts(38_611_000, 3642)
// Minimum execution time: 37_636_000 picoseconds.
Weight::from_parts(38_610_000, 3642)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -277,10 +281,10 @@ impl WeightInfo for () {
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
fn award_child_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `775`
// Measured: `809`
// Estimated: `3642`
// Minimum execution time: 22_762_000 picoseconds.
Weight::from_parts(23_249_000, 3642)
// Minimum execution time: 22_457_000 picoseconds.
Weight::from_parts(23_691_000, 3642)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -294,10 +298,10 @@ impl WeightInfo for () {
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn claim_child_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `648`
// Measured: `682`
// Estimated: `8799`
// Minimum execution time: 112_019_000 picoseconds.
Weight::from_parts(113_190_000, 8799)
// Minimum execution time: 118_272_000 picoseconds.
Weight::from_parts(121_646_000, 8799)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -315,10 +319,10 @@ impl WeightInfo for () {
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_child_bounty_added() -> Weight {
// Proof Size summary in bytes:
// Measured: `978`
// Measured: `1012`
// Estimated: `6196`
// Minimum execution time: 72_477_000 picoseconds.
Weight::from_parts(73_573_000, 6196)
// Minimum execution time: 75_717_000 picoseconds.
Weight::from_parts(77_837_000, 6196)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -336,10 +340,10 @@ impl WeightInfo for () {
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_child_bounty_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `1165`
// Measured: `1199`
// Estimated: `8799`
// Minimum execution time: 91_049_000 picoseconds.
Weight::from_parts(91_874_000, 8799)
// Minimum execution time: 94_215_000 picoseconds.
Weight::from_parts(97_017_000, 8799)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}