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