Skip to content
Snippets Groups Projects
default_weight.rs 723 B
Newer Older
zjb0807's avatar
zjb0807 committed
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0

#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(clippy::unnecessary_cast)]
zjb0807's avatar
zjb0807 committed

use frame_support::weights::{constants::RocksDbWeight as DbWeight, Weight};

impl crate::WeightInfo for () {
zjb0807's avatar
zjb0807 committed
	fn feed_values(c: u32) -> Weight {
		(74_792_000 as Weight)
			.saturating_add((11_208_000 as Weight).saturating_mul(c as Weight))
zjb0807's avatar
zjb0807 committed
			.saturating_add(DbWeight::get().reads(3 as Weight))
zjb0807's avatar
zjb0807 committed
			.saturating_add(DbWeight::get().writes(1 as Weight))
			.saturating_add(DbWeight::get().writes((2 as Weight).saturating_mul(c as Weight)))
zjb0807's avatar
zjb0807 committed
	}
zjb0807's avatar
zjb0807 committed
	fn on_finalize() -> Weight {
		(15_881_000 as Weight).saturating_add(DbWeight::get().writes(1 as Weight))
zjb0807's avatar
zjb0807 committed
	}
}