referrerpolicy=no-referrer-when-downgrade

coretime_rococo_runtime/weights/
pallet_balances.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 `pallet_balances`
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: `731f893ee36e`, 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/coretime-rococo-runtime/coretime_rococo_runtime.wasm
31// --pallet=pallet_balances
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/coretime/coretime-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 `pallet_balances`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
53	/// Storage: `System::Account` (r:1 w:1)
54	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
55	fn transfer_allow_death() -> Weight {
56		// Proof Size summary in bytes:
57		//  Measured:  `52`
58		//  Estimated: `3593`
59		// Minimum execution time: 55_154_000 picoseconds.
60		Weight::from_parts(57_138_000, 0)
61			.saturating_add(Weight::from_parts(0, 3593))
62			.saturating_add(T::DbWeight::get().reads(1))
63			.saturating_add(T::DbWeight::get().writes(1))
64	}
65	/// Storage: `System::Account` (r:1 w:1)
66	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
67	fn transfer_keep_alive() -> Weight {
68		// Proof Size summary in bytes:
69		//  Measured:  `52`
70		//  Estimated: `3593`
71		// Minimum execution time: 41_474_000 picoseconds.
72		Weight::from_parts(42_241_000, 0)
73			.saturating_add(Weight::from_parts(0, 3593))
74			.saturating_add(T::DbWeight::get().reads(1))
75			.saturating_add(T::DbWeight::get().writes(1))
76	}
77	/// Storage: `System::Account` (r:1 w:1)
78	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
79	fn force_set_balance_creating() -> Weight {
80		// Proof Size summary in bytes:
81		//  Measured:  `103`
82		//  Estimated: `3593`
83		// Minimum execution time: 15_302_000 picoseconds.
84		Weight::from_parts(15_983_000, 0)
85			.saturating_add(Weight::from_parts(0, 3593))
86			.saturating_add(T::DbWeight::get().reads(1))
87			.saturating_add(T::DbWeight::get().writes(1))
88	}
89	/// Storage: `System::Account` (r:1 w:1)
90	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
91	fn force_set_balance_killing() -> Weight {
92		// Proof Size summary in bytes:
93		//  Measured:  `103`
94		//  Estimated: `3593`
95		// Minimum execution time: 22_164_000 picoseconds.
96		Weight::from_parts(23_054_000, 0)
97			.saturating_add(Weight::from_parts(0, 3593))
98			.saturating_add(T::DbWeight::get().reads(1))
99			.saturating_add(T::DbWeight::get().writes(1))
100	}
101	/// Storage: `System::Account` (r:2 w:2)
102	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
103	fn force_transfer() -> Weight {
104		// Proof Size summary in bytes:
105		//  Measured:  `155`
106		//  Estimated: `6196`
107		// Minimum execution time: 53_719_000 picoseconds.
108		Weight::from_parts(54_410_000, 0)
109			.saturating_add(Weight::from_parts(0, 6196))
110			.saturating_add(T::DbWeight::get().reads(2))
111			.saturating_add(T::DbWeight::get().writes(2))
112	}
113	/// Storage: `System::Account` (r:1 w:1)
114	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
115	fn transfer_all() -> Weight {
116		// Proof Size summary in bytes:
117		//  Measured:  `52`
118		//  Estimated: `3593`
119		// Minimum execution time: 52_699_000 picoseconds.
120		Weight::from_parts(55_436_000, 0)
121			.saturating_add(Weight::from_parts(0, 3593))
122			.saturating_add(T::DbWeight::get().reads(1))
123			.saturating_add(T::DbWeight::get().writes(1))
124	}
125	/// Storage: `System::Account` (r:1 w:1)
126	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
127	fn force_unreserve() -> Weight {
128		// Proof Size summary in bytes:
129		//  Measured:  `103`
130		//  Estimated: `3593`
131		// Minimum execution time: 17_575_000 picoseconds.
132		Weight::from_parts(18_203_000, 0)
133			.saturating_add(Weight::from_parts(0, 3593))
134			.saturating_add(T::DbWeight::get().reads(1))
135			.saturating_add(T::DbWeight::get().writes(1))
136	}
137	/// Storage: `System::Account` (r:999 w:999)
138	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
139	/// The range of component `u` is `[1, 1000]`.
140	fn upgrade_accounts(u: u32, ) -> Weight {
141		// Proof Size summary in bytes:
142		//  Measured:  `0 + u * (136 ±0)`
143		//  Estimated: `990 + u * (2603 ±0)`
144		// Minimum execution time: 17_805_000 picoseconds.
145		Weight::from_parts(18_487_000, 0)
146			.saturating_add(Weight::from_parts(0, 990))
147			// Standard Error: 23_150
148			.saturating_add(Weight::from_parts(16_728_873, 0).saturating_mul(u.into()))
149			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into())))
150			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into())))
151			.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
152	}
153	fn force_adjust_total_issuance() -> Weight {
154		// Proof Size summary in bytes:
155		//  Measured:  `0`
156		//  Estimated: `0`
157		// Minimum execution time: 6_293_000 picoseconds.
158		Weight::from_parts(6_504_000, 0)
159			.saturating_add(Weight::from_parts(0, 0))
160	}
161	fn burn_allow_death() -> Weight {
162		// Proof Size summary in bytes:
163		//  Measured:  `0`
164		//  Estimated: `0`
165		// Minimum execution time: 31_744_000 picoseconds.
166		Weight::from_parts(32_669_000, 0)
167			.saturating_add(Weight::from_parts(0, 0))
168	}
169	fn burn_keep_alive() -> Weight {
170		// Proof Size summary in bytes:
171		//  Measured:  `0`
172		//  Estimated: `0`
173		// Minimum execution time: 21_905_000 picoseconds.
174		Weight::from_parts(22_867_000, 0)
175			.saturating_add(Weight::from_parts(0, 0))
176	}
177}