mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 20:21:03 +00:00
[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:
committed by
GitHub
parent
c1af8fc100
commit
5a621926a4
@@ -17,8 +17,8 @@
|
||||
//! Autogenerated weights for `pallet_uniques`
|
||||
//!
|
||||
//! 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:
|
||||
@@ -49,16 +49,16 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn create() -> Weight {
|
||||
// Minimum execution time: 29_840 nanoseconds.
|
||||
Weight::from_ref_time(30_234_000)
|
||||
// Minimum execution time: 31_545 nanoseconds.
|
||||
Weight::from_ref_time(32_847_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn force_create() -> Weight {
|
||||
// Minimum execution time: 19_612 nanoseconds.
|
||||
Weight::from_ref_time(20_068_000)
|
||||
// Minimum execution time: 20_268 nanoseconds.
|
||||
Weight::from_ref_time(21_052_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -74,14 +74,12 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[0, 1000]`.
|
||||
/// The range of component `a` is `[0, 1000]`.
|
||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||
// Minimum execution time: 2_355_753 nanoseconds.
|
||||
Weight::from_ref_time(2_374_906_000)
|
||||
// Standard Error: 25_342
|
||||
.saturating_add(Weight::from_ref_time(8_210_192).saturating_mul(n.into()))
|
||||
// Standard Error: 25_342
|
||||
.saturating_add(Weight::from_ref_time(235_106).saturating_mul(m.into()))
|
||||
// Standard Error: 25_342
|
||||
.saturating_add(Weight::from_ref_time(274_994).saturating_mul(a.into()))
|
||||
// Minimum execution time: 3_181_784 nanoseconds.
|
||||
Weight::from_ref_time(3_263_063_000)
|
||||
// Standard Error: 52_843
|
||||
.saturating_add(Weight::from_ref_time(9_291_988).saturating_mul(n.into()))
|
||||
// Standard Error: 52_843
|
||||
.saturating_add(Weight::from_ref_time(1_821_907).saturating_mul(a.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
@@ -94,8 +92,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
||||
// Storage: Uniques Account (r:0 w:1)
|
||||
fn mint() -> Weight {
|
||||
// Minimum execution time: 36_914 nanoseconds.
|
||||
Weight::from_ref_time(37_683_000)
|
||||
// Minimum execution time: 38_361 nanoseconds.
|
||||
Weight::from_ref_time(39_665_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
@@ -104,8 +102,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Uniques Account (r:0 w:1)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn burn() -> Weight {
|
||||
// Minimum execution time: 39_149 nanoseconds.
|
||||
Weight::from_ref_time(39_647_000)
|
||||
// Minimum execution time: 40_530 nanoseconds.
|
||||
Weight::from_ref_time(41_467_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -114,8 +112,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Uniques Account (r:0 w:2)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn transfer() -> Weight {
|
||||
// Minimum execution time: 30_460 nanoseconds.
|
||||
Weight::from_ref_time(31_588_000)
|
||||
// Minimum execution time: 30_538 nanoseconds.
|
||||
Weight::from_ref_time(31_601_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -123,10 +121,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Uniques Asset (r:102 w:102)
|
||||
/// The range of component `i` is `[0, 5000]`.
|
||||
fn redeposit(i: u32, ) -> Weight {
|
||||
// Minimum execution time: 19_504 nanoseconds.
|
||||
Weight::from_ref_time(19_741_000)
|
||||
// Standard Error: 14_211
|
||||
.saturating_add(Weight::from_ref_time(10_863_273).saturating_mul(i.into()))
|
||||
// Minimum execution time: 19_630 nanoseconds.
|
||||
Weight::from_ref_time(19_983_000)
|
||||
// Standard Error: 16_378
|
||||
.saturating_add(Weight::from_ref_time(12_854_319).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -135,30 +133,30 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn freeze() -> Weight {
|
||||
// Minimum execution time: 23_535 nanoseconds.
|
||||
Weight::from_ref_time(24_106_000)
|
||||
// Minimum execution time: 23_487 nanoseconds.
|
||||
Weight::from_ref_time(24_339_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn thaw() -> Weight {
|
||||
// Minimum execution time: 23_904 nanoseconds.
|
||||
Weight::from_ref_time(24_367_000)
|
||||
// Minimum execution time: 23_348 nanoseconds.
|
||||
Weight::from_ref_time(24_025_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn freeze_collection() -> Weight {
|
||||
// Minimum execution time: 19_209 nanoseconds.
|
||||
Weight::from_ref_time(19_629_000)
|
||||
// Minimum execution time: 18_820 nanoseconds.
|
||||
Weight::from_ref_time(19_440_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn thaw_collection() -> Weight {
|
||||
// Minimum execution time: 19_115 nanoseconds.
|
||||
Weight::from_ref_time(19_598_000)
|
||||
// Minimum execution time: 18_689 nanoseconds.
|
||||
Weight::from_ref_time(19_523_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -166,23 +164,23 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:2)
|
||||
fn transfer_ownership() -> Weight {
|
||||
// Minimum execution time: 27_359 nanoseconds.
|
||||
Weight::from_ref_time(28_095_000)
|
||||
// Minimum execution time: 26_486 nanoseconds.
|
||||
Weight::from_ref_time(27_557_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn set_team() -> Weight {
|
||||
// Minimum execution time: 20_037 nanoseconds.
|
||||
Weight::from_ref_time(20_352_000)
|
||||
// Minimum execution time: 19_244 nanoseconds.
|
||||
Weight::from_ref_time(19_802_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn force_item_status() -> Weight {
|
||||
// Minimum execution time: 22_282 nanoseconds.
|
||||
Weight::from_ref_time(22_795_000)
|
||||
// Minimum execution time: 21_746 nanoseconds.
|
||||
Weight::from_ref_time(23_012_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -190,8 +188,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||
// Storage: Uniques Attribute (r:1 w:1)
|
||||
fn set_attribute() -> Weight {
|
||||
// Minimum execution time: 44_638 nanoseconds.
|
||||
Weight::from_ref_time(45_088_000)
|
||||
// Minimum execution time: 44_625 nanoseconds.
|
||||
Weight::from_ref_time(45_781_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -199,79 +197,79 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||
// Storage: Uniques Attribute (r:1 w:1)
|
||||
fn clear_attribute() -> Weight {
|
||||
// Minimum execution time: 42_588 nanoseconds.
|
||||
Weight::from_ref_time(43_510_000)
|
||||
// Minimum execution time: 42_627 nanoseconds.
|
||||
Weight::from_ref_time(44_182_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||
fn set_metadata() -> Weight {
|
||||
// Minimum execution time: 34_488 nanoseconds.
|
||||
Weight::from_ref_time(34_982_000)
|
||||
// Minimum execution time: 35_048 nanoseconds.
|
||||
Weight::from_ref_time(36_235_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||
fn clear_metadata() -> Weight {
|
||||
// Minimum execution time: 36_550 nanoseconds.
|
||||
Weight::from_ref_time(36_983_000)
|
||||
// Minimum execution time: 36_941 nanoseconds.
|
||||
Weight::from_ref_time(37_566_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||
fn set_collection_metadata() -> Weight {
|
||||
// Minimum execution time: 34_149 nanoseconds.
|
||||
Weight::from_ref_time(35_216_000)
|
||||
// Minimum execution time: 34_684 nanoseconds.
|
||||
Weight::from_ref_time(35_567_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||
fn clear_collection_metadata() -> Weight {
|
||||
// Minimum execution time: 33_420 nanoseconds.
|
||||
Weight::from_ref_time(34_201_000)
|
||||
// Minimum execution time: 33_941 nanoseconds.
|
||||
Weight::from_ref_time(34_608_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
fn approve_transfer() -> Weight {
|
||||
// Minimum execution time: 25_088 nanoseconds.
|
||||
Weight::from_ref_time(25_714_000)
|
||||
// Minimum execution time: 25_003 nanoseconds.
|
||||
Weight::from_ref_time(25_565_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
fn cancel_approval() -> Weight {
|
||||
// Minimum execution time: 25_082 nanoseconds.
|
||||
Weight::from_ref_time(25_459_000)
|
||||
// Minimum execution time: 24_048 nanoseconds.
|
||||
Weight::from_ref_time(25_405_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||
fn set_accept_ownership() -> Weight {
|
||||
// Minimum execution time: 22_911 nanoseconds.
|
||||
Weight::from_ref_time(23_297_000)
|
||||
// Minimum execution time: 22_876 nanoseconds.
|
||||
Weight::from_ref_time(23_841_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn set_collection_max_supply() -> Weight {
|
||||
// Minimum execution time: 21_504 nanoseconds.
|
||||
Weight::from_ref_time(22_185_000)
|
||||
// Minimum execution time: 21_291 nanoseconds.
|
||||
Weight::from_ref_time(21_935_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Uniques Asset (r:1 w:0)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn set_price() -> Weight {
|
||||
// Minimum execution time: 22_189 nanoseconds.
|
||||
Weight::from_ref_time(22_572_000)
|
||||
// Minimum execution time: 21_637 nanoseconds.
|
||||
Weight::from_ref_time(22_370_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -280,8 +278,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Account (r:0 w:2)
|
||||
fn buy_item() -> Weight {
|
||||
// Minimum execution time: 41_005 nanoseconds.
|
||||
Weight::from_ref_time(41_754_000)
|
||||
// Minimum execution time: 41_671 nanoseconds.
|
||||
Weight::from_ref_time(43_220_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user