git.delta.rocks / unique-network / refs/commits / 612eec975ef7

difftreelog

source

pallets/structure/src/weights.rs2.5 KiBsourcehistory
1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_structure4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024910// Executed Command:11// target/release/unique-collator12// benchmark13// pallet14// --pallet15// pallet-structure16// --wasm-execution17// compiled18// --extrinsic19// *20// --template=.maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/structure/src/weights.rs2526#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(missing_docs)]30#![allow(clippy::unnecessary_cast)]3132use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};33use sp_std::marker::PhantomData;3435/// Weight functions needed for pallet_structure.36pub trait WeightInfo {37	fn find_parent() -> Weight;38}3940/// Weights for pallet_structure 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 CollectionById (r:1 w:0)44	/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)45	/// Storage: Nonfungible TokenData (r:1 w:0)46	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)47	fn find_parent() -> Weight {48		// Proof Size summary in bytes:49		//  Measured:  `698`50		//  Estimated: `5867`51		// Minimum execution time: 9_834_000 picoseconds.52		Weight::from_parts(10_073_000, 5867)53			.saturating_add(T::DbWeight::get().reads(2_u64))54	}55}5657// For backwards compatibility and tests58impl WeightInfo for () {59	/// Storage: Common CollectionById (r:1 w:0)60	/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)61	/// Storage: Nonfungible TokenData (r:1 w:0)62	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)63	fn find_parent() -> Weight {64		// Proof Size summary in bytes:65		//  Measured:  `698`66		//  Estimated: `5867`67		// Minimum execution time: 9_834_000 picoseconds.68		Weight::from_parts(10_073_000, 5867)69			.saturating_add(RocksDbWeight::get().reads(2_u64))70	}71}72