mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-22 04:27:56 +00:00
44 lines
1.4 KiB
Rust
44 lines
1.4 KiB
Rust
|
|
//! Autogenerated weights for `pezpallet_transaction_payment`
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0
|
|
//! DATE: 2024-11-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `ip-172-31-15-118`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
|
|
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024
|
|
|
|
// Executed Command:
|
|
// target/release/generic-template-node
|
|
// benchmark
|
|
// pezpallet
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --extrinsic=*
|
|
// --wasm-execution=compiled
|
|
// --heap-pages=4096
|
|
// --json-file=benchmarking/results/results-pezpallet_transaction_payment.json
|
|
// --pezpallet=pezpallet_transaction_payment
|
|
// --chain=dev
|
|
// --output=benchmarking/new-benchmarks/pezpallet_transaction_payment.rs
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
#![allow(missing_docs)]
|
|
|
|
use pezframe_support::{traits::Get, weights::Weight};
|
|
use core::marker::PhantomData;
|
|
|
|
/// Weight functions for `pezpallet_transaction_payment`.
|
|
pub struct WeightInfo<T>(PhantomData<T>);
|
|
impl<T: frame_system::Config> pezpallet_transaction_payment::WeightInfo for WeightInfo<T> {
|
|
fn charge_transaction_payment() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `94`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 3_838_000 picoseconds.
|
|
Weight::from_parts(3_942_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 0))
|
|
}
|
|
}
|