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 ac28cda2a6
commit f3fd88fae0
70 changed files with 2531 additions and 2536 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-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-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("collectives-polkadot-dev"), DB CACHE: 1024
@@ -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_403 nanoseconds.
Weight::from_ref_time(14_753_591 as u64)
// Standard Error: 1_994
.saturating_add(Weight::from_ref_time(4_081_884 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_673 nanoseconds.
Weight::from_ref_time(20_232_865)
// Standard Error: 2_139
.saturating_add(Weight::from_ref_time(3_634_291).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Minimum execution time: 7_028 nanoseconds.
Weight::from_ref_time(7_337_000 as u64)
// Minimum execution time: 6_465 nanoseconds.
Weight::from_ref_time(6_783_000)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Minimum execution time: 13_753 nanoseconds.
Weight::from_ref_time(17_175_869 as u64)
// Standard Error: 1_857
.saturating_add(Weight::from_ref_time(4_248_665 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_740 nanoseconds.
Weight::from_ref_time(25_924_183)
// Standard Error: 2_899
.saturating_add(Weight::from_ref_time(3_860_781).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 15_834 nanoseconds.
Weight::from_ref_time(16_214_000 as u64)
// Minimum execution time: 14_329 nanoseconds.
Weight::from_ref_time(14_576_000)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// Minimum execution time: 13_445 nanoseconds.
Weight::from_ref_time(14_662_383 as u64)
// Standard Error: 1_944
.saturating_add(Weight::from_ref_time(4_073_473 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_891 nanoseconds.
Weight::from_ref_time(24_417_472)
// Standard Error: 5_719
.saturating_add(Weight::from_ref_time(3_635_818).saturating_mul(c.into()))
}
}