subspace_runtime_primitives/weights/
balance_transfer_check_extension.rs

1
2//! Autogenerated weights for `balance_transfer_check_extension`
3//!
4//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.2.0
5//! DATE: 2025-07-11, STEPS: `250`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]`
6//! WORST CASE MAP SIZE: `1000000`
7//! HOSTNAME: `protocol-team-testing`, CPU: `AMD Ryzen 5 3600 6-Core Processor`
8//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
9
10// Executed Command:
11// ./target/production/subspace-node
12// benchmark
13// pallet
14// --runtime=./target/production/wbuild/subspace-runtime/subspace_runtime.compact.compressed.wasm
15// --extrinsic=*
16// --wasm-execution=compiled
17// --genesis-builder=none
18// --steps=250
19// --repeat=100
20// --heap-pages=4096
21// --pallet=balance_transfer_check_extension
22// --output=./crates/subspace-runtime-primitives/src/weights/balance_transfer_check_extension.rs
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 `balance_transfer_check_extension`.
33pub struct WeightInfo<T>(PhantomData<T>);
34impl<T: frame_system::Config> crate::extension::WeightInfo for WeightInfo<T> {
35	/// Storage: `RuntimeConfigs::EnableBalanceTransfers` (r:1 w:0)
36	/// Proof: `RuntimeConfigs::EnableBalanceTransfers` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
37	/// The range of component `c` is `[0, 5000]`.
38	fn balance_transfer_check_multiple(c: u32, ) -> Weight {
39		// Proof Size summary in bytes:
40		//  Measured:  `0`
41		//  Estimated: `1486`
42		// Minimum execution time: 1_280_000 picoseconds.
43		Weight::from_parts(1_406_119, 0)
44			.saturating_add(Weight::from_parts(0, 1486))
45			// Standard Error: 0
46			.saturating_add(Weight::from_parts(5, 0).saturating_mul(c.into()))
47			.saturating_add(T::DbWeight::get().reads(1))
48	}
49	/// Storage: `RuntimeConfigs::EnableBalanceTransfers` (r:1 w:0)
50	/// Proof: `RuntimeConfigs::EnableBalanceTransfers` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
51	/// The range of component `c` is `[0, 5000]`.
52	fn balance_transfer_check_utility(c: u32, ) -> Weight {
53		// Proof Size summary in bytes:
54		//  Measured:  `0`
55		//  Estimated: `1486`
56		// Minimum execution time: 1_299_000 picoseconds.
57		Weight::from_parts(1_401_176, 0)
58			.saturating_add(Weight::from_parts(0, 1486))
59			// Standard Error: 0
60			.saturating_add(Weight::from_parts(12, 0).saturating_mul(c.into()))
61			.saturating_add(T::DbWeight::get().reads(1))
62	}
63	/// Storage: `RuntimeConfigs::EnableBalanceTransfers` (r:1 w:0)
64	/// Proof: `RuntimeConfigs::EnableBalanceTransfers` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
65	/// The range of component `c` is `[0, 5000]`.
66	fn balance_transfer_check_multisig(c: u32, ) -> Weight {
67		// Proof Size summary in bytes:
68		//  Measured:  `0`
69		//  Estimated: `1486`
70		// Minimum execution time: 1_290_000 picoseconds.
71		Weight::from_parts(1_413_516, 0)
72			.saturating_add(Weight::from_parts(0, 1486))
73			// Standard Error: 0
74			.saturating_add(Weight::from_parts(6, 0).saturating_mul(c.into()))
75			.saturating_add(T::DbWeight::get().reads(1))
76	}
77}