[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-22, 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("statemine-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,121 +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: 21_059 nanoseconds.
Weight::from_ref_time(21_931_092)
// Standard Error: 2_138
.saturating_add(Weight::from_ref_time(40_434).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 15_168 nanoseconds.
Weight::from_ref_time(15_986_761)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 2_885
.saturating_add(Weight::from_ref_time(12_185).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: 39_650 nanoseconds.
Weight::from_ref_time(40_171_062)
// Standard Error: 2_199
.saturating_add(Weight::from_ref_time(135_970).saturating_mul(a.into()))
// Standard Error: 2_272
.saturating_add(Weight::from_ref_time(50_259).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `550 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 32_310 nanoseconds.
Weight::from_ref_time(32_466_194)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 1_813
.saturating_add(Weight::from_ref_time(120_725).saturating_mul(a.into()))
// Standard Error: 1_873
.saturating_add(Weight::from_ref_time(32_578).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: 27_501 nanoseconds.
Weight::from_ref_time(28_448_215)
// Standard Error: 1_558
.saturating_add(Weight::from_ref_time(125_757).saturating_mul(a.into()))
// Standard Error: 1_610
.saturating_add(Weight::from_ref_time(17_805).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_363 nanoseconds.
Weight::from_ref_time(21_135_277)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_404
.saturating_add(Weight::from_ref_time(120_045).saturating_mul(a.into()))
// Standard Error: 1_450
.saturating_add(Weight::from_ref_time(8_992).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: 27_256 nanoseconds.
Weight::from_ref_time(28_577_364)
// Standard Error: 1_944
.saturating_add(Weight::from_ref_time(122_622).saturating_mul(a.into()))
// Standard Error: 2_008
.saturating_add(Weight::from_ref_time(20_612).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_086 nanoseconds.
Weight::from_ref_time(21_145_287)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_612
.saturating_add(Weight::from_ref_time(113_598).saturating_mul(a.into()))
// Standard Error: 1_666
.saturating_add(Weight::from_ref_time(11_520).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: 36_113 nanoseconds.
Weight::from_ref_time(37_763_681)
// Standard Error: 1_973
.saturating_add(Weight::from_ref_time(122_500).saturating_mul(a.into()))
// Standard Error: 2_039
.saturating_add(Weight::from_ref_time(43_746).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `482 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 27_819 nanoseconds.
Weight::from_ref_time(28_662_588)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 2_297
.saturating_add(Weight::from_ref_time(128_485).saturating_mul(a.into()))
// Standard Error: 2_373
.saturating_add(Weight::from_ref_time(47_044).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_297 nanoseconds.
Weight::from_ref_time(31_680_794)
// Standard Error: 1_656
.saturating_add(Weight::from_ref_time(61_720).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 21_187 nanoseconds.
Weight::from_ref_time(22_430_290)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 6_530
.saturating_add(Weight::from_ref_time(43_133).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_035 nanoseconds.
Weight::from_ref_time(32_202_618)
// Standard Error: 4_659
.saturating_add(Weight::from_ref_time(49_172).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 20_985 nanoseconds.
Weight::from_ref_time(21_852_273)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_662
.saturating_add(Weight::from_ref_time(66_644).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_077 nanoseconds.
Weight::from_ref_time(27_110_936)
// Standard Error: 1_644
.saturating_add(Weight::from_ref_time(33_454).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 16_958 nanoseconds.
Weight::from_ref_time(17_752_361)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_173
.saturating_add(Weight::from_ref_time(25_691).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: 32_562 nanoseconds.
Weight::from_ref_time(33_911_825)
// Standard Error: 2_346
.saturating_add(Weight::from_ref_time(21_096).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
// Proof Size summary in bytes:
// Measured: `139`
// Estimated: `3716`
// Minimum execution time: 23_055 nanoseconds.
Weight::from_ref_time(23_892_965)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_390
.saturating_add(Weight::from_ref_time(16_195).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 `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
// Minimum execution time: 26_754 nanoseconds.
Weight::from_ref_time(28_254_135)
// Standard Error: 1_950
.saturating_add(Weight::from_ref_time(30_214).saturating_mul(p.into()))
fn kill_pure(_p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `196 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 18_344 nanoseconds.
Weight::from_ref_time(20_533_110)
.saturating_add(Weight::from_proof_size(3716))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}