[benchmarks] pr with weights (#1946) (#1971)

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

Co-authored-by: Egor_P <egor@parity.io>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
This commit is contained in:
Squirrel
2022-12-08 12:38:58 +00:00
committed by GitHub
parent 5401c47113
commit 97bc16ba7c
39 changed files with 1042 additions and 1010 deletions
@@ -17,8 +17,8 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
// Executed Command:
@@ -49,10 +49,10 @@ 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 {
// Minimum execution time: 24_919 nanoseconds.
Weight::from_ref_time(25_952_772 as u64)
// Standard Error: 1_667
.saturating_add(Weight::from_ref_time(42_169 as u64).saturating_mul(p as u64))
// Minimum execution time: 25_254 nanoseconds.
Weight::from_ref_time(26_132_445 as u64)
// Standard Error: 1_743
.saturating_add(Weight::from_ref_time(54_439 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:0)
@@ -61,12 +61,12 @@ 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 {
// Minimum execution time: 45_526 nanoseconds.
Weight::from_ref_time(45_267_546 as u64)
// Standard Error: 1_654
.saturating_add(Weight::from_ref_time(134_289 as u64).saturating_mul(a as u64))
// Standard Error: 1_709
.saturating_add(Weight::from_ref_time(58_610 as u64).saturating_mul(p as u64))
// Minimum execution time: 46_342 nanoseconds.
Weight::from_ref_time(45_725_750 as u64)
// Standard Error: 1_808
.saturating_add(Weight::from_ref_time(138_485 as u64).saturating_mul(a as u64))
// Standard Error: 1_868
.saturating_add(Weight::from_ref_time(61_352 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))
}
@@ -75,12 +75,12 @@ 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 {
// Minimum execution time: 30_950 nanoseconds.
Weight::from_ref_time(31_660_357 as u64)
// Standard Error: 1_259
.saturating_add(Weight::from_ref_time(144_627 as u64).saturating_mul(a as u64))
// Standard Error: 1_301
.saturating_add(Weight::from_ref_time(16_156 as u64).saturating_mul(p as u64))
// Minimum execution time: 31_401 nanoseconds.
Weight::from_ref_time(31_943_493 as u64)
// Standard Error: 1_324
.saturating_add(Weight::from_ref_time(148_204 as u64).saturating_mul(a as u64))
// Standard Error: 1_368
.saturating_add(Weight::from_ref_time(19_983 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))
}
@@ -89,12 +89,12 @@ 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 {
// Minimum execution time: 30_507 nanoseconds.
Weight::from_ref_time(31_325_394 as u64)
// Standard Error: 1_224
.saturating_add(Weight::from_ref_time(147_987 as u64).saturating_mul(a as u64))
// Standard Error: 1_265
.saturating_add(Weight::from_ref_time(20_963 as u64).saturating_mul(p as u64))
// Minimum execution time: 31_010 nanoseconds.
Weight::from_ref_time(31_673_140 as u64)
// Standard Error: 1_377
.saturating_add(Weight::from_ref_time(148_189 as u64).saturating_mul(a as u64))
// Standard Error: 1_423
.saturating_add(Weight::from_ref_time(17_246 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))
}
@@ -104,42 +104,42 @@ 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 {
// Minimum execution time: 40_735 nanoseconds.
Weight::from_ref_time(41_314_178 as u64)
// Standard Error: 1_962
.saturating_add(Weight::from_ref_time(135_806 as u64).saturating_mul(a as u64))
// Standard Error: 2_027
.saturating_add(Weight::from_ref_time(55_852 as u64).saturating_mul(p as u64))
// Minimum execution time: 41_238 nanoseconds.
Weight::from_ref_time(41_151_045 as u64)
// Standard Error: 1_625
.saturating_add(Weight::from_ref_time(138_750 as u64).saturating_mul(a as u64))
// Standard Error: 1_679
.saturating_add(Weight::from_ref_time(72_307 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 {
// Minimum execution time: 33_533 nanoseconds.
Weight::from_ref_time(34_536_253 as u64)
// Standard Error: 2_006
.saturating_add(Weight::from_ref_time(73_863 as u64).saturating_mul(p as u64))
// Minimum execution time: 33_831 nanoseconds.
Weight::from_ref_time(34_804_281 as u64)
// Standard Error: 2_162
.saturating_add(Weight::from_ref_time(71_594 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 {
// Minimum execution time: 33_012 nanoseconds.
Weight::from_ref_time(34_466_236 as u64)
// Standard Error: 2_618
.saturating_add(Weight::from_ref_time(96_381 as u64).saturating_mul(p as u64))
// Minimum execution time: 33_132 nanoseconds.
Weight::from_ref_time(34_841_976 as u64)
// Standard Error: 2_607
.saturating_add(Weight::from_ref_time(86_453 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 {
// Minimum execution time: 28_999 nanoseconds.
Weight::from_ref_time(29_986_905 as u64)
// Standard Error: 1_556
.saturating_add(Weight::from_ref_time(44_105 as u64).saturating_mul(p as u64))
// Minimum execution time: 29_072 nanoseconds.
Weight::from_ref_time(30_153_086 as u64)
// Standard Error: 1_765
.saturating_add(Weight::from_ref_time(40_683 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))
}
@@ -147,18 +147,20 @@ 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 {
// Minimum execution time: 36_380 nanoseconds.
Weight::from_ref_time(37_671_947 as u64)
// Standard Error: 1_750
.saturating_add(Weight::from_ref_time(2_018 as u64).saturating_mul(p as u64))
// Minimum execution time: 36_373 nanoseconds.
Weight::from_ref_time(37_535_652 as u64)
// Standard Error: 1_789
.saturating_add(Weight::from_ref_time(9_374 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 {
// Minimum execution time: 30_336 nanoseconds.
Weight::from_ref_time(32_505_595 as u64)
fn kill_pure(p: u32, ) -> Weight {
// Minimum execution time: 30_320 nanoseconds.
Weight::from_ref_time(31_278_960 as u64)
// Standard Error: 4_198
.saturating_add(Weight::from_ref_time(65_081 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))
}