[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("statemine-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_923 nanoseconds.
Weight::from_ref_time(25_582_559 as u64)
// Standard Error: 2_209
.saturating_add(Weight::from_ref_time(4_196_186 as u64).saturating_mul(c as u64))
// Minimum execution time: 14_290 nanoseconds.
Weight::from_ref_time(24_819_747 as u64)
// Standard Error: 3_513
.saturating_add(Weight::from_ref_time(4_035_324 as u64).saturating_mul(c as u64))
}
fn as_derivative() -> Weight {
// Minimum execution time: 7_883 nanoseconds.
Weight::from_ref_time(8_139_000 as u64)
// Minimum execution time: 7_274 nanoseconds.
Weight::from_ref_time(7_570_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Minimum execution time: 15_086 nanoseconds.
Weight::from_ref_time(23_004_358 as u64)
// Standard Error: 2_018
.saturating_add(Weight::from_ref_time(4_393_585 as u64).saturating_mul(c as u64))
// Minimum execution time: 14_101 nanoseconds.
Weight::from_ref_time(12_255_962 as u64)
// Standard Error: 3_610
.saturating_add(Weight::from_ref_time(4_220_067 as u64).saturating_mul(c as u64))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 16_812 nanoseconds.
Weight::from_ref_time(17_400_000 as u64)
// Minimum execution time: 16_861 nanoseconds.
Weight::from_ref_time(17_241_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// Minimum execution time: 15_006 nanoseconds.
Weight::from_ref_time(23_015_499 as u64)
// Standard Error: 2_227
.saturating_add(Weight::from_ref_time(4_212_089 as u64).saturating_mul(c as u64))
// Minimum execution time: 14_222 nanoseconds.
Weight::from_ref_time(20_149_464 as u64)
// Standard Error: 2_792
.saturating_add(Weight::from_ref_time(4_027_261 as u64).saturating_mul(c as u64))
}
}