[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: `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-rococo-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_799 nanoseconds.
Weight::from_ref_time(3_878_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(410).saturating_mul(b.into()))
// Minimum execution time: 3_793 nanoseconds.
Weight::from_ref_time(1_027_073)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(558).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 12_275 nanoseconds.
Weight::from_ref_time(12_533_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_770).saturating_mul(b.into()))
// Minimum execution time: 13_380 nanoseconds.
Weight::from_ref_time(13_693_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(2_265).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_781 nanoseconds.
Weight::from_ref_time(8_119_000)
// Minimum execution time: 7_834 nanoseconds.
Weight::from_ref_time(8_220_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_810 nanoseconds.
Weight::from_ref_time(3_860_000)
// Standard Error: 2_166
.saturating_add(Weight::from_ref_time(621_137).saturating_mul(i.into()))
// Minimum execution time: 3_892 nanoseconds.
Weight::from_ref_time(4_032_000)
// Standard Error: 2_571
.saturating_add(Weight::from_ref_time(734_989).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_821 nanoseconds.
Weight::from_ref_time(3_940_000)
// Standard Error: 1_002
.saturating_add(Weight::from_ref_time(450_836).saturating_mul(i.into()))
// Minimum execution time: 3_827 nanoseconds.
Weight::from_ref_time(3_952_000)
// Standard Error: 1_419
.saturating_add(Weight::from_ref_time(568_381).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_230 nanoseconds.
Weight::from_ref_time(5_368_000)
// Standard Error: 1_362
.saturating_add(Weight::from_ref_time(977_049).saturating_mul(p.into()))
// Minimum execution time: 5_331 nanoseconds.
Weight::from_ref_time(5_600_000)
// Standard Error: 2_644
.saturating_add(Weight::from_ref_time(1_301_003).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}