mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 18:15:48 +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_proxy
|
||||
//!
|
||||
//! 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,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_270_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((130_000 as Weight).saturating_mul(p as Weight))
|
||||
(24_892_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((122_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 {
|
||||
(54_046_000 as Weight)
|
||||
(55_405_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((503_000 as Weight).saturating_mul(a as Weight))
|
||||
.saturating_add((563_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((107_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((106_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 {
|
||||
(36_894_000 as Weight)
|
||||
(37_762_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((489_000 as Weight).saturating_mul(a as Weight))
|
||||
.saturating_add((554_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_533_000 as Weight)
|
||||
(37_826_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((497_000 as Weight).saturating_mul(a as Weight))
|
||||
.saturating_add((554_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 {
|
||||
(49_934_000 as Weight)
|
||||
(51_131_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((495_000 as Weight).saturating_mul(a as Weight))
|
||||
.saturating_add((562_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((111_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((109_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 {
|
||||
(34_641_000 as Weight)
|
||||
(36_114_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((190_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 {
|
||||
(34_496_000 as Weight)
|
||||
(35_456_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((213_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((246_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_022_000 as Weight)
|
||||
(33_748_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((139_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_629_000 as Weight)
|
||||
(48_409_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((33_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 {
|
||||
(34_875_000 as Weight)
|
||||
(35_515_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((135_000 as Weight).saturating_mul(p as Weight))
|
||||
.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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user