Backport weights from 9360 (#2038)

* [benchmarks] pr with weights (#2026)

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

* [benchmarks] pr with weights Collectives (#2025)

* [benchmarks] pr with weights

* provide veto method for trait

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: muharem <ismailov.m.h@gmail.com>

* [benchmarks] pr with weights (#2027)

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

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: muharem <ismailov.m.h@gmail.com>
This commit is contained in:
Egor_P
2022-12-29 11:54:45 +01:00
committed by GitHub
parent b0e74fc30f
commit cb87753ec7
70 changed files with 2531 additions and 2536 deletions
@@ -17,15 +17,15 @@
//! 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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-rococo-dev"), DB CACHE: 1024
// Executed Command:
// ./artifacts/polkadot-parachain
// benchmark
// pallet
// --chain=collectives-polkadot-dev
// --chain=bridge-hub-rococo-dev
// --execution=wasm
// --wasm-execution=compiled
// --pallet=pallet_utility
@@ -34,7 +34,7 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights/pallet_utility.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -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: 13_238 nanoseconds.
Weight::from_ref_time(15_145_125 as u64)
// Standard Error: 2_535
.saturating_add(Weight::from_ref_time(3_962_627 as u64).saturating_mul(c as u64))
// Minimum execution time: 12_012 nanoseconds.
Weight::from_ref_time(23_285_911)
// Standard Error: 2_576
.saturating_add(Weight::from_ref_time(3_535_162).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Minimum execution time: 6_888 nanoseconds.
Weight::from_ref_time(7_176_000 as u64)
// Minimum execution time: 6_534 nanoseconds.
Weight::from_ref_time(6_729_000)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Minimum execution time: 13_696 nanoseconds.
Weight::from_ref_time(18_030_261 as u64)
// Standard Error: 2_621
.saturating_add(Weight::from_ref_time(4_096_976 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_892 nanoseconds.
Weight::from_ref_time(14_934_381)
// Standard Error: 2_702
.saturating_add(Weight::from_ref_time(3_736_152).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 15_188 nanoseconds.
Weight::from_ref_time(15_682_000 as u64)
// Minimum execution time: 14_082 nanoseconds.
Weight::from_ref_time(14_286_000)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// Minimum execution time: 13_264 nanoseconds.
Weight::from_ref_time(23_406_948 as u64)
// Standard Error: 2_736
.saturating_add(Weight::from_ref_time(3_949_653 as u64).saturating_mul(c as u64))
// Minimum execution time: 12_445 nanoseconds.
Weight::from_ref_time(19_975_100)
// Standard Error: 2_591
.saturating_add(Weight::from_ref_time(3_535_771).saturating_mul(c.into()))
}
}