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