Backport collective weights from v9330 to master (#1959)

* [benchmarks] pr with weights (#1945)

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

* Use master for some methods

Co-authored-by: Egor_P <egor@parity.io>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
This commit is contained in:
Squirrel
2022-12-08 10:30:48 +00:00
committed by GitHub
parent 77df2b6f58
commit a49d007cc1
11 changed files with 311 additions and 308 deletions
@@ -17,8 +17,8 @@
//! 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`
//! DATE: 2022-12-05, 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
// Executed Command:
@@ -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: 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))
}
fn as_derivative() -> Weight {
// Minimum execution time: 6_888 nanoseconds.
Weight::from_ref_time(7_176_000 as u64)
// Minimum execution time: 7_028 nanoseconds.
Weight::from_ref_time(7_337_000 as u64)
}
/// 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: 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))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 15_188 nanoseconds.
Weight::from_ref_time(15_682_000 as u64)
// Minimum execution time: 15_834 nanoseconds.
Weight::from_ref_time(16_214_000 as u64)
}
/// 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: 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))
}
}