[Backport] weights from v9320 release branch (#1890)

* [benchmarks] pr with weights (#1857)

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

* [benchmarks] Update weights for statemine/t (#1859)

* [benchmarks] pr with weights

* Update parachains/runtimes/assets/westmint/src/weights/pallet_uniques.rs

* Update parachains/runtimes/assets/westmint/src/weights/pallet_assets.rs

* Update parachains/runtimes/assets/statemine/src/weights/pallet_assets.rs

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Squirrel <gilescope@gmail.com>

* fix weights for destroy

Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Squirrel <gilescope@gmail.com>
Co-authored-by: parity-processbot <>
Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com>
This commit is contained in:
Egor_P
2022-11-21 15:06:32 +01:00
committed by GitHub
parent 82fd8d1ae3
commit 693440673f
45 changed files with 1282 additions and 978 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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-11-10, 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("statemint-dev"), DB CACHE: 1024
@@ -40,7 +40,7 @@
#![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,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 {
Weight::from_ref_time(21_360_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(3_860_000 as u64).saturating_mul(c as u64))
// 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))
}
fn as_derivative() -> Weight {
Weight::from_ref_time(6_860_000 as u64)
// Minimum execution time: 7_477 nanoseconds.
Weight::from_ref_time(7_640_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
Weight::from_ref_time(14_622_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(4_028_000 as u64).saturating_mul(c as u64))
// 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))
}
fn dispatch_as() -> Weight {
Weight::from_ref_time(15_303_000 as u64)
// Minimum execution time: 16_571 nanoseconds.
Weight::from_ref_time(16_991_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
Weight::from_ref_time(19_985_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(3_859_000 as u64).saturating_mul(c as u64))
// 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))
}
}