frontier_template_runtime/weights/pallet_evm_precompile_sha3fips.rs
1
2//! Autogenerated weights for `pallet_evm_precompile_sha3fips`
3//!
4//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
5//! DATE: 2025-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
6//! WORST CASE MAP SIZE: `1000000`
7//! HOSTNAME: `Eloiss-MacBook-Pro.local`, CPU: `<UNKNOWN>`
8//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
9
10// Executed Command:
11// frame-omni-bencher
12// v1
13// benchmark
14// pallet
15// --runtime
16// ./target/release/wbuild/frontier-template-runtime/frontier_template_runtime.compact.compressed.wasm
17// --output
18// ./template/runtime/src/weights/
19// --pallet
20// pallet_evm_precompile_sha3fips
21// --extrinsic
22// *
23
24#![cfg_attr(rustfmt, rustfmt_skip)]
25#![allow(unused_parens)]
26#![allow(unused_imports)]
27#![allow(missing_docs)]
28
29use frame_support::{traits::Get, weights::Weight};
30use core::marker::PhantomData;
31
32/// Weight functions for `pallet_evm_precompile_sha3fips`.
33pub struct WeightInfo<T>(PhantomData<T>);
34impl<T: frame_system::Config> pallet_evm_precompile_sha3fips::WeightInfo for WeightInfo<T> {
35 /// The range of component `n` is `[1, 4096]`.
36 fn sha3_fips_256(n: u32, ) -> Weight {
37 // Proof Size summary in bytes:
38 // Measured: `0`
39 // Estimated: `0`
40 // Minimum execution time: 0_000 picoseconds.
41 Weight::from_parts(516_915, 0)
42 .saturating_add(Weight::from_parts(0, 0))
43 // Standard Error: 13
44 .saturating_add(Weight::from_parts(2_019, 0).saturating_mul(n.into()))
45 }
46 /// The range of component `n` is `[1, 4096]`.
47 fn sha3_fips_512(n: u32, ) -> Weight {
48 // Proof Size summary in bytes:
49 // Measured: `0`
50 // Estimated: `0`
51 // Minimum execution time: 0_000 picoseconds.
52 Weight::from_parts(441_854, 0)
53 .saturating_add(Weight::from_parts(0, 0))
54 // Standard Error: 14
55 .saturating_add(Weight::from_parts(3_678, 0).saturating_mul(n.into()))
56 }
57}