[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_multisig`
//!
//! 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:
@@ -48,22 +48,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
// Minimum execution time: 21_670 nanoseconds.
Weight::from_ref_time(22_147_334 as u64)
// Minimum execution time: 22_105 nanoseconds.
Weight::from_ref_time(22_667_604 as u64)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(572 as u64).saturating_mul(z as u64))
.saturating_add(Weight::from_ref_time(727 as u64).saturating_mul(z as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 52_507 nanoseconds.
Weight::from_ref_time(40_653_130 as u64)
// Standard Error: 674
.saturating_add(Weight::from_ref_time(131_741 as u64).saturating_mul(s as u64))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_565 as u64).saturating_mul(z as u64))
// Minimum execution time: 53_206 nanoseconds.
Weight::from_ref_time(41_496_665 as u64)
// Standard Error: 777
.saturating_add(Weight::from_ref_time(130_503 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_722 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -71,12 +71,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 41_589 nanoseconds.
Weight::from_ref_time(29_959_953 as u64)
// Standard Error: 607
.saturating_add(Weight::from_ref_time(128_804 as u64).saturating_mul(s as u64))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_569 as u64).saturating_mul(z as u64))
// Minimum execution time: 41_050 nanoseconds.
Weight::from_ref_time(30_029_708 as u64)
// Standard Error: 947
.saturating_add(Weight::from_ref_time(127_849 as u64).saturating_mul(s as u64))
// Standard Error: 9
.saturating_add(Weight::from_ref_time(1_775 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -85,12 +85,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 55_670 nanoseconds.
Weight::from_ref_time(42_914_728 as u64)
// Standard Error: 855
.saturating_add(Weight::from_ref_time(151_748 as u64).saturating_mul(s as u64))
// Standard Error: 8
.saturating_add(Weight::from_ref_time(1_598 as u64).saturating_mul(z as u64))
// Minimum execution time: 56_307 nanoseconds.
Weight::from_ref_time(44_210_475 as u64)
// Standard Error: 1_002
.saturating_add(Weight::from_ref_time(151_585 as u64).saturating_mul(s as u64))
// Standard Error: 9
.saturating_add(Weight::from_ref_time(1_744 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -98,30 +98,30 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
// Minimum execution time: 35_787 nanoseconds.
Weight::from_ref_time(38_980_944 as u64)
// Standard Error: 1_354
.saturating_add(Weight::from_ref_time(121_327 as u64).saturating_mul(s as u64))
// Minimum execution time: 36_614 nanoseconds.
Weight::from_ref_time(39_531_404 as u64)
// Standard Error: 1_230
.saturating_add(Weight::from_ref_time(132_204 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Minimum execution time: 26_040 nanoseconds.
Weight::from_ref_time(28_356_508 as u64)
// Standard Error: 1_123
.saturating_add(Weight::from_ref_time(117_232 as u64).saturating_mul(s as u64))
// Minimum execution time: 27_021 nanoseconds.
Weight::from_ref_time(28_493_039 as u64)
// Standard Error: 2_496
.saturating_add(Weight::from_ref_time(146_465 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
// Minimum execution time: 35_820 nanoseconds.
Weight::from_ref_time(39_110_888 as u64)
// Standard Error: 1_519
.saturating_add(Weight::from_ref_time(124_864 as u64).saturating_mul(s as u64))
// Minimum execution time: 38_094 nanoseconds.
Weight::from_ref_time(40_324_953 as u64)
// Standard Error: 1_160
.saturating_add(Weight::from_ref_time(130_714 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}