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:
Shawn Tabrizi
2022-05-23 12:56:42 -04:00
committed by GitHub
parent 8d3f692e0c
commit d9f33dc7e9
43 changed files with 2317 additions and 2169 deletions
+55 -57
View File
@@ -18,12 +18,13 @@
//! Autogenerated weights for pallet_vesting
//!
//! 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-23, 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/vesting/src/weights.rs
// --template=.maintain/frame-weight-template.hbs
// --header=HEADER-APACHE2
// --raw
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -62,22 +60,22 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vest_locked(l: u32, s: u32, ) -> Weight {
(27_037_000 as Weight)
(27_818_000 as Weight)
// Standard Error: 1_000
.saturating_add((88_000 as Weight).saturating_mul(l as Weight))
.saturating_add((81_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 2_000
.saturating_add((69_000 as Weight).saturating_mul(s as Weight))
.saturating_add((74_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
(26_627_000 as Weight)
(27_708_000 as Weight)
// Standard Error: 1_000
.saturating_add((82_000 as Weight).saturating_mul(l as Weight))
.saturating_add((79_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 2_000
.saturating_add((53_000 as Weight).saturating_mul(s as Weight))
.saturating_add((43_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -85,11 +83,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
(26_672_000 as Weight)
(27_854_000 as Weight)
// Standard Error: 1_000
.saturating_add((85_000 as Weight).saturating_mul(l as Weight))
.saturating_add((77_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 2_000
.saturating_add((77_000 as Weight).saturating_mul(s as Weight))
.saturating_add((73_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -97,11 +95,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
(26_682_000 as Weight)
(27_738_000 as Weight)
// Standard Error: 1_000
.saturating_add((74_000 as Weight).saturating_mul(l as Weight))
.saturating_add((71_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 2_000
.saturating_add((51_000 as Weight).saturating_mul(s as Weight))
.saturating_add((42_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -109,11 +107,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: System Account (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vested_transfer(l: u32, s: u32, ) -> Weight {
(42_066_000 as Weight)
(43_640_000 as Weight)
// Standard Error: 1_000
.saturating_add((83_000 as Weight).saturating_mul(l as Weight))
.saturating_add((71_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 3_000
.saturating_add((43_000 as Weight).saturating_mul(s as Weight))
.saturating_add((45_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -121,11 +119,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: System Account (r:2 w:2)
// Storage: Balances Locks (r:1 w:1)
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
(41_672_000 as Weight)
(42_850_000 as Weight)
// Standard Error: 1_000
.saturating_add((84_000 as Weight).saturating_mul(l as Weight))
.saturating_add((81_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 3_000
.saturating_add((46_000 as Weight).saturating_mul(s as Weight))
.saturating_add((48_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
@@ -133,11 +131,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
(27_627_000 as Weight)
// Standard Error: 0
.saturating_add((86_000 as Weight).saturating_mul(l as Weight))
(28_683_000 as Weight)
// Standard Error: 1_000
.saturating_add((81_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 2_000
.saturating_add((68_000 as Weight).saturating_mul(s as Weight))
.saturating_add((63_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -145,11 +143,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
(27_143_000 as Weight)
// Standard Error: 0
.saturating_add((88_000 as Weight).saturating_mul(l as Weight))
(28_510_000 as Weight)
// Standard Error: 1_000
.saturating_add((72_000 as Weight).saturating_mul(s as Weight))
.saturating_add((77_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 2_000
.saturating_add((65_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -160,22 +158,22 @@ impl WeightInfo for () {
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vest_locked(l: u32, s: u32, ) -> Weight {
(27_037_000 as Weight)
(27_818_000 as Weight)
// Standard Error: 1_000
.saturating_add((88_000 as Weight).saturating_mul(l as Weight))
.saturating_add((81_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 2_000
.saturating_add((69_000 as Weight).saturating_mul(s as Weight))
.saturating_add((74_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
(26_627_000 as Weight)
(27_708_000 as Weight)
// Standard Error: 1_000
.saturating_add((82_000 as Weight).saturating_mul(l as Weight))
.saturating_add((79_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 2_000
.saturating_add((53_000 as Weight).saturating_mul(s as Weight))
.saturating_add((43_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -183,11 +181,11 @@ impl WeightInfo for () {
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
(26_672_000 as Weight)
(27_854_000 as Weight)
// Standard Error: 1_000
.saturating_add((85_000 as Weight).saturating_mul(l as Weight))
.saturating_add((77_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 2_000
.saturating_add((77_000 as Weight).saturating_mul(s as Weight))
.saturating_add((73_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
@@ -195,11 +193,11 @@ impl WeightInfo for () {
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
(26_682_000 as Weight)
(27_738_000 as Weight)
// Standard Error: 1_000
.saturating_add((74_000 as Weight).saturating_mul(l as Weight))
.saturating_add((71_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 2_000
.saturating_add((51_000 as Weight).saturating_mul(s as Weight))
.saturating_add((42_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
@@ -207,11 +205,11 @@ impl WeightInfo for () {
// Storage: System Account (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vested_transfer(l: u32, s: u32, ) -> Weight {
(42_066_000 as Weight)
(43_640_000 as Weight)
// Standard Error: 1_000
.saturating_add((83_000 as Weight).saturating_mul(l as Weight))
.saturating_add((71_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 3_000
.saturating_add((43_000 as Weight).saturating_mul(s as Weight))
.saturating_add((45_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
@@ -219,11 +217,11 @@ impl WeightInfo for () {
// Storage: System Account (r:2 w:2)
// Storage: Balances Locks (r:1 w:1)
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
(41_672_000 as Weight)
(42_850_000 as Weight)
// Standard Error: 1_000
.saturating_add((84_000 as Weight).saturating_mul(l as Weight))
.saturating_add((81_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 3_000
.saturating_add((46_000 as Weight).saturating_mul(s as Weight))
.saturating_add((48_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
@@ -231,11 +229,11 @@ impl WeightInfo for () {
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
(27_627_000 as Weight)
// Standard Error: 0
.saturating_add((86_000 as Weight).saturating_mul(l as Weight))
(28_683_000 as Weight)
// Standard Error: 1_000
.saturating_add((81_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 2_000
.saturating_add((68_000 as Weight).saturating_mul(s as Weight))
.saturating_add((63_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
@@ -243,11 +241,11 @@ impl WeightInfo for () {
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
(27_143_000 as Weight)
// Standard Error: 0
.saturating_add((88_000 as Weight).saturating_mul(l as Weight))
(28_510_000 as Weight)
// Standard Error: 1_000
.saturating_add((72_000 as Weight).saturating_mul(s as Weight))
.saturating_add((77_000 as Weight).saturating_mul(l as Weight))
// Standard Error: 2_000
.saturating_add((65_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}