Update all weights, add run_all_benches.sh script (#3400)

* update all weights

* add run_all_benches.sh
This commit is contained in:
Martin Pugh
2021-07-06 13:12:28 +02:00
committed by GitHub
parent 04ac35e127
commit 5ba0de035e
61 changed files with 1001 additions and 983 deletions
@@ -16,7 +16,7 @@
//! Autogenerated weights for pallet_scheduler
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-06-19, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command:
@@ -44,30 +44,30 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn schedule(s: u32, ) -> Weight {
(28_189_000 as Weight)
(28_202_000 as Weight)
// Standard Error: 0
.saturating_add((42_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn cancel(s: u32, ) -> Weight {
(27_165_000 as Weight)
(27_640_000 as Weight)
// Standard Error: 14_000
.saturating_add((4_332_000 as Weight).saturating_mul(s as Weight))
.saturating_add((5_699_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn schedule_named(s: u32, ) -> Weight {
(33_852_000 as Weight)
(34_298_000 as Weight)
// Standard Error: 1_000
.saturating_add((62_000 as Weight).saturating_mul(s as Weight))
.saturating_add((56_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))
}
fn cancel_named(s: u32, ) -> Weight {
(29_352_000 as Weight)
// Standard Error: 14_000
.saturating_add((4_346_000 as Weight).saturating_mul(s as Weight))
(29_004_000 as Weight)
// Standard Error: 15_000
.saturating_add((5_720_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))
}