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_proxy
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-06-18, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2021-07-02, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command:
@@ -44,75 +44,75 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn proxy(p: u32, ) -> Weight {
(24_799_000 as Weight)
(24_786_000 as Weight)
// Standard Error: 1_000
.saturating_add((132_000 as Weight).saturating_mul(p as Weight))
.saturating_add((133_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
fn proxy_announced(a: u32, p: u32, ) -> Weight {
(56_202_000 as Weight)
// Standard Error: 6_000
.saturating_add((502_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 7_000
.saturating_add((68_000 as Weight).saturating_mul(p as Weight))
(55_730_000 as Weight)
// Standard Error: 1_000
.saturating_add((558_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 2_000
.saturating_add((105_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn remove_announcement(a: u32, _p: u32, ) -> Weight {
(37_003_000 as Weight)
(37_947_000 as Weight)
// Standard Error: 1_000
.saturating_add((498_000 as Weight).saturating_mul(a as Weight))
.saturating_add((560_000 as Weight).saturating_mul(a as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn reject_announcement(a: u32, _p: u32, ) -> Weight {
(36_932_000 as Weight)
(37_904_000 as Weight)
// Standard Error: 1_000
.saturating_add((499_000 as Weight).saturating_mul(a as Weight))
.saturating_add((562_000 as Weight).saturating_mul(a as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn announce(a: u32, p: u32, ) -> Weight {
(50_165_000 as Weight)
// Standard Error: 1_000
.saturating_add((499_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000
.saturating_add((118_000 as Weight).saturating_mul(p as Weight))
(51_562_000 as Weight)
// Standard Error: 2_000
.saturating_add((550_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 2_000
.saturating_add((112_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn add_proxy(p: u32, ) -> Weight {
(35_416_000 as Weight)
(36_284_000 as Weight)
// Standard Error: 1_000
.saturating_add((191_000 as Weight).saturating_mul(p as Weight))
.saturating_add((223_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn remove_proxy(p: u32, ) -> Weight {
(35_237_000 as Weight)
(35_792_000 as Weight)
// Standard Error: 2_000
.saturating_add((216_000 as Weight).saturating_mul(p as Weight))
.saturating_add((249_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn remove_proxies(p: u32, ) -> Weight {
(33_872_000 as Weight)
(34_091_000 as Weight)
// Standard Error: 1_000
.saturating_add((134_000 as Weight).saturating_mul(p as Weight))
.saturating_add((136_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn anonymous(p: u32, ) -> Weight {
(47_651_000 as Weight)
(48_824_000 as Weight)
// Standard Error: 1_000
.saturating_add((27_000 as Weight).saturating_mul(p as Weight))
.saturating_add((31_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn kill_anonymous(p: u32, ) -> Weight {
(35_319_000 as Weight)
// Standard Error: 1_000
.saturating_add((137_000 as Weight).saturating_mul(p as Weight))
(35_989_000 as Weight)
// Standard Error: 0
.saturating_add((134_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}