mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 18:01:03 +00:00
Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: Egor_P <egor@parity.io> Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
This commit is contained in:
@@ -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-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -47,22 +47,24 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
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: 33_006 nanoseconds.
|
||||
Weight::from_ref_time(33_733_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 32_331 nanoseconds.
|
||||
Weight::from_ref_time(32_842_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn force_create() -> Weight {
|
||||
// Minimum execution time: 19_841 nanoseconds.
|
||||
Weight::from_ref_time(20_372_000 as u64)
|
||||
// Minimum execution time: 19_769 nanoseconds.
|
||||
Weight::from_ref_time(20_079_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn start_destroy() -> Weight {
|
||||
Weight::from_ref_time(31_000_000 as u64)
|
||||
// Minimum execution time: 22_644 nanoseconds.
|
||||
Weight::from_ref_time(23_194_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -71,9 +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 {
|
||||
Weight::from_ref_time(37_000_000 as u64)
|
||||
// Standard Error: 19_301
|
||||
.saturating_add(Weight::from_ref_time(25_467_908 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 25_189 nanoseconds.
|
||||
Weight::from_ref_time(25_514_000 as u64)
|
||||
// Standard Error: 14_110
|
||||
.saturating_add(Weight::from_ref_time(14_351_047 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -83,9 +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 {
|
||||
Weight::from_ref_time(39_000_000 as u64)
|
||||
// Standard Error: 14_298
|
||||
.saturating_add(Weight::from_ref_time(27_632_144 as u64).saturating_mul(a as u64))
|
||||
// Minimum execution time: 26_407 nanoseconds.
|
||||
Weight::from_ref_time(26_671_000 as u64)
|
||||
// Standard Error: 9_096
|
||||
.saturating_add(Weight::from_ref_time(14_232_135 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(a as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -94,23 +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 {
|
||||
Weight::from_ref_time(33_000_000 as u64)
|
||||
// Minimum execution time: 21_543 nanoseconds.
|
||||
Weight::from_ref_time(21_877_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn mint() -> Weight {
|
||||
// Minimum execution time: 38_876 nanoseconds.
|
||||
Weight::from_ref_time(39_815_000 as u64)
|
||||
// Minimum execution time: 35_276 nanoseconds.
|
||||
Weight::from_ref_time(35_560_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn burn() -> Weight {
|
||||
// Minimum execution time: 42_364 nanoseconds.
|
||||
Weight::from_ref_time(42_869_000 as u64)
|
||||
// Minimum execution time: 42_480 nanoseconds.
|
||||
Weight::from_ref_time(42_856_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -118,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: 55_538 nanoseconds.
|
||||
Weight::from_ref_time(56_312_000 as u64)
|
||||
// Minimum execution time: 54_813 nanoseconds.
|
||||
Weight::from_ref_time(55_274_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -127,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: 46_875 nanoseconds.
|
||||
Weight::from_ref_time(47_851_000 as u64)
|
||||
// Minimum execution time: 46_303 nanoseconds.
|
||||
Weight::from_ref_time(46_825_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -136,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: 54_034 nanoseconds.
|
||||
Weight::from_ref_time(54_844_000 as u64)
|
||||
// Minimum execution time: 55_087 nanoseconds.
|
||||
Weight::from_ref_time(55_481_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:0)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn freeze() -> Weight {
|
||||
// Minimum execution time: 26_999 nanoseconds.
|
||||
Weight::from_ref_time(27_726_000 as u64)
|
||||
// Minimum execution time: 26_064 nanoseconds.
|
||||
Weight::from_ref_time(26_763_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:0)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn thaw() -> Weight {
|
||||
// Minimum execution time: 27_682 nanoseconds.
|
||||
Weight::from_ref_time(28_351_000 as u64)
|
||||
// Minimum execution time: 25_845 nanoseconds.
|
||||
Weight::from_ref_time(26_484_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn freeze_asset() -> Weight {
|
||||
// Minimum execution time: 23_728 nanoseconds.
|
||||
Weight::from_ref_time(24_166_000 as u64)
|
||||
// Minimum execution time: 22_430 nanoseconds.
|
||||
Weight::from_ref_time(22_703_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn thaw_asset() -> Weight {
|
||||
// Minimum execution time: 23_791 nanoseconds.
|
||||
Weight::from_ref_time(24_364_000 as u64)
|
||||
// Minimum execution time: 22_226 nanoseconds.
|
||||
Weight::from_ref_time(22_607_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Metadata (r:1 w:0)
|
||||
fn transfer_ownership() -> Weight {
|
||||
// Minimum execution time: 26_966 nanoseconds.
|
||||
Weight::from_ref_time(27_523_000 as u64)
|
||||
// Minimum execution time: 23_094 nanoseconds.
|
||||
Weight::from_ref_time(23_443_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn set_team() -> Weight {
|
||||
// Minimum execution time: 25_328 nanoseconds.
|
||||
Weight::from_ref_time(26_269_000 as u64)
|
||||
// Minimum execution time: 21_775 nanoseconds.
|
||||
Weight::from_ref_time(22_206_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -191,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: 37_944 nanoseconds.
|
||||
Weight::from_ref_time(39_907_434 as u64)
|
||||
// Standard Error: 1_184
|
||||
.saturating_add(Weight::from_ref_time(1_425 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 35_793 nanoseconds.
|
||||
Weight::from_ref_time(37_410_141 as u64)
|
||||
// Standard Error: 1_157
|
||||
.saturating_add(Weight::from_ref_time(1_997 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:0)
|
||||
// Storage: Assets Metadata (r:1 w:1)
|
||||
fn clear_metadata() -> Weight {
|
||||
// Minimum execution time: 42_405 nanoseconds.
|
||||
Weight::from_ref_time(42_928_000 as u64)
|
||||
// Minimum execution time: 37_729 nanoseconds.
|
||||
Weight::from_ref_time(38_571_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -210,60 +215,62 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Assets Metadata (r:1 w:1)
|
||||
/// 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: 25_887 nanoseconds.
|
||||
Weight::from_ref_time(27_025_214 as u64)
|
||||
// Standard Error: 653
|
||||
.saturating_add(Weight::from_ref_time(3_265 as u64).saturating_mul(s as u64))
|
||||
fn force_set_metadata(n: u32, s: u32, ) -> Weight {
|
||||
// Minimum execution time: 22_008 nanoseconds.
|
||||
Weight::from_ref_time(22_975_610 as u64)
|
||||
// Standard Error: 515
|
||||
.saturating_add(Weight::from_ref_time(980 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 515
|
||||
.saturating_add(Weight::from_ref_time(2_708 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:0)
|
||||
// Storage: Assets Metadata (r:1 w:1)
|
||||
fn force_clear_metadata() -> Weight {
|
||||
// Minimum execution time: 42_574 nanoseconds.
|
||||
Weight::from_ref_time(43_101_000 as u64)
|
||||
// Minimum execution time: 37_820 nanoseconds.
|
||||
Weight::from_ref_time(38_298_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn force_asset_status() -> Weight {
|
||||
// Minimum execution time: 24_272 nanoseconds.
|
||||
Weight::from_ref_time(24_780_000 as u64)
|
||||
// Minimum execution time: 20_936 nanoseconds.
|
||||
Weight::from_ref_time(21_344_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Approvals (r:1 w:1)
|
||||
fn approve_transfer() -> Weight {
|
||||
// Minimum execution time: 42_592 nanoseconds.
|
||||
Weight::from_ref_time(43_219_000 as u64)
|
||||
// Minimum execution time: 40_257 nanoseconds.
|
||||
Weight::from_ref_time(41_168_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Assets Approvals (r:1 w:1)
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Approvals (r:1 w:1)
|
||||
// Storage: Assets Account (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_approved() -> Weight {
|
||||
// Minimum execution time: 71_604 nanoseconds.
|
||||
Weight::from_ref_time(72_638_000 as u64)
|
||||
// Minimum execution time: 69_626 nanoseconds.
|
||||
Weight::from_ref_time(70_004_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Approvals (r:1 w:1)
|
||||
fn cancel_approval() -> Weight {
|
||||
// Minimum execution time: 43_926 nanoseconds.
|
||||
Weight::from_ref_time(44_583_000 as u64)
|
||||
// Minimum execution time: 41_602 nanoseconds.
|
||||
Weight::from_ref_time(42_724_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Approvals (r:1 w:1)
|
||||
fn force_cancel_approval() -> Weight {
|
||||
// Minimum execution time: 44_408 nanoseconds.
|
||||
Weight::from_ref_time(44_999_000 as u64)
|
||||
// Minimum execution time: 42_164 nanoseconds.
|
||||
Weight::from_ref_time(43_550_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user