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,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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-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: 14_482 nanoseconds.
Weight::from_ref_time(22_083_290 as u64)
// Standard Error: 2_883
.saturating_add(Weight::from_ref_time(4_280_218 as u64).saturating_mul(c as u64))
// Minimum execution time: 12_596 nanoseconds.
Weight::from_ref_time(23_876_503)
// Standard Error: 2_470
.saturating_add(Weight::from_ref_time(3_650_505).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Minimum execution time: 7_493 nanoseconds.
Weight::from_ref_time(7_829_000 as u64)
// Minimum execution time: 6_424 nanoseconds.
Weight::from_ref_time(6_541_000)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Minimum execution time: 14_676 nanoseconds.
Weight::from_ref_time(45_640_388 as u64)
// Standard Error: 3_350
.saturating_add(Weight::from_ref_time(4_465_566 as u64).saturating_mul(c as u64))
// Minimum execution time: 12_873 nanoseconds.
Weight::from_ref_time(16_562_373)
// Standard Error: 3_653
.saturating_add(Weight::from_ref_time(3_854_429).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 17_032 nanoseconds.
Weight::from_ref_time(17_339_000 as u64)
// Minimum execution time: 14_691 nanoseconds.
Weight::from_ref_time(15_077_000)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// Minimum execution time: 14_471 nanoseconds.
Weight::from_ref_time(17_936_043 as u64)
// Standard Error: 3_039
.saturating_add(Weight::from_ref_time(4_275_692 as u64).saturating_mul(c as u64))
// Minimum execution time: 12_340 nanoseconds.
Weight::from_ref_time(17_476_684)
// Standard Error: 2_684
.saturating_add(Weight::from_ref_time(3_661_082).saturating_mul(c.into()))
}
}