git.delta.rocks / unique-network / refs/commits / 0d52e2cbc000

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 29.0.06//! DATE: 2023-11-29, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`9//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// ./target/production/unique-collator13// benchmark14// pallet15// --pallet16// pallet-structure17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=8024// --heap-pages=409625// --output=./pallets/structure/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_structure.35pub trait WeightInfo {36	fn find_parent() -> Weight;37}3839/// Weights for pallet_structure using the Substrate node and recommended hardware.40pub struct SubstrateWeight<T>(PhantomData<T>);41impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {42	/// Storage: `Common::CollectionById` (r:1 w:0)43	/// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)44	/// Storage: `Nonfungible::TokenData` (r:1 w:0)45	/// Proof: `Nonfungible::TokenData` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)46	fn find_parent() -> Weight {47		// Proof Size summary in bytes:48		//  Measured:  `667`49		//  Estimated: `4325`50		// Minimum execution time: 10_518_000 picoseconds.51		Weight::from_parts(10_753_000, 4325)52			.saturating_add(T::DbWeight::get().reads(2_u64))53	}54}5556// For backwards compatibility and tests57impl WeightInfo for () {58	/// Storage: `Common::CollectionById` (r:1 w:0)59	/// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)60	/// Storage: `Nonfungible::TokenData` (r:1 w:0)61	/// Proof: `Nonfungible::TokenData` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)62	fn find_parent() -> Weight {63		// Proof Size summary in bytes:64		//  Measured:  `667`65		//  Estimated: `4325`66		// Minimum execution time: 10_518_000 picoseconds.67		Weight::from_parts(10_753_000, 4325)68			.saturating_add(RocksDbWeight::get().reads(2_u64))69	}70}71