mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 13:21:01 +00:00
[backport] weights 9400 (#2425)
* [benchmarks] pr with weights (#2373) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] pr with weights (#2374) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] pr with weights (#2375) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * Proof size in test wasn't sufficient (due to updated weights.) --------- Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: Giles Cope <gilescope@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright Parity Technologies (UK) Ltd.
|
||||
// This file is part of Cumulus.
|
||||
|
||||
// Cumulus is free software: you can redistribute it and/or modify
|
||||
@@ -17,7 +17,7 @@
|
||||
//! Autogenerated weights for `pallet_assets`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-03-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||
@@ -53,11 +53,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn create() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `141`
|
||||
// Estimated: `5288`
|
||||
// Minimum execution time: 21_487 nanoseconds.
|
||||
Weight::from_parts(21_977_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5288))
|
||||
// Measured: `109`
|
||||
// Estimated: `7268`
|
||||
// Minimum execution time: 24_493_000 picoseconds.
|
||||
Weight::from_parts(24_993_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7268))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -66,10 +66,10 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
fn force_create() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `6`
|
||||
// Estimated: `2685`
|
||||
// Minimum execution time: 10_630 nanoseconds.
|
||||
Weight::from_parts(10_963_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2685))
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 12_605_000 picoseconds.
|
||||
Weight::from_parts(12_888_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3675))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -77,11 +77,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
fn start_destroy() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `309`
|
||||
// Estimated: `2685`
|
||||
// Minimum execution time: 13_627 nanoseconds.
|
||||
Weight::from_parts(13_906_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2685))
|
||||
// Measured: `277`
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 14_917_000 picoseconds.
|
||||
Weight::from_parts(15_146_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3675))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -94,13 +94,13 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn destroy_accounts(c: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + c * (240 ±0)`
|
||||
// Estimated: `5262 + c * (5180 ±0)`
|
||||
// Minimum execution time: 15_861 nanoseconds.
|
||||
Weight::from_parts(16_079_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5262))
|
||||
// Standard Error: 10_732
|
||||
.saturating_add(Weight::from_parts(14_192_928, 0).saturating_mul(c.into()))
|
||||
// Measured: `0 + c * (208 ±0)`
|
||||
// Estimated: `8232 + c * (5180 ±0)`
|
||||
// Minimum execution time: 17_844_000 picoseconds.
|
||||
Weight::from_parts(18_064_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8232))
|
||||
// Standard Error: 6_979
|
||||
.saturating_add(Weight::from_parts(12_064_749, 0).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))
|
||||
@@ -114,13 +114,13 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `a` is `[0, 1000]`.
|
||||
fn destroy_approvals(a: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `446 + a * (86 ±0)`
|
||||
// Estimated: `5308 + a * (2623 ±0)`
|
||||
// Minimum execution time: 16_455 nanoseconds.
|
||||
Weight::from_parts(16_720_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5308))
|
||||
// Standard Error: 7_111
|
||||
.saturating_add(Weight::from_parts(13_717_750, 0).saturating_mul(a.into()))
|
||||
// Measured: `414 + a * (86 ±0)`
|
||||
// Estimated: `7288 + a * (2623 ±0)`
|
||||
// Minimum execution time: 18_402_000 picoseconds.
|
||||
Weight::from_parts(18_742_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7288))
|
||||
// Standard Error: 5_332
|
||||
.saturating_add(Weight::from_parts(12_085_212, 0).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))
|
||||
@@ -133,11 +133,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
||||
fn finish_destroy() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `275`
|
||||
// Estimated: `5300`
|
||||
// Minimum execution time: 12_819 nanoseconds.
|
||||
Weight::from_parts(13_111_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5300))
|
||||
// Measured: `243`
|
||||
// Estimated: `7280`
|
||||
// Minimum execution time: 14_390_000 picoseconds.
|
||||
Weight::from_parts(14_903_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7280))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -147,11 +147,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
|
||||
fn mint() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `275`
|
||||
// Estimated: `5262`
|
||||
// Minimum execution time: 22_897 nanoseconds.
|
||||
Weight::from_parts(23_386_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5262))
|
||||
// Measured: `243`
|
||||
// Estimated: `7242`
|
||||
// Minimum execution time: 26_171_000 picoseconds.
|
||||
Weight::from_parts(26_478_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7242))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -161,11 +161,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
|
||||
fn burn() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `383`
|
||||
// Estimated: `5262`
|
||||
// Minimum execution time: 28_432 nanoseconds.
|
||||
Weight::from_parts(28_903_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5262))
|
||||
// Measured: `351`
|
||||
// Estimated: `7242`
|
||||
// Minimum execution time: 31_291_000 picoseconds.
|
||||
Weight::from_parts(31_810_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7242))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -177,11 +177,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn transfer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `383`
|
||||
// Estimated: `10442`
|
||||
// Minimum execution time: 39_823 nanoseconds.
|
||||
Weight::from_parts(40_380_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10442))
|
||||
// Measured: `351`
|
||||
// Estimated: `13412`
|
||||
// Minimum execution time: 42_608_000 picoseconds.
|
||||
Weight::from_parts(43_553_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 13412))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -193,11 +193,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `383`
|
||||
// Estimated: `10442`
|
||||
// Minimum execution time: 34_924 nanoseconds.
|
||||
Weight::from_parts(35_584_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10442))
|
||||
// Measured: `351`
|
||||
// Estimated: `13412`
|
||||
// Minimum execution time: 37_541_000 picoseconds.
|
||||
Weight::from_parts(38_166_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 13412))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -209,11 +209,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn force_transfer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `383`
|
||||
// Estimated: `10442`
|
||||
// Minimum execution time: 39_647 nanoseconds.
|
||||
Weight::from_parts(40_611_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10442))
|
||||
// Measured: `351`
|
||||
// Estimated: `13412`
|
||||
// Minimum execution time: 42_931_000 picoseconds.
|
||||
Weight::from_parts(43_458_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 13412))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -223,11 +223,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
|
||||
fn freeze() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `383`
|
||||
// Estimated: `5262`
|
||||
// Minimum execution time: 16_462 nanoseconds.
|
||||
Weight::from_parts(16_821_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5262))
|
||||
// Measured: `351`
|
||||
// Estimated: `7242`
|
||||
// Minimum execution time: 17_652_000 picoseconds.
|
||||
Weight::from_parts(18_018_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7242))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -237,11 +237,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
|
||||
fn thaw() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `383`
|
||||
// Estimated: `5262`
|
||||
// Minimum execution time: 16_416 nanoseconds.
|
||||
Weight::from_parts(16_758_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5262))
|
||||
// Measured: `351`
|
||||
// Estimated: `7242`
|
||||
// Minimum execution time: 17_510_000 picoseconds.
|
||||
Weight::from_parts(17_911_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7242))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -249,11 +249,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
fn freeze_asset() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `309`
|
||||
// Estimated: `2685`
|
||||
// Minimum execution time: 12_853 nanoseconds.
|
||||
Weight::from_parts(13_257_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2685))
|
||||
// Measured: `277`
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 13_954_000 picoseconds.
|
||||
Weight::from_parts(14_284_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3675))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -261,11 +261,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
fn thaw_asset() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `309`
|
||||
// Estimated: `2685`
|
||||
// Minimum execution time: 12_422 nanoseconds.
|
||||
Weight::from_parts(12_763_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2685))
|
||||
// Measured: `277`
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 14_216_000 picoseconds.
|
||||
Weight::from_parts(14_459_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3675))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -275,11 +275,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
||||
fn transfer_ownership() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `275`
|
||||
// Estimated: `5300`
|
||||
// Minimum execution time: 13_950 nanoseconds.
|
||||
Weight::from_parts(14_242_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5300))
|
||||
// Measured: `243`
|
||||
// Estimated: `7280`
|
||||
// Minimum execution time: 15_550_000 picoseconds.
|
||||
Weight::from_parts(16_001_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7280))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -287,11 +287,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
fn set_team() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `275`
|
||||
// Estimated: `2685`
|
||||
// Minimum execution time: 12_726 nanoseconds.
|
||||
Weight::from_parts(13_072_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2685))
|
||||
// Measured: `243`
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 14_389_000 picoseconds.
|
||||
Weight::from_parts(14_677_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3675))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -301,15 +301,13 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
||||
/// The range of component `n` is `[0, 50]`.
|
||||
/// The range of component `s` is `[0, 50]`.
|
||||
fn set_metadata(_n: u32, s: u32, ) -> Weight {
|
||||
fn set_metadata(_n: u32, _s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `275`
|
||||
// Estimated: `5300`
|
||||
// Minimum execution time: 22_772 nanoseconds.
|
||||
Weight::from_parts(24_026_274, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5300))
|
||||
// Standard Error: 1_231
|
||||
.saturating_add(Weight::from_parts(203, 0).saturating_mul(s.into()))
|
||||
// Measured: `243`
|
||||
// Estimated: `7280`
|
||||
// Minimum execution time: 25_401_000 picoseconds.
|
||||
Weight::from_parts(27_056_833, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7280))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -319,11 +317,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
||||
fn clear_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `471`
|
||||
// Estimated: `5300`
|
||||
// Minimum execution time: 23_310 nanoseconds.
|
||||
Weight::from_parts(23_724_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5300))
|
||||
// Measured: `407`
|
||||
// Estimated: `7280`
|
||||
// Minimum execution time: 26_001_000 picoseconds.
|
||||
Weight::from_parts(26_493_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7280))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -333,17 +331,15 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
||||
/// 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 {
|
||||
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `82`
|
||||
// Estimated: `5300`
|
||||
// Minimum execution time: 12_379 nanoseconds.
|
||||
Weight::from_parts(12_903_065, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5300))
|
||||
// Standard Error: 330
|
||||
.saturating_add(Weight::from_parts(667, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 330
|
||||
.saturating_add(Weight::from_parts(2_891, 0).saturating_mul(s.into()))
|
||||
// Estimated: `7280`
|
||||
// Minimum execution time: 13_988_000 picoseconds.
|
||||
Weight::from_parts(14_751_106, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7280))
|
||||
// Standard Error: 381
|
||||
.saturating_add(Weight::from_parts(2_884, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -353,11 +349,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
||||
fn force_clear_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `471`
|
||||
// Estimated: `5300`
|
||||
// Minimum execution time: 23_531 nanoseconds.
|
||||
Weight::from_parts(23_845_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5300))
|
||||
// Measured: `407`
|
||||
// Estimated: `7280`
|
||||
// Minimum execution time: 25_837_000 picoseconds.
|
||||
Weight::from_parts(26_110_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7280))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -365,11 +361,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
fn force_asset_status() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `275`
|
||||
// Estimated: `2685`
|
||||
// Minimum execution time: 12_426 nanoseconds.
|
||||
Weight::from_parts(12_888_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2685))
|
||||
// Measured: `243`
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 13_423_000 picoseconds.
|
||||
Weight::from_parts(13_565_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3675))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -379,11 +375,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
|
||||
fn approve_transfer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `309`
|
||||
// Estimated: `5308`
|
||||
// Minimum execution time: 26_365 nanoseconds.
|
||||
Weight::from_parts(26_700_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5308))
|
||||
// Measured: `277`
|
||||
// Estimated: `7288`
|
||||
// Minimum execution time: 29_285_000 picoseconds.
|
||||
Weight::from_parts(29_727_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7288))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -397,11 +393,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn transfer_approved() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `553`
|
||||
// Estimated: `13065`
|
||||
// Minimum execution time: 53_167 nanoseconds.
|
||||
Weight::from_parts(53_564_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 13065))
|
||||
// Measured: `521`
|
||||
// Estimated: `17025`
|
||||
// Minimum execution time: 58_369_000 picoseconds.
|
||||
Weight::from_parts(58_844_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 17025))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
@@ -411,11 +407,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
|
||||
fn cancel_approval() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `479`
|
||||
// Estimated: `5308`
|
||||
// Minimum execution time: 28_120 nanoseconds.
|
||||
Weight::from_parts(28_540_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5308))
|
||||
// Measured: `447`
|
||||
// Estimated: `7288`
|
||||
// Minimum execution time: 31_073_000 picoseconds.
|
||||
Weight::from_parts(31_536_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7288))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -425,11 +421,11 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
|
||||
fn force_cancel_approval() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `479`
|
||||
// Estimated: `5308`
|
||||
// Minimum execution time: 28_503 nanoseconds.
|
||||
Weight::from_parts(28_988_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5308))
|
||||
// Measured: `447`
|
||||
// Estimated: `7288`
|
||||
// Minimum execution time: 32_182_000 picoseconds.
|
||||
Weight::from_parts(32_625_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7288))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -437,12 +433,12 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
fn set_min_balance() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `383`
|
||||
// Measured: `243`
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 16_213 nanoseconds.
|
||||
Weight::from_parts(16_575_000, 0)
|
||||
// Minimum execution time: 14_610_000 picoseconds.
|
||||
Weight::from_parts(14_895_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3675))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user