[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 6d0ecc1967
commit cef3ebca56
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: `bm5`, 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("bridge-hub-kusama-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_681 nanoseconds.
Weight::from_ref_time(3_824_000)
// Minimum execution time: 3_581 nanoseconds.
Weight::from_ref_time(2_072_524)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(411).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(536).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 12_708 nanoseconds.
Weight::from_ref_time(12_912_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_773).saturating_mul(b.into()))
// Minimum execution time: 13_070 nanoseconds.
Weight::from_ref_time(86_161_928)
// Standard Error: 4
.saturating_add(Weight::from_ref_time(2_039).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: 7_668 nanoseconds.
Weight::from_ref_time(8_140_000)
// Minimum execution time: 7_871 nanoseconds.
Weight::from_ref_time(8_315_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_888 nanoseconds.
Weight::from_ref_time(3_952_000)
// Standard Error: 2_160
.saturating_add(Weight::from_ref_time(615_707).saturating_mul(i.into()))
// Minimum execution time: 3_758 nanoseconds.
Weight::from_ref_time(3_866_000)
// Standard Error: 2_296
.saturating_add(Weight::from_ref_time(689_752).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_878 nanoseconds.
Weight::from_ref_time(3_991_000)
// Standard Error: 972
.saturating_add(Weight::from_ref_time(445_105).saturating_mul(i.into()))
// Minimum execution time: 3_721 nanoseconds.
Weight::from_ref_time(3_836_000)
// Standard Error: 973
.saturating_add(Weight::from_ref_time(522_358).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_434 nanoseconds.
Weight::from_ref_time(5_510_000)
// Standard Error: 1_293
.saturating_add(Weight::from_ref_time(967_708).saturating_mul(p.into()))
// Minimum execution time: 5_304 nanoseconds.
Weight::from_ref_time(5_563_000)
// Standard Error: 1_192
.saturating_add(Weight::from_ref_time(1_158_340).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}