[benchmarks] pr with weights (#1664) (#1694)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
This commit is contained in:
Squirrel
2022-09-28 17:39:06 +01:00
committed by GitHub
parent 2c4103d8be
commit facb0891db
39 changed files with 892 additions and 718 deletions
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-08-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
@@ -34,13 +34,13 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/assets/westmint/src/weights
// --output=./parachains/runtimes/assets/westmint/src/weights/pallet_proxy.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
use frame_support::{traits::Get, weights::Weight};
use frame_support::{traits::Get, weights::{Weight}};
use sp_std::marker::PhantomData;
/// Weight functions for `pallet_proxy`.
@@ -49,9 +49,9 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:0)
/// The range of component `p` is `[1, 31]`.
fn proxy(p: u32, ) -> Weight {
Weight::from_ref_time(18_084_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(83_000 as u64).saturating_mul(p as u64))
Weight::from_ref_time(23_821_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(39_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:0)
@@ -60,11 +60,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(35_619_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(a as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(p as u64))
Weight::from_ref_time(42_022_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(126_000 as u64).saturating_mul(a as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(64_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -73,11 +73,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(24_774_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(190_000 as u64).saturating_mul(a as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(33_000 as u64).saturating_mul(p as u64))
Weight::from_ref_time(29_106_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(137_000 as u64).saturating_mul(a as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -86,11 +86,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(25_855_000 as u64)
Weight::from_ref_time(29_072_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(160_000 as u64).saturating_mul(a as u64))
.saturating_add(Weight::from_ref_time(134_000 as u64).saturating_mul(a as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(15_000 as u64).saturating_mul(p as u64))
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -100,38 +100,38 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn announce(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(32_874_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(a as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(p as u64))
Weight::from_ref_time(37_840_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(134_000 as u64).saturating_mul(a as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(71_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn add_proxy(p: u32, ) -> Weight {
Weight::from_ref_time(28_312_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(p as u64))
Weight::from_ref_time(31_828_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight {
Weight::from_ref_time(28_197_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(121_000 as u64).saturating_mul(p as u64))
Weight::from_ref_time(32_104_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
Weight::from_ref_time(23_659_000 as u64)
// Standard Error: 8_000
.saturating_add(Weight::from_ref_time(106_000 as u64).saturating_mul(p as u64))
Weight::from_ref_time(27_439_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(49_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -139,18 +139,18 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn create_pure(p: u32, ) -> Weight {
Weight::from_ref_time(31_575_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(35_000 as u64).saturating_mul(p as u64))
Weight::from_ref_time(34_203_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(19_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
Weight::from_ref_time(24_640_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(p as u64))
Weight::from_ref_time(28_598_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}