[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("westmint-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_811 nanoseconds.
Weight::from_ref_time(26_160_356 as u64)
// Standard Error: 1_535
.saturating_add(Weight::from_ref_time(32_491 as u64).saturating_mul(p as u64))
// Minimum execution time: 25_003 nanoseconds.
Weight::from_ref_time(26_074_810 as u64)
// Standard Error: 1_968
.saturating_add(Weight::from_ref_time(56_766 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: 46_188 nanoseconds.
Weight::from_ref_time(46_124_083 as u64)
// Standard Error: 2_557
.saturating_add(Weight::from_ref_time(115_933 as u64).saturating_mul(a as u64))
// Standard Error: 2_642
.saturating_add(Weight::from_ref_time(50_767 as u64).saturating_mul(p as u64))
// Minimum execution time: 46_226 nanoseconds.
Weight::from_ref_time(46_486_708 as u64)
// Standard Error: 2_037
.saturating_add(Weight::from_ref_time(124_323 as u64).saturating_mul(a as u64))
// Standard Error: 2_105
.saturating_add(Weight::from_ref_time(50_322 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_996 nanoseconds.
Weight::from_ref_time(32_098_297 as u64)
// Standard Error: 1_412
.saturating_add(Weight::from_ref_time(130_355 as u64).saturating_mul(a as u64))
// Standard Error: 1_459
.saturating_add(Weight::from_ref_time(13_057 as u64).saturating_mul(p as u64))
// Minimum execution time: 31_063 nanoseconds.
Weight::from_ref_time(31_994_186 as u64)
// Standard Error: 1_352
.saturating_add(Weight::from_ref_time(144_459 as u64).saturating_mul(a as u64))
// Standard Error: 1_396
.saturating_add(Weight::from_ref_time(17_184 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_995 nanoseconds.
Weight::from_ref_time(31_636_761 as u64)
// Standard Error: 1_320
.saturating_add(Weight::from_ref_time(144_129 as u64).saturating_mul(a as u64))
// Standard Error: 1_364
.saturating_add(Weight::from_ref_time(20_108 as u64).saturating_mul(p as u64))
// Minimum execution time: 30_996 nanoseconds.
Weight::from_ref_time(31_553_733 as u64)
// Standard Error: 1_132
.saturating_add(Weight::from_ref_time(152_424 as u64).saturating_mul(a as u64))
// Standard Error: 1_170
.saturating_add(Weight::from_ref_time(21_333 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_938 nanoseconds.
Weight::from_ref_time(41_141_687 as u64)
// Standard Error: 1_803
.saturating_add(Weight::from_ref_time(126_419 as u64).saturating_mul(a as u64))
// Standard Error: 1_863
.saturating_add(Weight::from_ref_time(70_683 as u64).saturating_mul(p as u64))
// Minimum execution time: 41_344 nanoseconds.
Weight::from_ref_time(41_731_569 as u64)
// Standard Error: 1_797
.saturating_add(Weight::from_ref_time(133_823 as u64).saturating_mul(a as u64))
// Standard Error: 1_857
.saturating_add(Weight::from_ref_time(63_405 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_352 nanoseconds.
Weight::from_ref_time(34_336_626 as u64)
// Standard Error: 2_159
.saturating_add(Weight::from_ref_time(80_699 as u64).saturating_mul(p as u64))
// Minimum execution time: 33_944 nanoseconds.
Weight::from_ref_time(35_321_583 as u64)
// Standard Error: 2_268
.saturating_add(Weight::from_ref_time(69_023 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_180 nanoseconds.
Weight::from_ref_time(34_517_547 as u64)
// Standard Error: 2_173
.saturating_add(Weight::from_ref_time(90_736 as u64).saturating_mul(p as u64))
// Minimum execution time: 33_301 nanoseconds.
Weight::from_ref_time(34_802_416 as u64)
// Standard Error: 2_216
.saturating_add(Weight::from_ref_time(90_615 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_964 nanoseconds.
Weight::from_ref_time(30_086_459 as u64)
// Standard Error: 1_793
.saturating_add(Weight::from_ref_time(44_565 as u64).saturating_mul(p as u64))
// Minimum execution time: 29_101 nanoseconds.
Weight::from_ref_time(30_266_070 as u64)
// Standard Error: 1_706
.saturating_add(Weight::from_ref_time(46_622 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,20 +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: 35_769 nanoseconds.
Weight::from_ref_time(37_002_663 as u64)
// Standard Error: 1_588
.saturating_add(Weight::from_ref_time(18_966 as u64).saturating_mul(p as u64))
// Minimum execution time: 36_415 nanoseconds.
Weight::from_ref_time(37_892_332 as u64)
// Standard Error: 1_731
.saturating_add(Weight::from_ref_time(3_928 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_403 nanoseconds.
Weight::from_ref_time(31_394_208 as u64)
// Standard Error: 1_478
.saturating_add(Weight::from_ref_time(44_901 as u64).saturating_mul(p as u64))
// Minimum execution time: 30_494 nanoseconds.
Weight::from_ref_time(31_589_552 as u64)
// Standard Error: 1_757
.saturating_add(Weight::from_ref_time(51_584 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))
}