[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("statemine-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_935 nanoseconds.
Weight::from_ref_time(22_534_691 as u64)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(753 as u64).saturating_mul(z as u64))
// Minimum execution time: 21_436 nanoseconds.
Weight::from_ref_time(22_166_472 as u64)
// Standard Error: 4
.saturating_add(Weight::from_ref_time(578 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: 53_456 nanoseconds.
Weight::from_ref_time(40_947_583 as u64)
// Standard Error: 645
.saturating_add(Weight::from_ref_time(132_179 as u64).saturating_mul(s as u64))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_739 as u64).saturating_mul(z as u64))
// Minimum execution time: 52_659 nanoseconds.
Weight::from_ref_time(40_456_071 as u64)
// Standard Error: 738
.saturating_add(Weight::from_ref_time(132_671 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_582 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: 42_082 nanoseconds.
Weight::from_ref_time(30_344_443 as u64)
// Standard Error: 940
.saturating_add(Weight::from_ref_time(127_085 as u64).saturating_mul(s as u64))
// Standard Error: 9
.saturating_add(Weight::from_ref_time(1_749 as u64).saturating_mul(z as u64))
// Minimum execution time: 42_326 nanoseconds.
Weight::from_ref_time(30_715_930 as u64)
// Standard Error: 767
.saturating_add(Weight::from_ref_time(124_470 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_531 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_962 nanoseconds.
Weight::from_ref_time(43_137_668 as u64)
// Standard Error: 903
.saturating_add(Weight::from_ref_time(156_033 as u64).saturating_mul(s as u64))
// Standard Error: 8
.saturating_add(Weight::from_ref_time(1_766 as u64).saturating_mul(z as u64))
// Minimum execution time: 55_712 nanoseconds.
Weight::from_ref_time(43_600_397 as u64)
// Standard Error: 1_078
.saturating_add(Weight::from_ref_time(144_628 as u64).saturating_mul(s as u64))
// Standard Error: 10
.saturating_add(Weight::from_ref_time(1_611 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: 36_128 nanoseconds.
Weight::from_ref_time(38_850_402 as u64)
// Standard Error: 1_181
.saturating_add(Weight::from_ref_time(136_670 as u64).saturating_mul(s as u64))
// Minimum execution time: 36_601 nanoseconds.
Weight::from_ref_time(38_877_428 as u64)
// Standard Error: 966
.saturating_add(Weight::from_ref_time(132_261 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: 27_335 nanoseconds.
Weight::from_ref_time(28_564_934 as u64)
// Standard Error: 685
.saturating_add(Weight::from_ref_time(137_596 as u64).saturating_mul(s as u64))
// Minimum execution time: 26_601 nanoseconds.
Weight::from_ref_time(28_402_143 as u64)
// Standard Error: 1_582
.saturating_add(Weight::from_ref_time(135_129 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: 36_794 nanoseconds.
Weight::from_ref_time(39_389_020 as u64)
// Standard Error: 905
.saturating_add(Weight::from_ref_time(140_646 as u64).saturating_mul(s as u64))
// Minimum execution time: 36_554 nanoseconds.
Weight::from_ref_time(39_004_347 as u64)
// Standard Error: 1_028
.saturating_add(Weight::from_ref_time(140_388 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))
}