mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 20:31:13 +00:00
Create Script to Run All Benchmarks (#11493)
* Create run_all_benchmarks.sh * Update run_all_benchmarks.sh * Update run_all_benchmarks.sh * Review fixes Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update scripts/run_all_benchmarks.sh Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * typo Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * add default for $1 * Typo Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update run_all_benchmarks.sh * new weights on benchmarking machine * prefer `--chain=dev` * fix compile * fix command * fmt * dont use square brackets * Extend doc Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove +nightly Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add error file an run execute everything optimistically Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -18,12 +18,13 @@
|
||||
//! Autogenerated weights for pallet_membership
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-01-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-05-22, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
@@ -31,11 +32,8 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --output=./frame/membership/src/weights.rs
|
||||
// --template=.maintain/frame-weight-template.hbs
|
||||
// --header=HEADER-APACHE2
|
||||
// --raw
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -63,9 +61,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
(14_884_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((95_000 as Weight).saturating_mul(m as Weight))
|
||||
(15_572_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((48_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -75,9 +73,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
(17_612_000 as Weight)
|
||||
(18_090_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((86_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((43_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -87,9 +85,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
(17_580_000 as Weight)
|
||||
(18_199_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((98_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((54_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -99,9 +97,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
(17_610_000 as Weight)
|
||||
(18_238_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((199_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((158_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -111,9 +109,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
(18_208_000 as Weight)
|
||||
(18_911_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((96_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((53_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
@@ -121,18 +119,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn set_prime(m: u32, ) -> Weight {
|
||||
(4_661_000 as Weight)
|
||||
(4_843_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((70_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((27_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
(1_574_000 as Weight)
|
||||
(1_662_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((2_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
}
|
||||
@@ -144,9 +142,9 @@ impl WeightInfo for () {
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
(14_884_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((95_000 as Weight).saturating_mul(m as Weight))
|
||||
(15_572_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((48_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -156,9 +154,9 @@ impl WeightInfo for () {
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
(17_612_000 as Weight)
|
||||
(18_090_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((86_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((43_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -168,9 +166,9 @@ impl WeightInfo for () {
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
(17_580_000 as Weight)
|
||||
(18_199_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((98_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((54_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -180,9 +178,9 @@ impl WeightInfo for () {
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
(17_610_000 as Weight)
|
||||
(18_238_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((199_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((158_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -192,9 +190,9 @@ impl WeightInfo for () {
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
(18_208_000 as Weight)
|
||||
(18_911_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((96_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((53_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
@@ -202,18 +200,18 @@ impl WeightInfo for () {
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn set_prime(m: u32, ) -> Weight {
|
||||
(4_661_000 as Weight)
|
||||
(4_843_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((70_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((27_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
(1_574_000 as Weight)
|
||||
(1_662_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((2_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user