referrerpolicy=no-referrer-when-downgrade

bridge_hub_rococo_runtime/weights/
frame_system_extensions.rs

1// Copyright (C) Parity Technologies (UK) Ltd.
2// SPDX-License-Identifier: Apache-2.0
3
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// 	http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16//! Autogenerated weights for `frame_system_extensions`
17//!
18//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
19//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20//! WORST CASE MAP SIZE: `1000000`
21//! HOSTNAME: `814af52b0d43`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
23
24// Executed Command:
25// frame-omni-bencher
26// v1
27// benchmark
28// pallet
29// --extrinsic=*
30// --runtime=target/production/wbuild/bridge-hub-rococo-runtime/bridge_hub_rococo_runtime.wasm
31// --pallet=frame_system_extensions
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights
34// --wasm-execution=compiled
35// --steps=50
36// --repeat=20
37// --heap-pages=4096
38// --no-storage-info
39// --no-min-squares
40// --no-median-slopes
41
42#![cfg_attr(rustfmt, rustfmt_skip)]
43#![allow(unused_parens)]
44#![allow(unused_imports)]
45#![allow(missing_docs)]
46
47use frame_support::{traits::Get, weights::Weight};
48use core::marker::PhantomData;
49
50/// Weight functions for `frame_system_extensions`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> frame_system::ExtensionsWeightInfo for WeightInfo<T> {
53	fn check_genesis() -> Weight {
54		// Proof Size summary in bytes:
55		//  Measured:  `30`
56		//  Estimated: `0`
57		// Minimum execution time: 3_334_000 picoseconds.
58		Weight::from_parts(3_475_000, 0)
59			.saturating_add(Weight::from_parts(0, 0))
60	}
61	fn check_mortality_mortal_transaction() -> Weight {
62		// Proof Size summary in bytes:
63		//  Measured:  `68`
64		//  Estimated: `0`
65		// Minimum execution time: 6_424_000 picoseconds.
66		Weight::from_parts(6_649_000, 0)
67			.saturating_add(Weight::from_parts(0, 0))
68	}
69	fn check_mortality_immortal_transaction() -> Weight {
70		// Proof Size summary in bytes:
71		//  Measured:  `68`
72		//  Estimated: `0`
73		// Minimum execution time: 6_500_000 picoseconds.
74		Weight::from_parts(6_720_000, 0)
75			.saturating_add(Weight::from_parts(0, 0))
76	}
77	fn check_non_zero_sender() -> Weight {
78		// Proof Size summary in bytes:
79		//  Measured:  `0`
80		//  Estimated: `0`
81		// Minimum execution time: 520_000 picoseconds.
82		Weight::from_parts(573_000, 0)
83			.saturating_add(Weight::from_parts(0, 0))
84	}
85	/// Storage: `System::Account` (r:1 w:1)
86	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
87	fn check_nonce() -> Weight {
88		// Proof Size summary in bytes:
89		//  Measured:  `101`
90		//  Estimated: `3593`
91		// Minimum execution time: 7_010_000 picoseconds.
92		Weight::from_parts(7_337_000, 0)
93			.saturating_add(Weight::from_parts(0, 3593))
94			.saturating_add(T::DbWeight::get().reads(1))
95			.saturating_add(T::DbWeight::get().writes(1))
96	}
97	fn check_spec_version() -> Weight {
98		// Proof Size summary in bytes:
99		//  Measured:  `0`
100		//  Estimated: `0`
101		// Minimum execution time: 396_000 picoseconds.
102		Weight::from_parts(471_000, 0)
103			.saturating_add(Weight::from_parts(0, 0))
104	}
105	fn check_tx_version() -> Weight {
106		// Proof Size summary in bytes:
107		//  Measured:  `0`
108		//  Estimated: `0`
109		// Minimum execution time: 418_000 picoseconds.
110		Weight::from_parts(475_000, 0)
111			.saturating_add(Weight::from_parts(0, 0))
112	}
113	fn check_weight() -> Weight {
114		// Proof Size summary in bytes:
115		//  Measured:  `0`
116		//  Estimated: `0`
117		// Minimum execution time: 4_037_000 picoseconds.
118		Weight::from_parts(4_252_000, 0)
119			.saturating_add(Weight::from_parts(0, 0))
120	}
121	fn weight_reclaim() -> Weight {
122		// Proof Size summary in bytes:
123		//  Measured:  `0`
124		//  Estimated: `0`
125		// Minimum execution time: 2_367_000 picoseconds.
126		Weight::from_parts(2_570_000, 0)
127			.saturating_add(Weight::from_parts(0, 0))
128	}
129}