frontier_template_runtime/weights/pallet_evm_precompile_curve25519.rs
1
2//! Autogenerated weights for `pallet_evm_precompile_curve25519`
3//!
4//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
5//! DATE: 2025-08-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
6//! WORST CASE MAP SIZE: `1000000`
7//! HOSTNAME: `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_curve25519
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_curve25519`.
33pub struct WeightInfo<T>(PhantomData<T>);
34impl<T: frame_system::Config> pallet_evm_precompile_curve25519::WeightInfo for WeightInfo<T> {
35 /// The range of component `n` is `[1, 10]`.
36 fn curve25519_add_n_points(n: u32, ) -> Weight {
37 // Proof Size summary in bytes:
38 // Measured: `0`
39 // Estimated: `0`
40 // Minimum execution time: 10_000_000 picoseconds.
41 Weight::from_parts(5_399_134, 0)
42 .saturating_add(Weight::from_parts(0, 0))
43 // Standard Error: 8_395
44 .saturating_add(Weight::from_parts(5_153_957, 0).saturating_mul(n.into()))
45 }
46 fn curve25519_scaler_mul() -> Weight {
47 // Proof Size summary in bytes:
48 // Measured: `0`
49 // Estimated: `0`
50 // Minimum execution time: 81_000_000 picoseconds.
51 Weight::from_parts(87_000_000, 0)
52 .saturating_add(Weight::from_parts(0, 0))
53 }
54}