[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 `pallet_assets`
//!
//! 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("statemine-dev"), DB CACHE: 1024
// Executed Command:
@@ -49,22 +49,22 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Asset (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn create() -> Weight {
// Minimum execution time: 27_691 nanoseconds.
Weight::from_ref_time(28_210_000)
// Minimum execution time: 28_325 nanoseconds.
Weight::from_ref_time(29_454_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
fn force_create() -> Weight {
// Minimum execution time: 17_264 nanoseconds.
Weight::from_ref_time(17_619_000)
// Minimum execution time: 17_511 nanoseconds.
Weight::from_ref_time(17_897_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn start_destroy() -> Weight {
// Minimum execution time: 19_150 nanoseconds.
Weight::from_ref_time(19_455_000)
// Minimum execution time: 19_093 nanoseconds.
Weight::from_ref_time(19_875_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -73,10 +73,10 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:20 w:20)
/// The range of component `c` is `[0, 1000]`.
fn destroy_accounts(c: u32, ) -> Weight {
// Minimum execution time: 21_644 nanoseconds.
Weight::from_ref_time(21_898_000)
// Standard Error: 12_994
.saturating_add(Weight::from_ref_time(13_266_487).saturating_mul(c.into()))
// Minimum execution time: 21_732 nanoseconds.
Weight::from_ref_time(21_953_000)
// Standard Error: 8_707
.saturating_add(Weight::from_ref_time(14_707_934).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -86,10 +86,10 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Approvals (r:1 w:0)
/// The range of component `a` is `[0, 1000]`.
fn destroy_approvals(a: u32, ) -> Weight {
// Minimum execution time: 22_442 nanoseconds.
Weight::from_ref_time(22_797_000)
// Standard Error: 7_559
.saturating_add(Weight::from_ref_time(12_882_952).saturating_mul(a.into()))
// Minimum execution time: 22_383 nanoseconds.
Weight::from_ref_time(22_657_000)
// Standard Error: 5_721
.saturating_add(Weight::from_ref_time(14_841_010).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -98,24 +98,24 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
fn finish_destroy() -> Weight {
// Minimum execution time: 18_408 nanoseconds.
Weight::from_ref_time(18_637_000)
// Minimum execution time: 19_205 nanoseconds.
Weight::from_ref_time(19_758_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
fn mint() -> Weight {
// Minimum execution time: 30_558 nanoseconds.
Weight::from_ref_time(30_935_000)
// Minimum execution time: 31_975 nanoseconds.
Weight::from_ref_time(32_909_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
fn burn() -> Weight {
// Minimum execution time: 36_672 nanoseconds.
Weight::from_ref_time(37_548_000)
// Minimum execution time: 38_612 nanoseconds.
Weight::from_ref_time(39_693_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -123,8 +123,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
// Minimum execution time: 47_322 nanoseconds.
Weight::from_ref_time(48_016_000)
// Minimum execution time: 49_986 nanoseconds.
Weight::from_ref_time(51_660_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -132,8 +132,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
// Minimum execution time: 39_627 nanoseconds.
Weight::from_ref_time(40_353_000)
// Minimum execution time: 43_079 nanoseconds.
Weight::from_ref_time(44_369_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -141,53 +141,53 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn force_transfer() -> Weight {
// Minimum execution time: 47_666 nanoseconds.
Weight::from_ref_time(48_207_000)
// Minimum execution time: 50_736 nanoseconds.
Weight::from_ref_time(51_851_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
fn freeze() -> Weight {
// Minimum execution time: 22_165 nanoseconds.
Weight::from_ref_time(22_493_000)
// Minimum execution time: 22_127 nanoseconds.
Weight::from_ref_time(22_909_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
fn thaw() -> Weight {
// Minimum execution time: 21_889 nanoseconds.
Weight::from_ref_time(22_283_000)
// Minimum execution time: 22_065 nanoseconds.
Weight::from_ref_time(22_719_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn freeze_asset() -> Weight {
// Minimum execution time: 18_560 nanoseconds.
Weight::from_ref_time(18_874_000)
// Minimum execution time: 18_550 nanoseconds.
Weight::from_ref_time(18_966_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn thaw_asset() -> Weight {
// Minimum execution time: 18_383 nanoseconds.
Weight::from_ref_time(18_917_000)
// Minimum execution time: 18_581 nanoseconds.
Weight::from_ref_time(19_387_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
fn transfer_ownership() -> Weight {
// Minimum execution time: 19_271 nanoseconds.
Weight::from_ref_time(19_631_000)
// Minimum execution time: 19_749 nanoseconds.
Weight::from_ref_time(20_429_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn set_team() -> Weight {
// Minimum execution time: 18_180 nanoseconds.
Weight::from_ref_time(18_517_000)
// Minimum execution time: 18_894 nanoseconds.
Weight::from_ref_time(19_387_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -196,18 +196,18 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
fn set_metadata(_n: u32, s: u32, ) -> Weight {
// Minimum execution time: 30_142 nanoseconds.
Weight::from_ref_time(31_374_698)
// Standard Error: 703
.saturating_add(Weight::from_ref_time(4_165).saturating_mul(s.into()))
// Minimum execution time: 31_524 nanoseconds.
Weight::from_ref_time(33_046_758)
// Standard Error: 1_119
.saturating_add(Weight::from_ref_time(294).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
fn clear_metadata() -> Weight {
// Minimum execution time: 31_646 nanoseconds.
Weight::from_ref_time(32_234_000)
// Minimum execution time: 33_196 nanoseconds.
Weight::from_ref_time(34_732_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -216,33 +216,33 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
// Minimum execution time: 18_874 nanoseconds.
Weight::from_ref_time(19_642_290)
// Standard Error: 436
.saturating_add(Weight::from_ref_time(649).saturating_mul(s.into()))
// Minimum execution time: 19_287 nanoseconds.
Weight::from_ref_time(20_205_504)
// Standard Error: 513
.saturating_add(Weight::from_ref_time(1_006).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
fn force_clear_metadata() -> Weight {
// Minimum execution time: 31_720 nanoseconds.
Weight::from_ref_time(32_217_000)
// Minimum execution time: 33_022 nanoseconds.
Weight::from_ref_time(34_035_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn force_asset_status() -> Weight {
// Minimum execution time: 17_817 nanoseconds.
Weight::from_ref_time(18_124_000)
// Minimum execution time: 18_229 nanoseconds.
Weight::from_ref_time(18_920_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn approve_transfer() -> Weight {
// Minimum execution time: 33_692 nanoseconds.
Weight::from_ref_time(34_846_000)
// Minimum execution time: 34_912 nanoseconds.
Weight::from_ref_time(36_084_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -251,24 +251,24 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_approved() -> Weight {
// Minimum execution time: 61_857 nanoseconds.
Weight::from_ref_time(62_636_000)
// Minimum execution time: 65_747 nanoseconds.
Weight::from_ref_time(67_478_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn cancel_approval() -> Weight {
// Minimum execution time: 36_218 nanoseconds.
Weight::from_ref_time(36_559_000)
// Minimum execution time: 37_067 nanoseconds.
Weight::from_ref_time(38_033_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn force_cancel_approval() -> Weight {
// Minimum execution time: 36_905 nanoseconds.
Weight::from_ref_time(37_500_000)
// Minimum execution time: 37_959 nanoseconds.
Weight::from_ref_time(39_050_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}