[ci] Update runners for benchmarks (#2138)

* [ci] Update runners for benchmarks

* run benchmarks in this pr to get weights

* run benches only

* comment .post jobs

* add docker env to benches

* add git diff to artifacts

* divide assets

* update weights

* return ci

* fix refs for benchmarks
This commit is contained in:
Alexander Samusev
2023-01-26 15:46:02 +01:00
committed by GitHub
parent c1af8fc100
commit 5a621926a4
71 changed files with 1795 additions and 1797 deletions
@@ -17,8 +17,8 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! 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`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,51 +48,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
// Minimum execution time: 3_875 nanoseconds.
Weight::from_ref_time(3_969_000)
// Minimum execution time: 3_637 nanoseconds.
Weight::from_ref_time(3_217_847)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(412).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(476).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 12_604 nanoseconds.
Weight::from_ref_time(12_909_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_769).saturating_mul(b.into()))
// Minimum execution time: 13_648 nanoseconds.
Weight::from_ref_time(137_234_405)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_914).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 8_643 nanoseconds.
Weight::from_ref_time(9_165_000)
// Minimum execution time: 8_702 nanoseconds.
Weight::from_ref_time(9_128_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
// Minimum execution time: 3_751 nanoseconds.
Weight::from_ref_time(3_968_000)
// Standard Error: 2_178
.saturating_add(Weight::from_ref_time(620_130).saturating_mul(i.into()))
// Minimum execution time: 3_956 nanoseconds.
Weight::from_ref_time(4_047_000)
// Standard Error: 2_247
.saturating_add(Weight::from_ref_time(684_153).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
// Minimum execution time: 3_824 nanoseconds.
Weight::from_ref_time(3_926_000)
// Standard Error: 1_073
.saturating_add(Weight::from_ref_time(447_424).saturating_mul(i.into()))
// Minimum execution time: 3_854 nanoseconds.
Weight::from_ref_time(3_997_000)
// Standard Error: 1_031
.saturating_add(Weight::from_ref_time(515_297).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Minimum execution time: 5_507 nanoseconds.
Weight::from_ref_time(5_668_000)
// Standard Error: 1_333
.saturating_add(Weight::from_ref_time(970_340).saturating_mul(p.into()))
// Minimum execution time: 5_336 nanoseconds.
Weight::from_ref_time(5_624_000)
// Standard Error: 1_121
.saturating_add(Weight::from_ref_time(1_158_048).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}