mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 15:41:02 +00:00
[Backport] weights 9430 to master (#2710)
* [benchmarks] pr with weights (#2667) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] pr with weights (#2668) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] pr with weights (#2669) co-authored-by: paritytech-ci <paritytech-ci@parity.io> --------- Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com> Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
This commit is contained in:
+141
-133
@@ -17,7 +17,7 @@
|
||||
//! Autogenerated weights for `pallet_nfts`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-05-31, 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("asset-hub-kusama-dev"), DB CACHE: 1024
|
||||
@@ -60,10 +60,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
||||
fn create() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `145`
|
||||
// Measured: `179`
|
||||
// Estimated: `3549`
|
||||
// Minimum execution time: 39_589_000 picoseconds.
|
||||
Weight::from_parts(40_305_000, 0)
|
||||
// Minimum execution time: 39_242_000 picoseconds.
|
||||
Weight::from_parts(39_979_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3549))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
@@ -80,10 +80,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
||||
fn force_create() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42`
|
||||
// Measured: `76`
|
||||
// Estimated: `3549`
|
||||
// Minimum execution time: 23_945_000 picoseconds.
|
||||
Weight::from_parts(24_351_000, 0)
|
||||
// Minimum execution time: 22_811_000 picoseconds.
|
||||
Weight::from_parts(23_487_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3549))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
@@ -107,15 +107,17 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[0, 1000]`.
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
/// The range of component `a` is `[0, 1000]`.
|
||||
fn destroy(_m: u32, _c: u32, a: u32, ) -> Weight {
|
||||
fn destroy(m: u32, _c: u32, a: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `32170 + a * (366 ±0)`
|
||||
// Measured: `32204 + a * (366 ±0)`
|
||||
// Estimated: `2523990 + a * (2954 ±0)`
|
||||
// Minimum execution time: 992_533_000 picoseconds.
|
||||
Weight::from_parts(941_813_359, 0)
|
||||
// Minimum execution time: 1_008_270_000 picoseconds.
|
||||
Weight::from_parts(949_754_969, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2523990))
|
||||
// Standard Error: 3_954
|
||||
.saturating_add(Weight::from_parts(5_784_754, 0).saturating_mul(a.into()))
|
||||
// Standard Error: 3_875
|
||||
.saturating_add(Weight::from_parts(7_023, 0).saturating_mul(m.into()))
|
||||
// Standard Error: 3_875
|
||||
.saturating_add(Weight::from_parts(5_813_679, 0).saturating_mul(a.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1004))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1005))
|
||||
@@ -136,10 +138,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
||||
fn mint() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `421`
|
||||
// Measured: `455`
|
||||
// Estimated: `4326`
|
||||
// Minimum execution time: 49_305_000 picoseconds.
|
||||
Weight::from_parts(50_143_000, 0)
|
||||
// Minimum execution time: 49_850_000 picoseconds.
|
||||
Weight::from_parts(50_181_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4326))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
@@ -158,10 +160,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
||||
fn force_mint() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `421`
|
||||
// Measured: `455`
|
||||
// Estimated: `4326`
|
||||
// Minimum execution time: 48_627_000 picoseconds.
|
||||
Weight::from_parts(48_954_000, 0)
|
||||
// Minimum execution time: 48_785_000 picoseconds.
|
||||
Weight::from_parts(49_386_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4326))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
@@ -184,16 +186,18 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
||||
fn burn() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `530`
|
||||
// Measured: `564`
|
||||
// Estimated: `4326`
|
||||
// Minimum execution time: 49_958_000 picoseconds.
|
||||
Weight::from_parts(50_387_000, 0)
|
||||
// Minimum execution time: 50_001_000 picoseconds.
|
||||
Weight::from_parts(50_295_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4326))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
}
|
||||
/// Storage: Nfts Collection (r:1 w:0)
|
||||
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
||||
/// Storage: Nfts Attribute (r:1 w:0)
|
||||
/// Proof: Nfts Attribute (max_values: None, max_size: Some(479), added: 2954, mode: MaxEncodedLen)
|
||||
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
||||
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
||||
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
||||
@@ -208,12 +212,12 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
||||
fn transfer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `559`
|
||||
// Measured: `593`
|
||||
// Estimated: `4326`
|
||||
// Minimum execution time: 36_267_000 picoseconds.
|
||||
Weight::from_parts(36_712_000, 0)
|
||||
// Minimum execution time: 40_767_000 picoseconds.
|
||||
Weight::from_parts(41_056_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4326))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
/// Storage: Nfts Collection (r:1 w:0)
|
||||
@@ -225,13 +229,13 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `i` is `[0, 5000]`.
|
||||
fn redeposit(i: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `729 + i * (108 ±0)`
|
||||
// Measured: `763 + i * (108 ±0)`
|
||||
// Estimated: `3549 + i * (3336 ±0)`
|
||||
// Minimum execution time: 17_738_000 picoseconds.
|
||||
Weight::from_parts(17_801_000, 0)
|
||||
// Minimum execution time: 17_346_000 picoseconds.
|
||||
Weight::from_parts(17_545_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3549))
|
||||
// Standard Error: 13_596
|
||||
.saturating_add(Weight::from_parts(15_695_790, 0).saturating_mul(i.into()))
|
||||
// Standard Error: 13_113
|
||||
.saturating_add(Weight::from_parts(15_650_659, 0).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
@@ -243,10 +247,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
||||
fn lock_item_transfer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `401`
|
||||
// Measured: `435`
|
||||
// Estimated: `3534`
|
||||
// Minimum execution time: 20_845_000 picoseconds.
|
||||
Weight::from_parts(21_133_000, 0)
|
||||
// Minimum execution time: 20_978_000 picoseconds.
|
||||
Weight::from_parts(21_261_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3534))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -257,10 +261,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
||||
fn unlock_item_transfer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `401`
|
||||
// Measured: `435`
|
||||
// Estimated: `3534`
|
||||
// Minimum execution time: 20_862_000 picoseconds.
|
||||
Weight::from_parts(21_105_000, 0)
|
||||
// Minimum execution time: 20_612_000 picoseconds.
|
||||
Weight::from_parts(21_057_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3534))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -271,10 +275,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
||||
fn lock_collection() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `306`
|
||||
// Measured: `340`
|
||||
// Estimated: `3549`
|
||||
// Minimum execution time: 18_196_000 picoseconds.
|
||||
Weight::from_parts(18_333_000, 0)
|
||||
// Minimum execution time: 18_161_000 picoseconds.
|
||||
Weight::from_parts(18_387_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3549))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -287,10 +291,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
||||
fn transfer_ownership() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `354`
|
||||
// Measured: `388`
|
||||
// Estimated: `3549`
|
||||
// Minimum execution time: 24_025_000 picoseconds.
|
||||
Weight::from_parts(24_277_000, 0)
|
||||
// Minimum execution time: 23_737_000 picoseconds.
|
||||
Weight::from_parts(24_195_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3549))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
@@ -301,10 +305,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
||||
fn set_team() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `335`
|
||||
// Measured: `369`
|
||||
// Estimated: `6078`
|
||||
// Minimum execution time: 40_974_000 picoseconds.
|
||||
Weight::from_parts(41_706_000, 0)
|
||||
// Minimum execution time: 40_987_000 picoseconds.
|
||||
Weight::from_parts(42_056_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6078))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
@@ -315,10 +319,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
||||
fn force_collection_owner() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `277`
|
||||
// Measured: `311`
|
||||
// Estimated: `3549`
|
||||
// Minimum execution time: 19_044_000 picoseconds.
|
||||
Weight::from_parts(19_465_000, 0)
|
||||
// Minimum execution time: 18_644_000 picoseconds.
|
||||
Weight::from_parts(18_987_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3549))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
@@ -329,10 +333,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
||||
fn force_collection_config() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `242`
|
||||
// Measured: `276`
|
||||
// Estimated: `3549`
|
||||
// Minimum execution time: 15_591_000 picoseconds.
|
||||
Weight::from_parts(15_858_000, 0)
|
||||
// Minimum execution time: 15_356_000 picoseconds.
|
||||
Weight::from_parts(15_548_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3549))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -343,10 +347,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
||||
fn lock_item_properties() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `401`
|
||||
// Measured: `435`
|
||||
// Estimated: `3534`
|
||||
// Minimum execution time: 20_831_000 picoseconds.
|
||||
Weight::from_parts(21_121_000, 0)
|
||||
// Minimum execution time: 20_805_000 picoseconds.
|
||||
Weight::from_parts(21_023_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3534))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -363,10 +367,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts Attribute (max_values: None, max_size: Some(479), added: 2954, mode: MaxEncodedLen)
|
||||
fn set_attribute() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `505`
|
||||
// Measured: `539`
|
||||
// Estimated: `3944`
|
||||
// Minimum execution time: 50_650_000 picoseconds.
|
||||
Weight::from_parts(51_315_000, 0)
|
||||
// Minimum execution time: 50_508_000 picoseconds.
|
||||
Weight::from_parts(50_955_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3944))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
@@ -377,10 +381,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts Attribute (max_values: None, max_size: Some(479), added: 2954, mode: MaxEncodedLen)
|
||||
fn force_set_attribute() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `310`
|
||||
// Measured: `344`
|
||||
// Estimated: `3944`
|
||||
// Minimum execution time: 28_244_000 picoseconds.
|
||||
Weight::from_parts(28_627_000, 0)
|
||||
// Minimum execution time: 27_790_000 picoseconds.
|
||||
Weight::from_parts(28_096_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3944))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
@@ -395,10 +399,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
||||
fn clear_attribute() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `949`
|
||||
// Measured: `983`
|
||||
// Estimated: `3944`
|
||||
// Minimum execution time: 47_299_000 picoseconds.
|
||||
Weight::from_parts(47_921_000, 0)
|
||||
// Minimum execution time: 47_390_000 picoseconds.
|
||||
Weight::from_parts(47_933_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3944))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
@@ -409,10 +413,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts ItemAttributesApprovalsOf (max_values: None, max_size: Some(1001), added: 3476, mode: MaxEncodedLen)
|
||||
fn approve_item_attributes() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `347`
|
||||
// Measured: `381`
|
||||
// Estimated: `4466`
|
||||
// Minimum execution time: 19_400_000 picoseconds.
|
||||
Weight::from_parts(19_601_000, 0)
|
||||
// Minimum execution time: 19_011_000 picoseconds.
|
||||
Weight::from_parts(19_334_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4466))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -428,13 +432,13 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[0, 1000]`.
|
||||
fn cancel_item_attributes_approval(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `726 + n * (398 ±0)`
|
||||
// Measured: `760 + n * (398 ±0)`
|
||||
// Estimated: `4466 + n * (2954 ±0)`
|
||||
// Minimum execution time: 28_552_000 picoseconds.
|
||||
Weight::from_parts(28_822_000, 0)
|
||||
// Minimum execution time: 28_418_000 picoseconds.
|
||||
Weight::from_parts(28_675_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4466))
|
||||
// Standard Error: 3_265
|
||||
.saturating_add(Weight::from_parts(5_570_824, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 3_721
|
||||
.saturating_add(Weight::from_parts(5_652_766, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
@@ -453,10 +457,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(347), added: 2822, mode: MaxEncodedLen)
|
||||
fn set_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `505`
|
||||
// Measured: `539`
|
||||
// Estimated: `3812`
|
||||
// Minimum execution time: 42_425_000 picoseconds.
|
||||
Weight::from_parts(42_883_000, 0)
|
||||
// Minimum execution time: 42_204_000 picoseconds.
|
||||
Weight::from_parts(42_653_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3812))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
@@ -471,10 +475,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
||||
fn clear_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `815`
|
||||
// Measured: `849`
|
||||
// Estimated: `3812`
|
||||
// Minimum execution time: 40_219_000 picoseconds.
|
||||
Weight::from_parts(41_709_000, 0)
|
||||
// Minimum execution time: 40_302_000 picoseconds.
|
||||
Weight::from_parts(40_764_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3812))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
@@ -489,10 +493,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts CollectionMetadataOf (max_values: None, max_size: Some(294), added: 2769, mode: MaxEncodedLen)
|
||||
fn set_collection_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `364`
|
||||
// Measured: `398`
|
||||
// Estimated: `3759`
|
||||
// Minimum execution time: 39_376_000 picoseconds.
|
||||
Weight::from_parts(39_895_000, 0)
|
||||
// Minimum execution time: 39_557_000 picoseconds.
|
||||
Weight::from_parts(39_873_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3759))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
@@ -507,10 +511,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts CollectionMetadataOf (max_values: None, max_size: Some(294), added: 2769, mode: MaxEncodedLen)
|
||||
fn clear_collection_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `682`
|
||||
// Measured: `716`
|
||||
// Estimated: `3759`
|
||||
// Minimum execution time: 38_414_000 picoseconds.
|
||||
Weight::from_parts(38_627_000, 0)
|
||||
// Minimum execution time: 37_964_000 picoseconds.
|
||||
Weight::from_parts(38_410_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3759))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -521,10 +525,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
||||
fn approve_transfer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `376`
|
||||
// Measured: `410`
|
||||
// Estimated: `4326`
|
||||
// Minimum execution time: 22_896_000 picoseconds.
|
||||
Weight::from_parts(23_137_000, 0)
|
||||
// Minimum execution time: 22_516_000 picoseconds.
|
||||
Weight::from_parts(22_843_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4326))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -533,10 +537,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
||||
fn cancel_approval() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `384`
|
||||
// Measured: `418`
|
||||
// Estimated: `4326`
|
||||
// Minimum execution time: 20_602_000 picoseconds.
|
||||
Weight::from_parts(20_869_000, 0)
|
||||
// Minimum execution time: 20_051_000 picoseconds.
|
||||
Weight::from_parts(20_396_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4326))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -545,10 +549,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
||||
fn clear_all_transfer_approvals() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `384`
|
||||
// Measured: `418`
|
||||
// Estimated: `4326`
|
||||
// Minimum execution time: 19_415_000 picoseconds.
|
||||
Weight::from_parts(19_594_000, 0)
|
||||
// Minimum execution time: 19_044_000 picoseconds.
|
||||
Weight::from_parts(19_380_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4326))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -557,10 +561,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts OwnershipAcceptance (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
||||
fn set_accept_ownership() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42`
|
||||
// Measured: `76`
|
||||
// Estimated: `3517`
|
||||
// Minimum execution time: 16_784_000 picoseconds.
|
||||
Weight::from_parts(17_133_000, 0)
|
||||
// Minimum execution time: 16_713_000 picoseconds.
|
||||
Weight::from_parts(16_965_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3517))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -571,10 +575,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
||||
fn set_collection_max_supply() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `306`
|
||||
// Measured: `340`
|
||||
// Estimated: `3549`
|
||||
// Minimum execution time: 20_391_000 picoseconds.
|
||||
Weight::from_parts(20_710_000, 0)
|
||||
// Minimum execution time: 20_309_000 picoseconds.
|
||||
Weight::from_parts(20_536_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3549))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -585,10 +589,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
||||
fn update_mint_settings() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `289`
|
||||
// Measured: `323`
|
||||
// Estimated: `3538`
|
||||
// Minimum execution time: 19_989_000 picoseconds.
|
||||
Weight::from_parts(20_179_000, 0)
|
||||
// Minimum execution time: 19_927_000 picoseconds.
|
||||
Weight::from_parts(20_342_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3538))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -603,10 +607,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
||||
fn set_price() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `484`
|
||||
// Measured: `518`
|
||||
// Estimated: `4326`
|
||||
// Minimum execution time: 24_308_000 picoseconds.
|
||||
Weight::from_parts(24_721_000, 0)
|
||||
// Minimum execution time: 25_179_000 picoseconds.
|
||||
Weight::from_parts(25_440_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4326))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -617,6 +621,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
||||
/// Storage: Nfts Collection (r:1 w:0)
|
||||
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
||||
/// Storage: Nfts Attribute (r:1 w:0)
|
||||
/// Proof: Nfts Attribute (max_values: None, max_size: Some(479), added: 2954, mode: MaxEncodedLen)
|
||||
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
||||
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
||||
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
||||
@@ -627,12 +633,12 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
||||
fn buy_item() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `671`
|
||||
// Measured: `705`
|
||||
// Estimated: `4326`
|
||||
// Minimum execution time: 45_626_000 picoseconds.
|
||||
Weight::from_parts(46_030_000, 0)
|
||||
// Minimum execution time: 50_407_000 picoseconds.
|
||||
Weight::from_parts(50_878_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4326))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
/// The range of component `n` is `[0, 10]`.
|
||||
@@ -640,11 +646,11 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_654_000 picoseconds.
|
||||
Weight::from_parts(4_301_940, 0)
|
||||
// Minimum execution time: 2_590_000 picoseconds.
|
||||
Weight::from_parts(4_219_244, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 9_223
|
||||
.saturating_add(Weight::from_parts(3_945_966, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 9_402
|
||||
.saturating_add(Weight::from_parts(3_693_213, 0).saturating_mul(n.into()))
|
||||
}
|
||||
/// Storage: Nfts Item (r:2 w:0)
|
||||
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
||||
@@ -652,10 +658,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
||||
fn create_swap() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `460`
|
||||
// Measured: `494`
|
||||
// Estimated: `7662`
|
||||
// Minimum execution time: 23_071_000 picoseconds.
|
||||
Weight::from_parts(23_535_000, 0)
|
||||
// Minimum execution time: 22_440_000 picoseconds.
|
||||
Weight::from_parts(22_872_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7662))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -666,10 +672,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
||||
fn cancel_swap() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `479`
|
||||
// Measured: `513`
|
||||
// Estimated: `4326`
|
||||
// Minimum execution time: 21_554_000 picoseconds.
|
||||
Weight::from_parts(21_941_000, 0)
|
||||
// Minimum execution time: 21_391_000 picoseconds.
|
||||
Weight::from_parts(21_718_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4326))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -680,6 +686,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
||||
/// Storage: Nfts Collection (r:1 w:0)
|
||||
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
||||
/// Storage: Nfts Attribute (r:2 w:0)
|
||||
/// Proof: Nfts Attribute (max_values: None, max_size: Some(479), added: 2954, mode: MaxEncodedLen)
|
||||
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
||||
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
||||
/// Storage: Nfts ItemConfigOf (r:2 w:0)
|
||||
@@ -690,12 +698,12 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
||||
fn claim_swap() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `800`
|
||||
// Measured: `834`
|
||||
// Estimated: `7662`
|
||||
// Minimum execution time: 74_272_000 picoseconds.
|
||||
Weight::from_parts(75_374_000, 0)
|
||||
// Minimum execution time: 82_838_000 picoseconds.
|
||||
Weight::from_parts(83_842_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7662))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(10))
|
||||
}
|
||||
/// Storage: Nfts CollectionRoleOf (r:2 w:0)
|
||||
@@ -719,13 +727,13 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[0, 10]`.
|
||||
fn mint_pre_signed(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `524`
|
||||
// Measured: `558`
|
||||
// Estimated: `6078 + n * (2954 ±0)`
|
||||
// Minimum execution time: 133_545_000 picoseconds.
|
||||
Weight::from_parts(137_797_962, 0)
|
||||
// Minimum execution time: 133_585_000 picoseconds.
|
||||
Weight::from_parts(138_200_829, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6078))
|
||||
// Standard Error: 33_124
|
||||
.saturating_add(Weight::from_parts(29_785_862, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 24_914
|
||||
.saturating_add(Weight::from_parts(29_531_886, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
@@ -747,13 +755,13 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[0, 10]`.
|
||||
fn set_attributes_pre_signed(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `554`
|
||||
// Measured: `588`
|
||||
// Estimated: `4466 + n * (2954 ±0)`
|
||||
// Minimum execution time: 77_475_000 picoseconds.
|
||||
Weight::from_parts(88_353_947, 0)
|
||||
// Minimum execution time: 77_015_000 picoseconds.
|
||||
Weight::from_parts(87_887_301, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4466))
|
||||
// Standard Error: 60_491
|
||||
.saturating_add(Weight::from_parts(29_507_037, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 60_927
|
||||
.saturating_add(Weight::from_parts(29_146_930, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
|
||||
Reference in New Issue
Block a user