[benchmarks] pr with weights (#1664) (#1694)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
This commit is contained in:
Squirrel
2022-09-28 17:39:06 +01:00
committed by GitHub
parent 1b47dada7f
commit c03fd43b11
39 changed files with 892 additions and 718 deletions
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_utility`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-08-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
@@ -34,13 +34,13 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/assets/statemine/src/weights
// --output=./parachains/runtimes/assets/statemine/src/weights/pallet_utility.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
use frame_support::{traits::Get, weights::Weight};
use frame_support::{traits::Get, weights::{Weight}};
use sp_std::marker::PhantomData;
/// Weight functions for `pallet_utility`.
@@ -48,26 +48,26 @@ 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 {
Weight::from_ref_time(22_923_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(3_526_000 as u64).saturating_mul(c as u64))
Weight::from_ref_time(24_677_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(3_837_000 as u64).saturating_mul(c as u64))
}
fn as_derivative() -> Weight {
Weight::from_ref_time(5_220_000 as u64)
Weight::from_ref_time(6_606_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
Weight::from_ref_time(20_953_000 as u64)
Weight::from_ref_time(21_357_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(3_698_000 as u64).saturating_mul(c as u64))
.saturating_add(Weight::from_ref_time(4_002_000 as u64).saturating_mul(c as u64))
}
fn dispatch_as() -> Weight {
Weight::from_ref_time(12_087_000 as u64)
Weight::from_ref_time(14_659_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
Weight::from_ref_time(10_076_000 as u64)
Weight::from_ref_time(20_033_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(3_546_000 as u64).saturating_mul(c as u64))
.saturating_add(Weight::from_ref_time(3_832_000 as u64).saturating_mul(c as u64))
}
}