mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 00:31:02 +00:00
Update all weights, add run_all_benches.sh script (#3400)
* update all weights * add run_all_benches.sh
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
//! Autogenerated weights for pallet_membership
|
||||
//!
|
||||
//! 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-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,51 +44,49 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
(23_510_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((126_000 as Weight).saturating_mul(m as Weight))
|
||||
(23_736_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((166_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))
|
||||
}
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
(28_576_000 as Weight)
|
||||
(28_609_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((102_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((137_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))
|
||||
}
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
(28_826_000 as Weight)
|
||||
(28_935_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((117_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((150_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))
|
||||
}
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
(29_556_000 as Weight)
|
||||
(29_621_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((271_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((304_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))
|
||||
}
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
(30_300_000 as Weight)
|
||||
(30_393_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((113_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((145_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))
|
||||
}
|
||||
fn set_prime(m: u32, ) -> Weight {
|
||||
(7_436_000 as Weight)
|
||||
(7_534_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((84_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((79_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))
|
||||
}
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
(2_947_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(m as Weight))
|
||||
fn clear_prime(_m: u32, ) -> Weight {
|
||||
(2_755_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user