[ci] Return benchmark to bm machines (#2225)

* [WIP][ci] Return benchmark to bm machines

* run build on docker machines

* restart pipeline

* rm docker runner

* fix refs

* add weights

* return ci

* fix asset benchmark
This commit is contained in:
Alexander Samusev
2023-02-23 11:50:38 +01:00
committed by GitHub
parent 26b109bb82
commit 7e811c2c2f
89 changed files with 7970 additions and 3721 deletions
@@ -17,25 +17,25 @@
//! Autogenerated weights for `pallet_multisig`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-polkadot-dev"), DB CACHE: 1024
// Executed Command:
// target/production/polkadot-parachain
// ./artifacts/polkadot-parachain
// benchmark
// pallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --chain=bridge-hub-polkadot-dev
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/cumulus/.git/.artifacts/bench.json
// --pallet=pallet_multisig
// --chain=bridge-hub-polkadot-dev
// --extrinsic=*
// --steps=50
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-polkadot/src/weights/
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-polkadot/src/weights/pallet_multisig.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -49,80 +49,113 @@ 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: 17_220 nanoseconds.
Weight::from_ref_time(18_207_069)
// Standard Error: 7
.saturating_add(Weight::from_ref_time(644).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_693 nanoseconds.
Weight::from_ref_time(12_218_501)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(479).saturating_mul(z.into()))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// 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: 48_915 nanoseconds.
Weight::from_ref_time(35_242_790)
// Standard Error: 1_460
.saturating_add(Weight::from_ref_time(156_737).saturating_mul(s.into()))
// Standard Error: 14
.saturating_add(Weight::from_ref_time(1_950).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
// Proof Size summary in bytes:
// Measured: `314 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 35_181 nanoseconds.
Weight::from_ref_time(28_585_764)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 609
.saturating_add(Weight::from_ref_time(72_658).saturating_mul(s.into()))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_476).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// 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: 37_069 nanoseconds.
Weight::from_ref_time(24_646_993)
// Standard Error: 949
.saturating_add(Weight::from_ref_time(137_918).saturating_mul(s.into()))
// Standard Error: 9
.saturating_add(Weight::from_ref_time(1_960).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `313`
// Estimated: `5821`
// Minimum execution time: 26_110 nanoseconds.
Weight::from_ref_time(19_809_417)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 448
.saturating_add(Weight::from_ref_time(69_542).saturating_mul(s.into()))
// Standard Error: 4
.saturating_add(Weight::from_ref_time(1_514).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// 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: 53_162 nanoseconds.
Weight::from_ref_time(36_528_118)
// Standard Error: 1_394
.saturating_add(Weight::from_ref_time(191_697).saturating_mul(s.into()))
// Standard Error: 13
.saturating_add(Weight::from_ref_time(2_105).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `451 + s * (33 ±0)`
// Estimated: `8424`
// Minimum execution time: 39_991 nanoseconds.
Weight::from_ref_time(31_329_529)
.saturating_add(Weight::from_proof_size(8424))
// Standard Error: 567
.saturating_add(Weight::from_ref_time(90_826).saturating_mul(s.into()))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_527).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
// Minimum execution time: 32_883 nanoseconds.
Weight::from_ref_time(34_761_180)
// Standard Error: 1_582
.saturating_add(Weight::from_ref_time(155_727).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: 22_521 nanoseconds.
Weight::from_ref_time(24_339_043)
// Standard Error: 1_104
.saturating_add(Weight::from_ref_time(130_836).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `321 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 25_124 nanoseconds.
Weight::from_ref_time(26_655_548)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 743
.saturating_add(Weight::from_ref_time(78_904).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)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `313`
// Estimated: `5821`
// Minimum execution time: 16_950 nanoseconds.
Weight::from_ref_time(18_308_894)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 676
.saturating_add(Weight::from_ref_time(71_574).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)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
// Minimum execution time: 32_713 nanoseconds.
Weight::from_ref_time(34_897_366)
// Standard Error: 1_430
.saturating_add(Weight::from_ref_time(146_158).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `517 + s * (1 ±0)`
// Estimated: `5821`
// Minimum execution time: 26_127 nanoseconds.
Weight::from_ref_time(27_889_146)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 729
.saturating_add(Weight::from_ref_time(78_618).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}