git.delta.rocks / unique-network / refs/commits / 67f20da6affd

difftreelog

source

pallets/orml-vesting/src/weights.rs1.8 KiBsourcehistory
1//! Autogenerated weights for orml_vesting2//!3//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.04//! DATE: 2021-05-04, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []5//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 12867// Executed Command:8// /Users/xiliangchen/projects/acala/target/release/acala9// benchmark10// --chain=dev11// --steps=5012// --repeat=2013// --pallet=orml_vesting14// --extrinsic=*15// --execution=wasm16// --wasm-execution=compiled17// --heap-pages=409618// --output=./vesting/src/weights.rs19// --template20// ../templates/orml-weight-template.hbs212223#![cfg_attr(rustfmt, rustfmt_skip)]24#![allow(unused_parens)]25#![allow(unused_imports)]26#![allow(clippy::unnecessary_cast)]2728use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};29use sp_std::marker::PhantomData;3031/// Weight functions needed for orml_vesting.32pub trait WeightInfo {33	fn vested_transfer() -> Weight;34	fn claim(i: u32, ) -> Weight;35	fn update_vesting_schedules(i: u32, ) -> Weight;36}3738/// Default weights.39impl WeightInfo for () {40	fn vested_transfer() -> Weight {41		(69_000_000 as Weight)42			.saturating_add(RocksDbWeight::get().reads(4 as Weight))43			.saturating_add(RocksDbWeight::get().writes(4 as Weight))44	}45	fn claim(i: u32, ) -> Weight {46		(31_747_000 as Weight)47			// Standard Error: 4_00048			.saturating_add((63_000 as Weight).saturating_mul(i as Weight))49			.saturating_add(RocksDbWeight::get().reads(2 as Weight))50			.saturating_add(RocksDbWeight::get().writes(2 as Weight))51	}52	fn update_vesting_schedules(i: u32, ) -> Weight {53		(29_457_000 as Weight)54			// Standard Error: 4_00055			.saturating_add((117_000 as Weight).saturating_mul(i as Weight))56			.saturating_add(RocksDbWeight::get().reads(2 as Weight))57			.saturating_add(RocksDbWeight::get().writes(3 as Weight))58	}59}