referrerpolicy=no-referrer-when-downgrade

pallet_staking_async_parachain_runtime/weights/
cumulus_pallet_weight_reclaim.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 `cumulus_pallet_weight_reclaim`
19//!
20//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
21//! DATE: 2024-12-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22//! WORST CASE MAP SIZE: `1000000`
23//! HOSTNAME: `runner-ys-ssygq-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
24//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("asset-hub-next-westend-dev")`, DB CACHE: 1024
25
26// Executed Command:
27// target/production/polkadot-parachain
28// benchmark
29// pallet
30// --steps=50
31// --repeat=20
32// --extrinsic=*
33// --wasm-execution=compiled
34// --heap-pages=4096
35// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json
36// --pallet=cumulus_pallet_weight_reclaim
37// --chain=asset-hub-next-westend-dev
38// --header=./cumulus/file_header.txt
39// --output=./cumulus/parachains/runtimes/assets/asset-hub-next-westend/src/weights/
40
41#![cfg_attr(rustfmt, rustfmt_skip)]
42#![allow(unused_parens)]
43#![allow(unused_imports)]
44#![allow(missing_docs)]
45
46use frame_support::{traits::Get, weights::Weight};
47use core::marker::PhantomData;
48
49/// Weight functions for `cumulus_pallet_weight_reclaim`.
50pub struct WeightInfo<T>(PhantomData<T>);
51impl<T: frame_system::Config> cumulus_pallet_weight_reclaim::WeightInfo for WeightInfo<T> {
52	/// Storage: `System::BlockWeight` (r:1 w:1)
53	/// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`)
54	/// Storage: `System::ExtrinsicWeightReclaimed` (r:1 w:1)
55	/// Proof: `System::ExtrinsicWeightReclaimed` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
56	/// Storage: `System::AllExtrinsicsLen` (r:1 w:0)
57	/// Proof: `System::AllExtrinsicsLen` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
58	fn storage_weight_reclaim() -> Weight {
59		// Proof Size summary in bytes:
60		//  Measured:  `24`
61		//  Estimated: `1533`
62		// Minimum execution time: 7_470_000 picoseconds.
63		Weight::from_parts(7_695_000, 0)
64			.saturating_add(Weight::from_parts(0, 1533))
65			.saturating_add(T::DbWeight::get().reads(3))
66			.saturating_add(T::DbWeight::get().writes(2))
67	}
68}