[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 24937d180b
commit 5263f269da
39 changed files with 1042 additions and 1010 deletions
@@ -17,8 +17,8 @@
//! Autogenerated weights for `pallet_utility`
//!
//! 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:
@@ -48,31 +48,31 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
/// The range of component `c` is `[0, 1000]`.
fn batch(c: u32, ) -> Weight {
// Minimum execution time: 14_550 nanoseconds.
Weight::from_ref_time(23_311_921 as u64)
// Standard Error: 2_177
.saturating_add(Weight::from_ref_time(4_200_309 as u64).saturating_mul(c as u64))
// Minimum execution time: 14_482 nanoseconds.
Weight::from_ref_time(22_083_290 as u64)
// Standard Error: 2_883
.saturating_add(Weight::from_ref_time(4_280_218 as u64).saturating_mul(c as u64))
}
fn as_derivative() -> Weight {
// Minimum execution time: 7_477 nanoseconds.
Weight::from_ref_time(7_640_000 as u64)
// Minimum execution time: 7_493 nanoseconds.
Weight::from_ref_time(7_829_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Minimum execution time: 14_200 nanoseconds.
Weight::from_ref_time(23_093_825 as u64)
// Standard Error: 1_919
.saturating_add(Weight::from_ref_time(4_366_795 as u64).saturating_mul(c as u64))
// Minimum execution time: 14_676 nanoseconds.
Weight::from_ref_time(45_640_388 as u64)
// Standard Error: 3_350
.saturating_add(Weight::from_ref_time(4_465_566 as u64).saturating_mul(c as u64))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 16_571 nanoseconds.
Weight::from_ref_time(16_991_000 as u64)
// Minimum execution time: 17_032 nanoseconds.
Weight::from_ref_time(17_339_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// Minimum execution time: 14_298 nanoseconds.
Weight::from_ref_time(22_283_690 as u64)
// Standard Error: 1_967
.saturating_add(Weight::from_ref_time(4_210_122 as u64).saturating_mul(c as u64))
// Minimum execution time: 14_471 nanoseconds.
Weight::from_ref_time(17_936_043 as u64)
// Standard Error: 3_039
.saturating_add(Weight::from_ref_time(4_275_692 as u64).saturating_mul(c as u64))
}
}