[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 bdd75044bb
commit 6c89607b31
89 changed files with 7970 additions and 3721 deletions
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,119 +47,174 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_proxy`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:0)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn proxy(p: u32, ) -> Weight {
// Minimum execution time: 20_824 nanoseconds.
Weight::from_ref_time(23_388_445)
// Standard Error: 4_840
.saturating_add(Weight::from_ref_time(36_180).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 14_854 nanoseconds.
Weight::from_ref_time(15_600_203)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_181
.saturating_add(Weight::from_ref_time(28_891).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, 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 `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 40_846 nanoseconds.
Weight::from_ref_time(42_912_891)
// Standard Error: 7_750
.saturating_add(Weight::from_ref_time(155_333).saturating_mul(a.into()))
// Standard Error: 8_007
.saturating_add(Weight::from_ref_time(58_122).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `550 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 32_063 nanoseconds.
Weight::from_ref_time(32_624_200)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 1_727
.saturating_add(Weight::from_ref_time(113_689).saturating_mul(a.into()))
// Standard Error: 1_785
.saturating_add(Weight::from_ref_time(29_618).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, 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 `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 28_285 nanoseconds.
Weight::from_ref_time(31_684_355)
// Standard Error: 5_548
.saturating_add(Weight::from_ref_time(104_235).saturating_mul(a.into()))
// Standard Error: 5_732
.saturating_add(Weight::from_ref_time(1_643).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_449 nanoseconds.
Weight::from_ref_time(21_345_957)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_390
.saturating_add(Weight::from_ref_time(105_313).saturating_mul(a.into()))
// Standard Error: 1_436
.saturating_add(Weight::from_ref_time(9_437).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, 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 `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 28_112 nanoseconds.
Weight::from_ref_time(31_257_196)
// Standard Error: 5_788
.saturating_add(Weight::from_ref_time(110_430).saturating_mul(a.into()))
// Standard Error: 5_980
.saturating_add(Weight::from_ref_time(12_700).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_423 nanoseconds.
Weight::from_ref_time(21_290_701)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_398
.saturating_add(Weight::from_ref_time(110_034).saturating_mul(a.into()))
// Standard Error: 1_444
.saturating_add(Weight::from_ref_time(9_968).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, 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 `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn announce(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 37_947 nanoseconds.
Weight::from_ref_time(40_424_751)
// Standard Error: 6_592
.saturating_add(Weight::from_ref_time(115_919).saturating_mul(a.into()))
// Standard Error: 6_811
.saturating_add(Weight::from_ref_time(37_999).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `482 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 28_014 nanoseconds.
Weight::from_ref_time(28_864_371)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 1_933
.saturating_add(Weight::from_ref_time(109_536).saturating_mul(a.into()))
// Standard Error: 1_998
.saturating_add(Weight::from_ref_time(43_779).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn add_proxy(p: u32, ) -> Weight {
// Minimum execution time: 30_343 nanoseconds.
Weight::from_ref_time(33_272_330)
// Standard Error: 5_220
.saturating_add(Weight::from_ref_time(68_430).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 21_285 nanoseconds.
Weight::from_ref_time(22_065_300)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_703
.saturating_add(Weight::from_ref_time(42_186).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight {
// Minimum execution time: 30_469 nanoseconds.
Weight::from_ref_time(33_147_571)
// Standard Error: 5_971
.saturating_add(Weight::from_ref_time(74_276).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 20_992 nanoseconds.
Weight::from_ref_time(22_026_633)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_663
.saturating_add(Weight::from_ref_time(60_910).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
// Minimum execution time: 26_413 nanoseconds.
Weight::from_ref_time(28_654_279)
// Standard Error: 6_196
.saturating_add(Weight::from_ref_time(72_944).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 16_755 nanoseconds.
Weight::from_ref_time(17_775_492)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_281
.saturating_add(Weight::from_ref_time(28_738).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn create_pure(_p: u32, ) -> Weight {
// Minimum execution time: 33_050 nanoseconds.
Weight::from_ref_time(37_011_858)
.saturating_add(T::DbWeight::get().reads(2))
// Proof Size summary in bytes:
// Measured: `139`
// Estimated: `3716`
// Minimum execution time: 22_598 nanoseconds.
Weight::from_ref_time(23_639_320)
.saturating_add(Weight::from_proof_size(3716))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
// Minimum execution time: 27_594 nanoseconds.
Weight::from_ref_time(30_339_039)
// Standard Error: 5_854
.saturating_add(Weight::from_ref_time(29_216).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `196 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 17_907 nanoseconds.
Weight::from_ref_time(18_737_185)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_069
.saturating_add(Weight::from_ref_time(26_491).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}