mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 03:27:58 +00:00
New Weights for All Pallets (#9148)
* Create run_benchmarks.sh * Update run_benchmarks.sh * new weights * Delete run_benchmarks.sh * wrong folder * remove grandpa weight * Update weights.rs
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
//! Autogenerated weights for pallet_membership
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-04-17, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2021-06-19, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128
|
||||
|
||||
// Executed Command:
|
||||
@@ -57,49 +57,49 @@ pub trait WeightInfo {
|
||||
pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
(25_448_000 as Weight)
|
||||
(24_309_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((257_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((147_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 {
|
||||
(31_317_000 as Weight)
|
||||
(29_722_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((215_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((119_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 {
|
||||
(31_208_000 as Weight)
|
||||
(30_239_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((229_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((132_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 {
|
||||
(31_673_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((455_000 as Weight).saturating_mul(m as Weight))
|
||||
(31_302_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((289_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 {
|
||||
(33_499_000 as Weight)
|
||||
(31_967_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((226_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((130_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 {
|
||||
(8_865_000 as Weight)
|
||||
(8_083_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((124_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((91_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 {
|
||||
(3_397_000 as Weight)
|
||||
(3_360_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
@@ -109,49 +109,49 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// For backwards compatibility and tests
|
||||
impl WeightInfo for () {
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
(25_448_000 as Weight)
|
||||
(24_309_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((257_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((147_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
(31_317_000 as Weight)
|
||||
(29_722_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((215_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((119_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
(31_208_000 as Weight)
|
||||
(30_239_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((229_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((132_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
(31_673_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((455_000 as Weight).saturating_mul(m as Weight))
|
||||
(31_302_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((289_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
(33_499_000 as Weight)
|
||||
(31_967_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((226_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((130_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
fn set_prime(m: u32, ) -> Weight {
|
||||
(8_865_000 as Weight)
|
||||
(8_083_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((124_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((91_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
(3_397_000 as Weight)
|
||||
(3_360_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
|
||||
|
||||
Reference in New Issue
Block a user