".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
+63 -59
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_core_fellowship
//!
//! 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_core_fellowship
// --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_core_fellowship.
pub trait WeightInfo {
@@ -69,8 +73,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 10_390_000 picoseconds.
Weight::from_parts(10_847_000, 0)
// Minimum execution time: 9_454_000 picoseconds.
Weight::from_parts(9_804_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: CoreFellowship Member (r:1 w:1)
@@ -87,10 +91,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn bump_offboard() -> Weight {
// Proof Size summary in bytes:
// Measured: `16854`
// Measured: `16887`
// Estimated: `19894`
// Minimum execution time: 61_737_000 picoseconds.
Weight::from_parts(62_207_000, 19894)
// Minimum execution time: 58_489_000 picoseconds.
Weight::from_parts(60_202_000, 19894)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -108,10 +112,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn bump_demote() -> Weight {
// Proof Size summary in bytes:
// Measured: `16964`
// Measured: `16997`
// Estimated: `19894`
// Minimum execution time: 64_226_000 picoseconds.
Weight::from_parts(64_678_000, 19894)
// Minimum execution time: 60_605_000 picoseconds.
Weight::from_parts(63_957_000, 19894)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -121,10 +125,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: CoreFellowship Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn set_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `355`
// Measured: `388`
// Estimated: `3514`
// Minimum execution time: 18_977_000 picoseconds.
Weight::from_parts(19_157_000, 3514)
// Minimum execution time: 17_816_000 picoseconds.
Weight::from_parts(18_524_000, 3514)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -140,10 +144,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: RankedCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
fn induct() -> Weight {
// Proof Size summary in bytes:
// Measured: `113`
// Measured: `146`
// Estimated: `3514`
// Minimum execution time: 28_633_000 picoseconds.
Weight::from_parts(29_074_000, 3514)
// Minimum execution time: 27_249_000 picoseconds.
Weight::from_parts(28_049_000, 3514)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -163,10 +167,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: RankedCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
fn promote() -> Weight {
// Proof Size summary in bytes:
// Measured: `16832`
// Measured: `16865`
// Estimated: `19894`
// Minimum execution time: 59_008_000 picoseconds.
Weight::from_parts(59_690_000, 19894)
// Minimum execution time: 56_642_000 picoseconds.
Weight::from_parts(59_353_000, 19894)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -178,10 +182,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn offboard() -> Weight {
// Proof Size summary in bytes:
// Measured: `326`
// Measured: `359`
// Estimated: `3514`
// Minimum execution time: 18_892_000 picoseconds.
Weight::from_parts(19_095_000, 3514)
// Minimum execution time: 17_459_000 picoseconds.
Weight::from_parts(18_033_000, 3514)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -191,10 +195,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: RankedCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
fn import() -> Weight {
// Proof Size summary in bytes:
// Measured: `280`
// Measured: `313`
// Estimated: `3514`
// Minimum execution time: 18_107_000 picoseconds.
Weight::from_parts(18_371_000, 3514)
// Minimum execution time: 16_728_000 picoseconds.
Weight::from_parts(17_263_000, 3514)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -206,10 +210,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `16810`
// Measured: `16843`
// Estimated: `19894`
// Minimum execution time: 43_243_000 picoseconds.
Weight::from_parts(43_965_000, 19894)
// Minimum execution time: 41_487_000 picoseconds.
Weight::from_parts(43_459_000, 19894)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -221,8 +225,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `79`
// Estimated: `19894`
// Minimum execution time: 27_881_000 picoseconds.
Weight::from_parts(28_208_000, 19894)
// Minimum execution time: 26_033_000 picoseconds.
Weight::from_parts(26_612_000, 19894)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -236,8 +240,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 10_390_000 picoseconds.
Weight::from_parts(10_847_000, 0)
// Minimum execution time: 9_454_000 picoseconds.
Weight::from_parts(9_804_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: CoreFellowship Member (r:1 w:1)
@@ -254,10 +258,10 @@ impl WeightInfo for () {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn bump_offboard() -> Weight {
// Proof Size summary in bytes:
// Measured: `16854`
// Measured: `16887`
// Estimated: `19894`
// Minimum execution time: 61_737_000 picoseconds.
Weight::from_parts(62_207_000, 19894)
// Minimum execution time: 58_489_000 picoseconds.
Weight::from_parts(60_202_000, 19894)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -275,10 +279,10 @@ impl WeightInfo for () {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn bump_demote() -> Weight {
// Proof Size summary in bytes:
// Measured: `16964`
// Measured: `16997`
// Estimated: `19894`
// Minimum execution time: 64_226_000 picoseconds.
Weight::from_parts(64_678_000, 19894)
// Minimum execution time: 60_605_000 picoseconds.
Weight::from_parts(63_957_000, 19894)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -288,10 +292,10 @@ impl WeightInfo for () {
/// Proof: CoreFellowship Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn set_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `355`
// Measured: `388`
// Estimated: `3514`
// Minimum execution time: 18_977_000 picoseconds.
Weight::from_parts(19_157_000, 3514)
// Minimum execution time: 17_816_000 picoseconds.
Weight::from_parts(18_524_000, 3514)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -307,10 +311,10 @@ impl WeightInfo for () {
/// Proof: RankedCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
fn induct() -> Weight {
// Proof Size summary in bytes:
// Measured: `113`
// Measured: `146`
// Estimated: `3514`
// Minimum execution time: 28_633_000 picoseconds.
Weight::from_parts(29_074_000, 3514)
// Minimum execution time: 27_249_000 picoseconds.
Weight::from_parts(28_049_000, 3514)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -330,10 +334,10 @@ impl WeightInfo for () {
/// Proof: RankedCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
fn promote() -> Weight {
// Proof Size summary in bytes:
// Measured: `16832`
// Measured: `16865`
// Estimated: `19894`
// Minimum execution time: 59_008_000 picoseconds.
Weight::from_parts(59_690_000, 19894)
// Minimum execution time: 56_642_000 picoseconds.
Weight::from_parts(59_353_000, 19894)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -345,10 +349,10 @@ impl WeightInfo for () {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn offboard() -> Weight {
// Proof Size summary in bytes:
// Measured: `326`
// Measured: `359`
// Estimated: `3514`
// Minimum execution time: 18_892_000 picoseconds.
Weight::from_parts(19_095_000, 3514)
// Minimum execution time: 17_459_000 picoseconds.
Weight::from_parts(18_033_000, 3514)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -358,10 +362,10 @@ impl WeightInfo for () {
/// Proof: RankedCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
fn import() -> Weight {
// Proof Size summary in bytes:
// Measured: `280`
// Measured: `313`
// Estimated: `3514`
// Minimum execution time: 18_107_000 picoseconds.
Weight::from_parts(18_371_000, 3514)
// Minimum execution time: 16_728_000 picoseconds.
Weight::from_parts(17_263_000, 3514)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -373,10 +377,10 @@ impl WeightInfo for () {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `16810`
// Measured: `16843`
// Estimated: `19894`
// Minimum execution time: 43_243_000 picoseconds.
Weight::from_parts(43_965_000, 19894)
// Minimum execution time: 41_487_000 picoseconds.
Weight::from_parts(43_459_000, 19894)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -388,8 +392,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `79`
// Estimated: `19894`
// Minimum execution time: 27_881_000 picoseconds.
Weight::from_parts(28_208_000, 19894)
// Minimum execution time: 26_033_000 picoseconds.
Weight::from_parts(26_612_000, 19894)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}