[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("statemint-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,121 +47,176 @@ 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_353 nanoseconds.
Weight::from_ref_time(21_509_191)
// Standard Error: 2_505
.saturating_add(Weight::from_ref_time(53_567).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 14_405 nanoseconds.
Weight::from_ref_time(15_511_983)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 2_104
.saturating_add(Weight::from_ref_time(19_450).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_300 nanoseconds.
Weight::from_ref_time(40_900_685)
// Standard Error: 3_136
.saturating_add(Weight::from_ref_time(104_312).saturating_mul(a.into()))
// Standard Error: 3_240
.saturating_add(Weight::from_ref_time(49_601).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `550 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 31_545 nanoseconds.
Weight::from_ref_time(31_928_375)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 2_022
.saturating_add(Weight::from_ref_time(114_479).saturating_mul(a.into()))
// Standard Error: 2_089
.saturating_add(Weight::from_ref_time(34_696).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_095 nanoseconds.
Weight::from_ref_time(28_275_274)
// Standard Error: 2_432
.saturating_add(Weight::from_ref_time(125_355).saturating_mul(a.into()))
// Standard Error: 2_513
.saturating_add(Weight::from_ref_time(33_543).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_215 nanoseconds.
Weight::from_ref_time(20_970_496)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_277
.saturating_add(Weight::from_ref_time(111_015).saturating_mul(a.into()))
// Standard Error: 1_320
.saturating_add(Weight::from_ref_time(9_988).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_243 nanoseconds.
Weight::from_ref_time(28_318_836)
// Standard Error: 2_249
.saturating_add(Weight::from_ref_time(128_387).saturating_mul(a.into()))
// Standard Error: 2_323
.saturating_add(Weight::from_ref_time(33_123).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_153 nanoseconds.
Weight::from_ref_time(21_046_064)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_342
.saturating_add(Weight::from_ref_time(108_638).saturating_mul(a.into()))
// Standard Error: 1_386
.saturating_add(Weight::from_ref_time(10_617).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_001 nanoseconds.
Weight::from_ref_time(37_755_806)
// Standard Error: 2_688
.saturating_add(Weight::from_ref_time(117_562).saturating_mul(a.into()))
// Standard Error: 2_777
.saturating_add(Weight::from_ref_time(39_230).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `482 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 27_692 nanoseconds.
Weight::from_ref_time(28_900_223)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 1_751
.saturating_add(Weight::from_ref_time(100_648).saturating_mul(a.into()))
// Standard Error: 1_809
.saturating_add(Weight::from_ref_time(35_769).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: 29_566 nanoseconds.
Weight::from_ref_time(31_149_800)
// Standard Error: 2_298
.saturating_add(Weight::from_ref_time(71_939).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 20_726 nanoseconds.
Weight::from_ref_time(21_849_126)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_307
.saturating_add(Weight::from_ref_time(43_349).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: 29_021 nanoseconds.
Weight::from_ref_time(30_997_729)
// Standard Error: 2_165
.saturating_add(Weight::from_ref_time(78_568).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 20_681 nanoseconds.
Weight::from_ref_time(21_733_251)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_555
.saturating_add(Weight::from_ref_time(59_461).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: 25_326 nanoseconds.
Weight::from_ref_time(26_868_430)
// Standard Error: 1_962
.saturating_add(Weight::from_ref_time(41_448).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 16_966 nanoseconds.
Weight::from_ref_time(17_682_078)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_110
.saturating_add(Weight::from_ref_time(28_786).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: 31_785 nanoseconds.
Weight::from_ref_time(33_475_829)
// Standard Error: 2_993
.saturating_add(Weight::from_ref_time(21_123).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
// Proof Size summary in bytes:
// Measured: `139`
// Estimated: `3716`
// Minimum execution time: 22_237 nanoseconds.
Weight::from_ref_time(23_324_695)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_481
.saturating_add(Weight::from_ref_time(9_284).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_365 nanoseconds.
Weight::from_ref_time(27_914_914)
// Standard Error: 2_228
.saturating_add(Weight::from_ref_time(49_922).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `196 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 18_041 nanoseconds.
Weight::from_ref_time(18_668_925)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_209
.saturating_add(Weight::from_ref_time(29_794).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}