".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
+67 -63
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_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_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_bounties.
pub trait WeightInfo {
@@ -77,10 +81,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `276`
// Estimated: `3593`
// Minimum execution time: 30_793_000 picoseconds.
Weight::from_parts(31_509_544, 3593)
// Standard Error: 168
.saturating_add(Weight::from_parts(2_219, 0).saturating_mul(d.into()))
// Minimum execution time: 29_384_000 picoseconds.
Weight::from_parts(30_820_018, 3593)
// Standard Error: 298
.saturating_add(Weight::from_parts(2_920, 0).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -92,8 +96,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `368`
// Estimated: `3642`
// Minimum execution time: 12_471_000 picoseconds.
Weight::from_parts(12_677_000, 3642)
// Minimum execution time: 10_873_000 picoseconds.
Weight::from_parts(11_421_000, 3642)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -103,8 +107,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `388`
// Estimated: `3642`
// Minimum execution time: 10_560_000 picoseconds.
Weight::from_parts(10_744_000, 3642)
// Minimum execution time: 9_181_000 picoseconds.
Weight::from_parts(9_726_000, 3642)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -116,8 +120,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `564`
// Estimated: `3642`
// Minimum execution time: 30_980_000 picoseconds.
Weight::from_parts(31_354_000, 3642)
// Minimum execution time: 30_257_000 picoseconds.
Weight::from_parts(30_751_000, 3642)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -129,8 +133,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `560`
// Estimated: `3642`
// Minimum execution time: 29_257_000 picoseconds.
Weight::from_parts(29_656_000, 3642)
// Minimum execution time: 27_850_000 picoseconds.
Weight::from_parts(28_821_000, 3642)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -140,10 +144,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
fn award_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `538`
// Measured: `572`
// Estimated: `3642`
// Minimum execution time: 20_662_000 picoseconds.
Weight::from_parts(20_956_000, 3642)
// Minimum execution time: 19_164_000 picoseconds.
Weight::from_parts(20_136_000, 3642)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -157,10 +161,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn claim_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `902`
// Measured: `936`
// Estimated: `8799`
// Minimum execution time: 119_287_000 picoseconds.
Weight::from_parts(121_468_000, 8799)
// Minimum execution time: 120_235_000 picoseconds.
Weight::from_parts(121_673_000, 8799)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -174,10 +178,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_bounty_proposed() -> Weight {
// Proof Size summary in bytes:
// Measured: `582`
// Measured: `616`
// Estimated: `3642`
// Minimum execution time: 37_759_000 picoseconds.
Weight::from_parts(38_185_000, 3642)
// Minimum execution time: 35_713_000 picoseconds.
Weight::from_parts(37_174_000, 3642)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -191,10 +195,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_bounty_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `818`
// Measured: `852`
// Estimated: `6196`
// Minimum execution time: 80_332_000 picoseconds.
Weight::from_parts(81_328_000, 6196)
// Minimum execution time: 81_037_000 picoseconds.
Weight::from_parts(83_294_000, 6196)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -204,8 +208,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `424`
// Estimated: `3642`
// Minimum execution time: 16_301_000 picoseconds.
Weight::from_parts(16_611_000, 3642)
// Minimum execution time: 15_348_000 picoseconds.
Weight::from_parts(15_776_000, 3642)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -220,10 +224,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `4 + b * (297 ±0)`
// Estimated: `1887 + b * (5206 ±0)`
// Minimum execution time: 5_430_000 picoseconds.
Weight::from_parts(4_463_976, 1887)
// Standard Error: 43_695
.saturating_add(Weight::from_parts(39_370_113, 0).saturating_mul(b.into()))
// Minimum execution time: 5_082_000 picoseconds.
Weight::from_parts(5_126_000, 1887)
// Standard Error: 21_949
.saturating_add(Weight::from_parts(42_635_308, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -247,10 +251,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `276`
// Estimated: `3593`
// Minimum execution time: 30_793_000 picoseconds.
Weight::from_parts(31_509_544, 3593)
// Standard Error: 168
.saturating_add(Weight::from_parts(2_219, 0).saturating_mul(d.into()))
// Minimum execution time: 29_384_000 picoseconds.
Weight::from_parts(30_820_018, 3593)
// Standard Error: 298
.saturating_add(Weight::from_parts(2_920, 0).saturating_mul(d.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -262,8 +266,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `368`
// Estimated: `3642`
// Minimum execution time: 12_471_000 picoseconds.
Weight::from_parts(12_677_000, 3642)
// Minimum execution time: 10_873_000 picoseconds.
Weight::from_parts(11_421_000, 3642)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -273,8 +277,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `388`
// Estimated: `3642`
// Minimum execution time: 10_560_000 picoseconds.
Weight::from_parts(10_744_000, 3642)
// Minimum execution time: 9_181_000 picoseconds.
Weight::from_parts(9_726_000, 3642)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -286,8 +290,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `564`
// Estimated: `3642`
// Minimum execution time: 30_980_000 picoseconds.
Weight::from_parts(31_354_000, 3642)
// Minimum execution time: 30_257_000 picoseconds.
Weight::from_parts(30_751_000, 3642)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -299,8 +303,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `560`
// Estimated: `3642`
// Minimum execution time: 29_257_000 picoseconds.
Weight::from_parts(29_656_000, 3642)
// Minimum execution time: 27_850_000 picoseconds.
Weight::from_parts(28_821_000, 3642)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -310,10 +314,10 @@ impl WeightInfo for () {
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
fn award_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `538`
// Measured: `572`
// Estimated: `3642`
// Minimum execution time: 20_662_000 picoseconds.
Weight::from_parts(20_956_000, 3642)
// Minimum execution time: 19_164_000 picoseconds.
Weight::from_parts(20_136_000, 3642)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -327,10 +331,10 @@ impl WeightInfo for () {
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn claim_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `902`
// Measured: `936`
// Estimated: `8799`
// Minimum execution time: 119_287_000 picoseconds.
Weight::from_parts(121_468_000, 8799)
// Minimum execution time: 120_235_000 picoseconds.
Weight::from_parts(121_673_000, 8799)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -344,10 +348,10 @@ impl WeightInfo for () {
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_bounty_proposed() -> Weight {
// Proof Size summary in bytes:
// Measured: `582`
// Measured: `616`
// Estimated: `3642`
// Minimum execution time: 37_759_000 picoseconds.
Weight::from_parts(38_185_000, 3642)
// Minimum execution time: 35_713_000 picoseconds.
Weight::from_parts(37_174_000, 3642)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -361,10 +365,10 @@ impl WeightInfo for () {
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_bounty_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `818`
// Measured: `852`
// Estimated: `6196`
// Minimum execution time: 80_332_000 picoseconds.
Weight::from_parts(81_328_000, 6196)
// Minimum execution time: 81_037_000 picoseconds.
Weight::from_parts(83_294_000, 6196)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -374,8 +378,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `424`
// Estimated: `3642`
// Minimum execution time: 16_301_000 picoseconds.
Weight::from_parts(16_611_000, 3642)
// Minimum execution time: 15_348_000 picoseconds.
Weight::from_parts(15_776_000, 3642)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -390,10 +394,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `4 + b * (297 ±0)`
// Estimated: `1887 + b * (5206 ±0)`
// Minimum execution time: 5_430_000 picoseconds.
Weight::from_parts(4_463_976, 1887)
// Standard Error: 43_695
.saturating_add(Weight::from_parts(39_370_113, 0).saturating_mul(b.into()))
// Minimum execution time: 5_082_000 picoseconds.
Weight::from_parts(5_126_000, 1887)
// Standard Error: 21_949
.saturating_add(Weight::from_parts(42_635_308, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))