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,25 +17,24 @@
//! Autogenerated weights for `pallet_multisig`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! 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-kusama-dev"), DB CACHE: 1024
// Executed Command:
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
// ./artifacts/polkadot-parachain
// benchmark
// pallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --chain=bridge-hub-kusama-dev
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
// --pallet=pallet_multisig
// --chain=bridge-hub-kusama-dev
// --extrinsic=*
// --steps=50
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/pallet_multisig.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -49,22 +48,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
// Minimum execution time: 21_383 nanoseconds.
Weight::from_ref_time(22_189_472)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(534).saturating_mul(z.into()))
// Minimum execution time: 15_428 nanoseconds.
Weight::from_ref_time(15_941_235)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(537).saturating_mul(z.into()))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 52_428 nanoseconds.
Weight::from_ref_time(39_213_076)
// Standard Error: 773
.saturating_add(Weight::from_ref_time(144_541).saturating_mul(s.into()))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_553).saturating_mul(z.into()))
// Minimum execution time: 44_197 nanoseconds.
Weight::from_ref_time(36_539_501)
// Standard Error: 904
.saturating_add(Weight::from_ref_time(84_250).saturating_mul(s.into()))
// Standard Error: 8
.saturating_add(Weight::from_ref_time(1_544).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -72,12 +71,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 41_359 nanoseconds.
Weight::from_ref_time(29_318_634)
// Standard Error: 723
.saturating_add(Weight::from_ref_time(135_304).saturating_mul(s.into()))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_528).saturating_mul(z.into()))
// Minimum execution time: 34_293 nanoseconds.
Weight::from_ref_time(27_691_492)
// Standard Error: 1_234
.saturating_add(Weight::from_ref_time(76_671).saturating_mul(s.into()))
// Standard Error: 12
.saturating_add(Weight::from_ref_time(1_515).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -86,12 +85,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 55_465 nanoseconds.
Weight::from_ref_time(42_404_323)
// Standard Error: 719
.saturating_add(Weight::from_ref_time(155_812).saturating_mul(s.into()))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_550).saturating_mul(z.into()))
// Minimum execution time: 48_305 nanoseconds.
Weight::from_ref_time(38_790_283)
// Standard Error: 649
.saturating_add(Weight::from_ref_time(101_710).saturating_mul(s.into()))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_596).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -99,30 +98,30 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
// Minimum execution time: 36_194 nanoseconds.
Weight::from_ref_time(38_567_667)
// Standard Error: 1_067
.saturating_add(Weight::from_ref_time(132_773).saturating_mul(s.into()))
// Minimum execution time: 32_261 nanoseconds.
Weight::from_ref_time(35_136_339)
// Standard Error: 1_102
.saturating_add(Weight::from_ref_time(87_710).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Minimum execution time: 25_984 nanoseconds.
Weight::from_ref_time(27_881_834)
// Standard Error: 910
.saturating_add(Weight::from_ref_time(130_467).saturating_mul(s.into()))
// Minimum execution time: 23_194 nanoseconds.
Weight::from_ref_time(25_477_839)
// Standard Error: 810
.saturating_add(Weight::from_ref_time(83_750).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
// Minimum execution time: 36_468 nanoseconds.
Weight::from_ref_time(38_351_354)
// Standard Error: 1_069
.saturating_add(Weight::from_ref_time(142_178).saturating_mul(s.into()))
// Minimum execution time: 33_083 nanoseconds.
Weight::from_ref_time(35_190_588)
// Standard Error: 1_010
.saturating_add(Weight::from_ref_time(90_855).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}