difftreelog
bench rmrk
in: master
2 files changed
pallets/proxy-rmrk-core/src/weights.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/weights.rs
+++ b/pallets/proxy-rmrk-core/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_proxy_rmrk_core
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-06-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-07-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -64,7 +64,7 @@
// Storage: Common CollectionById (r:0 w:1)
// Storage: RmrkCore UniqueCollectionId (r:0 w:1)
fn create_collection() -> Weight {
- (42_500_000 as Weight)
+ (49_365_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
}
@@ -77,7 +77,7 @@
// Storage: Nonfungible TokensBurnt (r:0 w:1)
// Storage: Common AdminAmount (r:0 w:1)
fn destroy_collection() -> Weight {
- (44_263_000 as Weight)
+ (49_903_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
@@ -85,7 +85,7 @@
// Storage: Common CollectionById (r:1 w:1)
// Storage: Common CollectionProperties (r:1 w:0)
fn change_collection_issuer() -> Weight {
- (22_572_000 as Weight)
+ (26_134_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -95,7 +95,7 @@
// Storage: Nonfungible TokensMinted (r:1 w:0)
// Storage: Nonfungible TokensBurnt (r:1 w:0)
fn lock_collection() -> Weight {
- (23_795_000 as Weight)
+ (28_020_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -109,9 +109,9 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn mint_nft(b: u32, ) -> Weight {
- (48_582_000 as Weight)
- // Standard Error: 6_000
- .saturating_add((11_768_000 as Weight).saturating_mul(b as Weight))
+ (67_476_000 as Weight)
+ // Standard Error: 19_000
+ .saturating_add((12_373_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
@@ -129,8 +129,8 @@
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_nft(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_682_000
- .saturating_add((328_103_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 1_500_000
+ .saturating_add((300_520_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
@@ -146,7 +146,7 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn send() -> Weight {
- (75_080_000 as Weight)
+ (84_023_000 as Weight)
.saturating_add(T::DbWeight::get().reads(12 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
@@ -161,7 +161,7 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn accept_nft() -> Weight {
- (89_187_000 as Weight)
+ (98_502_000 as Weight)
.saturating_add(T::DbWeight::get().reads(16 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
}
@@ -177,7 +177,7 @@
// Storage: Nonfungible Allowance (r:5 w:0)
// Storage: Nonfungible Owned (r:0 w:5)
fn reject_nft() -> Weight {
- (265_500_000 as Weight)
+ (277_017_000 as Weight)
.saturating_add(T::DbWeight::get().reads(30 as Weight))
.saturating_add(T::DbWeight::get().writes(26 as Weight))
}
@@ -187,7 +187,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_property() -> Weight {
- (50_424_000 as Weight)
+ (55_408_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -197,7 +197,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_priority() -> Weight {
- (49_783_000 as Weight)
+ (55_063_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -208,7 +208,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_basic_resource() -> Weight {
- (57_497_000 as Weight)
+ (64_656_000 as Weight)
.saturating_add(T::DbWeight::get().reads(10 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -219,7 +219,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn add_composable_resource() -> Weight {
- (60_684_000 as Weight)
+ (67_593_000 as Weight)
.saturating_add(T::DbWeight::get().reads(11 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -230,7 +230,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_slot_resource() -> Weight {
- (57_107_000 as Weight)
+ (63_845_000 as Weight)
.saturating_add(T::DbWeight::get().reads(10 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -240,7 +240,7 @@
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn remove_resource() -> Weight {
- (48_252_000 as Weight)
+ (53_414_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -250,7 +250,7 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource() -> Weight {
- (46_547_000 as Weight)
+ (51_869_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -260,7 +260,7 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource_removal() -> Weight {
- (46_317_000 as Weight)
+ (53_168_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -277,7 +277,7 @@
// Storage: Common CollectionById (r:0 w:1)
// Storage: RmrkCore UniqueCollectionId (r:0 w:1)
fn create_collection() -> Weight {
- (42_500_000 as Weight)
+ (49_365_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(8 as Weight))
}
@@ -290,7 +290,7 @@
// Storage: Nonfungible TokensBurnt (r:0 w:1)
// Storage: Common AdminAmount (r:0 w:1)
fn destroy_collection() -> Weight {
- (44_263_000 as Weight)
+ (49_903_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
@@ -298,7 +298,7 @@
// Storage: Common CollectionById (r:1 w:1)
// Storage: Common CollectionProperties (r:1 w:0)
fn change_collection_issuer() -> Weight {
- (22_572_000 as Weight)
+ (26_134_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -308,7 +308,7 @@
// Storage: Nonfungible TokensMinted (r:1 w:0)
// Storage: Nonfungible TokensBurnt (r:1 w:0)
fn lock_collection() -> Weight {
- (23_795_000 as Weight)
+ (28_020_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -322,9 +322,9 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn mint_nft(b: u32, ) -> Weight {
- (48_582_000 as Weight)
- // Standard Error: 6_000
- .saturating_add((11_768_000 as Weight).saturating_mul(b as Weight))
+ (67_476_000 as Weight)
+ // Standard Error: 19_000
+ .saturating_add((12_373_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
@@ -342,8 +342,8 @@
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_nft(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_682_000
- .saturating_add((328_103_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 1_500_000
+ .saturating_add((300_520_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
@@ -359,7 +359,7 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn send() -> Weight {
- (75_080_000 as Weight)
+ (84_023_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(12 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
@@ -374,7 +374,7 @@
// Storage: Nonfungible TokenChildren (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:2)
fn accept_nft() -> Weight {
- (89_187_000 as Weight)
+ (98_502_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(16 as Weight))
.saturating_add(RocksDbWeight::get().writes(8 as Weight))
}
@@ -390,7 +390,7 @@
// Storage: Nonfungible Allowance (r:5 w:0)
// Storage: Nonfungible Owned (r:0 w:5)
fn reject_nft() -> Weight {
- (265_500_000 as Weight)
+ (277_017_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(30 as Weight))
.saturating_add(RocksDbWeight::get().writes(26 as Weight))
}
@@ -400,7 +400,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_property() -> Weight {
- (50_424_000 as Weight)
+ (55_408_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -410,7 +410,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn set_priority() -> Weight {
- (49_783_000 as Weight)
+ (55_063_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -421,7 +421,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_basic_resource() -> Weight {
- (57_497_000 as Weight)
+ (64_656_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(10 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -432,7 +432,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:2 w:2)
fn add_composable_resource() -> Weight {
- (60_684_000 as Weight)
+ (67_593_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(11 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
@@ -443,7 +443,7 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn add_slot_resource() -> Weight {
- (57_107_000 as Weight)
+ (63_845_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(10 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -453,7 +453,7 @@
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
// Storage: Nonfungible TokenData (r:5 w:0)
fn remove_resource() -> Weight {
- (48_252_000 as Weight)
+ (53_414_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -463,7 +463,7 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource() -> Weight {
- (46_547_000 as Weight)
+ (51_869_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -473,7 +473,7 @@
// Storage: Nonfungible TokenData (r:5 w:0)
// Storage: Nonfungible TokenAuxProperties (r:1 w:1)
fn accept_resource_removal() -> Weight {
- (46_317_000 as Weight)
+ (53_168_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(9 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
pallets/proxy-rmrk-equip/src/weights.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_proxy_rmrk_equip4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2022-06-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 102489// Executed Command:10// target/release/unique-collator11// benchmark12// pallet13// --pallet14// pallet-proxy-rmrk-equip15// --wasm-execution16// compiled17// --extrinsic18// *19// --template20// .maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/proxy-rmrk-equip/src/weights.rs2526#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(clippy::unnecessary_cast)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_proxy_rmrk_equip.35pub trait WeightInfo {36 fn create_base(b: u32, ) -> Weight;37 fn theme_add(b: u32, ) -> Weight;38 fn equippable() -> Weight;39}4041/// Weights for pallet_proxy_rmrk_equip using the Substrate node and recommended hardware.42pub struct SubstrateWeight<T>(PhantomData<T>);43impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {44 // Storage: Common CreatedCollectionCount (r:1 w:1)45 // Storage: Common DestroyedCollectionCount (r:1 w:0)46 // Storage: System Account (r:2 w:2)47 // Storage: Common CollectionPropertyPermissions (r:0 w:1)48 // Storage: Common CollectionProperties (r:0 w:1)49 // Storage: Common CollectionById (r:0 w:1)50 // Storage: RmrkEquip InernalPartId (r:1 w:1)51 // Storage: Nonfungible TokensMinted (r:1 w:1)52 // Storage: Nonfungible AccountBalance (r:1 w:1)53 // Storage: Nonfungible TokenProperties (r:1 w:1)54 // Storage: Nonfungible TokenData (r:0 w:1)55 // Storage: Nonfungible Owned (r:0 w:1)56 fn create_base(b: u32, ) -> Weight {57 (43_173_000 as Weight)58 // Standard Error: 8_00059 .saturating_add((18_984_000 as Weight).saturating_mul(b as Weight))60 .saturating_add(T::DbWeight::get().reads(6 as Weight))61 .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(b as Weight)))62 .saturating_add(T::DbWeight::get().writes(8 as Weight))63 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))64 }65 // Storage: Common CollectionProperties (r:1 w:0)66 // Storage: Common CollectionById (r:1 w:0)67 // Storage: RmrkEquip BaseHasDefaultTheme (r:1 w:0)68 // Storage: Nonfungible TokensMinted (r:1 w:1)69 // Storage: Nonfungible AccountBalance (r:1 w:1)70 // Storage: Nonfungible TokenProperties (r:1 w:1)71 // Storage: Nonfungible TokenData (r:0 w:1)72 // Storage: Nonfungible Owned (r:0 w:1)73 fn theme_add(b: u32, ) -> Weight {74 (40_174_000 as Weight)75 // Standard Error: 13_00076 .saturating_add((2_353_000 as Weight).saturating_mul(b as Weight))77 .saturating_add(T::DbWeight::get().reads(6 as Weight))78 .saturating_add(T::DbWeight::get().writes(5 as Weight))79 }80 // Storage: Common CollectionProperties (r:1 w:0)81 // Storage: Common CollectionById (r:1 w:0)82 // Storage: RmrkEquip InernalPartId (r:1 w:0)83 // Storage: Nonfungible TokenProperties (r:1 w:1)84 fn equippable() -> Weight {85 (27_602_000 as Weight)86 .saturating_add(T::DbWeight::get().reads(4 as Weight))87 .saturating_add(T::DbWeight::get().writes(1 as Weight))88 }89}9091// For backwards compatibility and tests92impl WeightInfo for () {93 // Storage: Common CreatedCollectionCount (r:1 w:1)94 // Storage: Common DestroyedCollectionCount (r:1 w:0)95 // Storage: System Account (r:2 w:2)96 // Storage: Common CollectionPropertyPermissions (r:0 w:1)97 // Storage: Common CollectionProperties (r:0 w:1)98 // Storage: Common CollectionById (r:0 w:1)99 // Storage: RmrkEquip InernalPartId (r:1 w:1)100 // Storage: Nonfungible TokensMinted (r:1 w:1)101 // Storage: Nonfungible AccountBalance (r:1 w:1)102 // Storage: Nonfungible TokenProperties (r:1 w:1)103 // Storage: Nonfungible TokenData (r:0 w:1)104 // Storage: Nonfungible Owned (r:0 w:1)105 fn create_base(b: u32, ) -> Weight {106 (43_173_000 as Weight)107 // Standard Error: 8_000108 .saturating_add((18_984_000 as Weight).saturating_mul(b as Weight))109 .saturating_add(RocksDbWeight::get().reads(6 as Weight))110 .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(b as Weight)))111 .saturating_add(RocksDbWeight::get().writes(8 as Weight))112 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))113 }114 // Storage: Common CollectionProperties (r:1 w:0)115 // Storage: Common CollectionById (r:1 w:0)116 // Storage: RmrkEquip BaseHasDefaultTheme (r:1 w:0)117 // Storage: Nonfungible TokensMinted (r:1 w:1)118 // Storage: Nonfungible AccountBalance (r:1 w:1)119 // Storage: Nonfungible TokenProperties (r:1 w:1)120 // Storage: Nonfungible TokenData (r:0 w:1)121 // Storage: Nonfungible Owned (r:0 w:1)122 fn theme_add(b: u32, ) -> Weight {123 (40_174_000 as Weight)124 // Standard Error: 13_000125 .saturating_add((2_353_000 as Weight).saturating_mul(b as Weight))126 .saturating_add(RocksDbWeight::get().reads(6 as Weight))127 .saturating_add(RocksDbWeight::get().writes(5 as Weight))128 }129 // Storage: Common CollectionProperties (r:1 w:0)130 // Storage: Common CollectionById (r:1 w:0)131 // Storage: RmrkEquip InernalPartId (r:1 w:0)132 // Storage: Nonfungible TokenProperties (r:1 w:1)133 fn equippable() -> Weight {134 (27_602_000 as Weight)135 .saturating_add(RocksDbWeight::get().reads(4 as Weight))136 .saturating_add(RocksDbWeight::get().writes(1 as Weight))137 }138}1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_proxy_rmrk_equip4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2022-07-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 102489// Executed Command:10// target/release/unique-collator11// benchmark12// pallet13// --pallet14// pallet-proxy-rmrk-equip15// --wasm-execution16// compiled17// --extrinsic18// *19// --template20// .maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/proxy-rmrk-equip/src/weights.rs2526#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(clippy::unnecessary_cast)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_proxy_rmrk_equip.35pub trait WeightInfo {36 fn create_base(b: u32, ) -> Weight;37 fn theme_add(b: u32, ) -> Weight;38 fn equippable() -> Weight;39}4041/// Weights for pallet_proxy_rmrk_equip using the Substrate node and recommended hardware.42pub struct SubstrateWeight<T>(PhantomData<T>);43impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {44 // Storage: Common CreatedCollectionCount (r:1 w:1)45 // Storage: Common DestroyedCollectionCount (r:1 w:0)46 // Storage: System Account (r:2 w:2)47 // Storage: Common CollectionPropertyPermissions (r:0 w:1)48 // Storage: Common CollectionProperties (r:0 w:1)49 // Storage: Common CollectionById (r:0 w:1)50 // Storage: RmrkEquip InernalPartId (r:1 w:1)51 // Storage: Nonfungible TokensMinted (r:1 w:1)52 // Storage: Nonfungible AccountBalance (r:1 w:1)53 // Storage: Nonfungible TokenProperties (r:1 w:1)54 // Storage: Nonfungible TokenData (r:0 w:1)55 // Storage: Nonfungible Owned (r:0 w:1)56 fn create_base(b: u32, ) -> Weight {57 (57_871_000 as Weight)58 // Standard Error: 21_00059 .saturating_add((19_870_000 as Weight).saturating_mul(b as Weight))60 .saturating_add(T::DbWeight::get().reads(6 as Weight))61 .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(b as Weight)))62 .saturating_add(T::DbWeight::get().writes(8 as Weight))63 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))64 }65 // Storage: Common CollectionProperties (r:1 w:0)66 // Storage: Common CollectionById (r:1 w:0)67 // Storage: RmrkEquip BaseHasDefaultTheme (r:1 w:0)68 // Storage: Nonfungible TokensMinted (r:1 w:1)69 // Storage: Nonfungible AccountBalance (r:1 w:1)70 // Storage: Nonfungible TokenProperties (r:1 w:1)71 // Storage: Nonfungible TokenData (r:0 w:1)72 // Storage: Nonfungible Owned (r:0 w:1)73 fn theme_add(b: u32, ) -> Weight {74 (46_121_000 as Weight)75 // Standard Error: 31_00076 .saturating_add((2_988_000 as Weight).saturating_mul(b as Weight))77 .saturating_add(T::DbWeight::get().reads(6 as Weight))78 .saturating_add(T::DbWeight::get().writes(5 as Weight))79 }80 // Storage: Common CollectionProperties (r:1 w:0)81 // Storage: Common CollectionById (r:1 w:0)82 // Storage: RmrkEquip InernalPartId (r:1 w:0)83 // Storage: Nonfungible TokenProperties (r:1 w:1)84 fn equippable() -> Weight {85 (32_032_000 as Weight)86 .saturating_add(T::DbWeight::get().reads(4 as Weight))87 .saturating_add(T::DbWeight::get().writes(1 as Weight))88 }89}9091// For backwards compatibility and tests92impl WeightInfo for () {93 // Storage: Common CreatedCollectionCount (r:1 w:1)94 // Storage: Common DestroyedCollectionCount (r:1 w:0)95 // Storage: System Account (r:2 w:2)96 // Storage: Common CollectionPropertyPermissions (r:0 w:1)97 // Storage: Common CollectionProperties (r:0 w:1)98 // Storage: Common CollectionById (r:0 w:1)99 // Storage: RmrkEquip InernalPartId (r:1 w:1)100 // Storage: Nonfungible TokensMinted (r:1 w:1)101 // Storage: Nonfungible AccountBalance (r:1 w:1)102 // Storage: Nonfungible TokenProperties (r:1 w:1)103 // Storage: Nonfungible TokenData (r:0 w:1)104 // Storage: Nonfungible Owned (r:0 w:1)105 fn create_base(b: u32, ) -> Weight {106 (57_871_000 as Weight)107 // Standard Error: 21_000108 .saturating_add((19_870_000 as Weight).saturating_mul(b as Weight))109 .saturating_add(RocksDbWeight::get().reads(6 as Weight))110 .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(b as Weight)))111 .saturating_add(RocksDbWeight::get().writes(8 as Weight))112 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))113 }114 // Storage: Common CollectionProperties (r:1 w:0)115 // Storage: Common CollectionById (r:1 w:0)116 // Storage: RmrkEquip BaseHasDefaultTheme (r:1 w:0)117 // Storage: Nonfungible TokensMinted (r:1 w:1)118 // Storage: Nonfungible AccountBalance (r:1 w:1)119 // Storage: Nonfungible TokenProperties (r:1 w:1)120 // Storage: Nonfungible TokenData (r:0 w:1)121 // Storage: Nonfungible Owned (r:0 w:1)122 fn theme_add(b: u32, ) -> Weight {123 (46_121_000 as Weight)124 // Standard Error: 31_000125 .saturating_add((2_988_000 as Weight).saturating_mul(b as Weight))126 .saturating_add(RocksDbWeight::get().reads(6 as Weight))127 .saturating_add(RocksDbWeight::get().writes(5 as Weight))128 }129 // Storage: Common CollectionProperties (r:1 w:0)130 // Storage: Common CollectionById (r:1 w:0)131 // Storage: RmrkEquip InernalPartId (r:1 w:0)132 // Storage: Nonfungible TokenProperties (r:1 w:1)133 fn equippable() -> Weight {134 (32_032_000 as Weight)135 .saturating_add(RocksDbWeight::get().reads(4 as Weight))136 .saturating_add(RocksDbWeight::get().writes(1 as Weight))137 }138}