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-06-16, 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}3940/// Weights for pallet_proxy_rmrk_equip using the Substrate node and recommended hardware.41pub struct SubstrateWeight<T>(PhantomData<T>);42impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {43 // Storage: Common CreatedCollectionCount (r:1 w:1)44 // Storage: Common DestroyedCollectionCount (r:1 w:0)45 // Storage: System Account (r:2 w:2)46 // Storage: Common CollectionPropertyPermissions (r:0 w:1)47 // Storage: Common CollectionProperties (r:0 w:1)48 // Storage: Common CollectionById (r:0 w:1)49 // Storage: Nonfungible TokensMinted (r:1 w:1)50 // Storage: Nonfungible AccountBalance (r:1 w:1)51 // Storage: Nonfungible TokenProperties (r:1 w:1)52 // Storage: Nonfungible TokenData (r:0 w:1)53 // Storage: Nonfungible Owned (r:0 w:1)54 // Storage: RmrkEquip InernalPartId (r:0 w:1)55 fn create_base(b: u32, ) -> Weight {56 (43_216_000 as Weight)57 // Standard Error: 10_00058 .saturating_add((16_253_000 as Weight).saturating_mul(b as Weight))59 .saturating_add(T::DbWeight::get().reads(6 as Weight))60 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))61 .saturating_add(T::DbWeight::get().writes(9 as Weight))62 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))63 }64 // Storage: Common CollectionProperties (r:1 w:0)65 // Storage: Common CollectionById (r:1 w:0)66 // Storage: RmrkEquip BaseHasDefaultTheme (r:1 w:0)67 // Storage: Nonfungible TokensMinted (r:1 w:1)68 // Storage: Nonfungible AccountBalance (r:1 w:1)69 // Storage: Nonfungible TokenProperties (r:1 w:1)70 // Storage: Nonfungible TokenData (r:0 w:1)71 // Storage: Nonfungible Owned (r:0 w:1)72 fn theme_add(b: u32, ) -> Weight {73 (39_467_000 as Weight)74 // Standard Error: 15_00075 .saturating_add((2_332_000 as Weight).saturating_mul(b as Weight))76 .saturating_add(T::DbWeight::get().reads(6 as Weight))77 .saturating_add(T::DbWeight::get().writes(5 as Weight))78 }79}8081// For backwards compatibility and tests82impl WeightInfo for () {83 // Storage: Common CreatedCollectionCount (r:1 w:1)84 // Storage: Common DestroyedCollectionCount (r:1 w:0)85 // Storage: System Account (r:2 w:2)86 // Storage: Common CollectionPropertyPermissions (r:0 w:1)87 // Storage: Common CollectionProperties (r:0 w:1)88 // Storage: Common CollectionById (r:0 w:1)89 // Storage: Nonfungible TokensMinted (r:1 w:1)90 // Storage: Nonfungible AccountBalance (r:1 w:1)91 // Storage: Nonfungible TokenProperties (r:1 w:1)92 // Storage: Nonfungible TokenData (r:0 w:1)93 // Storage: Nonfungible Owned (r:0 w:1)94 // Storage: RmrkEquip InernalPartId (r:0 w:1)95 fn create_base(b: u32, ) -> Weight {96 (43_216_000 as Weight)97 // Standard Error: 10_00098 .saturating_add((16_253_000 as Weight).saturating_mul(b as Weight))99 .saturating_add(RocksDbWeight::get().reads(6 as Weight))100 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))101 .saturating_add(RocksDbWeight::get().writes(9 as Weight))102 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))103 }104 // Storage: Common CollectionProperties (r:1 w:0)105 // Storage: Common CollectionById (r:1 w:0)106 // Storage: RmrkEquip BaseHasDefaultTheme (r:1 w:0)107 // Storage: Nonfungible TokensMinted (r:1 w:1)108 // Storage: Nonfungible AccountBalance (r:1 w:1)109 // Storage: Nonfungible TokenProperties (r:1 w:1)110 // Storage: Nonfungible TokenData (r:0 w:1)111 // Storage: Nonfungible Owned (r:0 w:1)112 fn theme_add(b: u32, ) -> Weight {113 (39_467_000 as Weight)114 // Standard Error: 15_000115 .saturating_add((2_332_000 as Weight).saturating_mul(b as Weight))116 .saturating_add(RocksDbWeight::get().reads(6 as Weight))117 .saturating_add(RocksDbWeight::get().writes(5 as Weight))118 }119}difftreelog
source
pallets/proxy-rmrk-equip/src/weights.rs4.7 KiBsourcehistory