referrerpolicy=no-referrer-when-downgrade

coretime_westend_runtime/weights/
pallet_broker.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_broker`
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: `050e4dc4313a`, 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-westend-runtime/coretime_westend_runtime.wasm
31// --pallet=pallet_broker
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/coretime/coretime-westend/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_broker`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_broker::WeightInfo for WeightInfo<T> {
53	/// Storage: `Broker::Configuration` (r:0 w:1)
54	/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
55	fn configure() -> Weight {
56		// Proof Size summary in bytes:
57		//  Measured:  `0`
58		//  Estimated: `0`
59		// Minimum execution time: 2_566_000 picoseconds.
60		Weight::from_parts(2_786_000, 0)
61			.saturating_add(Weight::from_parts(0, 0))
62			.saturating_add(T::DbWeight::get().writes(1))
63	}
64	/// Storage: `Broker::Reservations` (r:1 w:1)
65	/// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(12021), added: 12516, mode: `MaxEncodedLen`)
66	fn reserve() -> Weight {
67		// Proof Size summary in bytes:
68		//  Measured:  `10888`
69		//  Estimated: `13506`
70		// Minimum execution time: 24_733_000 picoseconds.
71		Weight::from_parts(25_268_000, 0)
72			.saturating_add(Weight::from_parts(0, 13506))
73			.saturating_add(T::DbWeight::get().reads(1))
74			.saturating_add(T::DbWeight::get().writes(1))
75	}
76	/// Storage: `Broker::Reservations` (r:1 w:1)
77	/// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(12021), added: 12516, mode: `MaxEncodedLen`)
78	fn unreserve() -> Weight {
79		// Proof Size summary in bytes:
80		//  Measured:  `12090`
81		//  Estimated: `13506`
82		// Minimum execution time: 23_819_000 picoseconds.
83		Weight::from_parts(24_701_000, 0)
84			.saturating_add(Weight::from_parts(0, 13506))
85			.saturating_add(T::DbWeight::get().reads(1))
86			.saturating_add(T::DbWeight::get().writes(1))
87	}
88	/// Storage: `Broker::Leases` (r:1 w:1)
89	/// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(81), added: 576, mode: `MaxEncodedLen`)
90	/// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
91	/// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
92	/// Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0)
93	/// Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
94	fn set_lease() -> Weight {
95		// Proof Size summary in bytes:
96		//  Measured:  `146`
97		//  Estimated: `1631`
98		// Minimum execution time: 12_897_000 picoseconds.
99		Weight::from_parts(13_446_000, 0)
100			.saturating_add(Weight::from_parts(0, 1631))
101			.saturating_add(T::DbWeight::get().reads(3))
102			.saturating_add(T::DbWeight::get().writes(1))
103	}
104	/// Storage: `Broker::Leases` (r:1 w:1)
105	/// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(81), added: 576, mode: `MaxEncodedLen`)
106	fn remove_lease() -> Weight {
107		// Proof Size summary in bytes:
108		//  Measured:  `150`
109		//  Estimated: `1566`
110		// Minimum execution time: 10_319_000 picoseconds.
111		Weight::from_parts(10_718_000, 0)
112			.saturating_add(Weight::from_parts(0, 1566))
113			.saturating_add(T::DbWeight::get().reads(1))
114			.saturating_add(T::DbWeight::get().writes(1))
115	}
116	/// Storage: `Broker::Configuration` (r:1 w:0)
117	/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
118	/// Storage: `Broker::Leases` (r:1 w:1)
119	/// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(81), added: 576, mode: `MaxEncodedLen`)
120	/// Storage: `Broker::Reservations` (r:1 w:0)
121	/// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(12021), added: 12516, mode: `MaxEncodedLen`)
122	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
123	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
124	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
125	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
126	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
127	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
128	/// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
129	/// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
130	/// Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0)
131	/// Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
132	/// Storage: `Broker::InstaPoolIo` (r:3 w:3)
133	/// Proof: `Broker::InstaPoolIo` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
134	/// Storage: `Broker::AutoRenewals` (r:1 w:1)
135	/// Proof: `Broker::AutoRenewals` (`max_values`: Some(1), `max_size`: Some(201), added: 696, mode: `MaxEncodedLen`)
136	/// Storage: `Broker::SaleInfo` (r:0 w:1)
137	/// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
138	/// Storage: `Broker::Status` (r:0 w:1)
139	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
140	/// Storage: `Broker::Workplan` (r:0 w:20)
141	/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
142	/// The range of component `n` is `[0, 1000]`.
143	fn start_sales(n: u32, ) -> Weight {
144		// Proof Size summary in bytes:
145		//  Measured:  `12247`
146		//  Estimated: `14773 + n * (1 ±0)`
147		// Minimum execution time: 50_462_000 picoseconds.
148		Weight::from_parts(95_701_761, 0)
149			.saturating_add(Weight::from_parts(0, 14773))
150			// Standard Error: 1_017
151			.saturating_add(Weight::from_parts(4_668, 0).saturating_mul(n.into()))
152			.saturating_add(T::DbWeight::get().reads(12))
153			.saturating_add(T::DbWeight::get().writes(26))
154			.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
155	}
156	/// Storage: `Broker::Status` (r:1 w:0)
157	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
158	/// Storage: `Broker::SaleInfo` (r:1 w:1)
159	/// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
160	/// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
161	/// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
162	/// Storage: `System::Account` (r:1 w:1)
163	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
164	/// Storage: `Broker::Regions` (r:0 w:1)
165	/// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
166	fn purchase() -> Weight {
167		// Proof Size summary in bytes:
168		//  Measured:  `437`
169		//  Estimated: `3593`
170		// Minimum execution time: 55_310_000 picoseconds.
171		Weight::from_parts(56_779_000, 0)
172			.saturating_add(Weight::from_parts(0, 3593))
173			.saturating_add(T::DbWeight::get().reads(4))
174			.saturating_add(T::DbWeight::get().writes(3))
175	}
176	/// Storage: `Broker::Configuration` (r:1 w:0)
177	/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
178	/// Storage: `Broker::Status` (r:1 w:0)
179	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
180	/// Storage: `Broker::SaleInfo` (r:1 w:1)
181	/// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
182	/// Storage: `Broker::PotentialRenewals` (r:1 w:2)
183	/// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
184	/// Storage: `System::Account` (r:1 w:0)
185	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
186	/// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
187	/// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
188	/// Storage: `Broker::Workplan` (r:0 w:1)
189	/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
190	fn renew() -> Weight {
191		// Proof Size summary in bytes:
192		//  Measured:  `658`
193		//  Estimated: `4698`
194		// Minimum execution time: 96_952_000 picoseconds.
195		Weight::from_parts(103_889_000, 0)
196			.saturating_add(Weight::from_parts(0, 4698))
197			.saturating_add(T::DbWeight::get().reads(6))
198			.saturating_add(T::DbWeight::get().writes(4))
199	}
200	/// Storage: `Broker::Regions` (r:1 w:1)
201	/// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
202	fn transfer() -> Weight {
203		// Proof Size summary in bytes:
204		//  Measured:  `358`
205		//  Estimated: `3551`
206		// Minimum execution time: 20_830_000 picoseconds.
207		Weight::from_parts(21_754_000, 0)
208			.saturating_add(Weight::from_parts(0, 3551))
209			.saturating_add(T::DbWeight::get().reads(1))
210			.saturating_add(T::DbWeight::get().writes(1))
211	}
212	/// Storage: `Broker::Regions` (r:1 w:2)
213	/// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
214	fn partition() -> Weight {
215		// Proof Size summary in bytes:
216		//  Measured:  `358`
217		//  Estimated: `3551`
218		// Minimum execution time: 22_556_000 picoseconds.
219		Weight::from_parts(23_385_000, 0)
220			.saturating_add(Weight::from_parts(0, 3551))
221			.saturating_add(T::DbWeight::get().reads(1))
222			.saturating_add(T::DbWeight::get().writes(2))
223	}
224	/// Storage: `Broker::Regions` (r:1 w:3)
225	/// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
226	fn interlace() -> Weight {
227		// Proof Size summary in bytes:
228		//  Measured:  `358`
229		//  Estimated: `3551`
230		// Minimum execution time: 24_183_000 picoseconds.
231		Weight::from_parts(24_668_000, 0)
232			.saturating_add(Weight::from_parts(0, 3551))
233			.saturating_add(T::DbWeight::get().reads(1))
234			.saturating_add(T::DbWeight::get().writes(3))
235	}
236	/// Storage: `Broker::Configuration` (r:1 w:0)
237	/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
238	/// Storage: `Broker::Status` (r:1 w:0)
239	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
240	/// Storage: `Broker::Regions` (r:1 w:1)
241	/// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
242	/// Storage: `Broker::Workplan` (r:1 w:1)
243	/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
244	fn assign() -> Weight {
245		// Proof Size summary in bytes:
246		//  Measured:  `736`
247		//  Estimated: `4681`
248		// Minimum execution time: 35_180_000 picoseconds.
249		Weight::from_parts(36_474_000, 0)
250			.saturating_add(Weight::from_parts(0, 4681))
251			.saturating_add(T::DbWeight::get().reads(4))
252			.saturating_add(T::DbWeight::get().writes(2))
253	}
254	/// Storage: `Broker::Status` (r:1 w:0)
255	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
256	/// Storage: `Broker::Regions` (r:1 w:1)
257	/// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
258	/// Storage: `Broker::Workplan` (r:1 w:1)
259	/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
260	/// Storage: `Broker::InstaPoolIo` (r:2 w:2)
261	/// Proof: `Broker::InstaPoolIo` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
262	/// Storage: `Broker::InstaPoolContribution` (r:0 w:1)
263	/// Proof: `Broker::InstaPoolContribution` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
264	fn pool() -> Weight {
265		// Proof Size summary in bytes:
266		//  Measured:  `802`
267		//  Estimated: `5996`
268		// Minimum execution time: 41_629_000 picoseconds.
269		Weight::from_parts(43_178_000, 0)
270			.saturating_add(Weight::from_parts(0, 5996))
271			.saturating_add(T::DbWeight::get().reads(5))
272			.saturating_add(T::DbWeight::get().writes(5))
273	}
274	/// Storage: `Broker::InstaPoolContribution` (r:1 w:1)
275	/// Proof: `Broker::InstaPoolContribution` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
276	/// Storage: `Broker::InstaPoolHistory` (r:3 w:1)
277	/// Proof: `Broker::InstaPoolHistory` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
278	/// Storage: `System::Account` (r:2 w:2)
279	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
280	/// The range of component `m` is `[1, 3]`.
281	fn claim_revenue(m: u32, ) -> Weight {
282		// Proof Size summary in bytes:
283		//  Measured:  `671`
284		//  Estimated: `6196 + m * (2520 ±0)`
285		// Minimum execution time: 71_315_000 picoseconds.
286		Weight::from_parts(72_531_865, 0)
287			.saturating_add(Weight::from_parts(0, 6196))
288			// Standard Error: 46_998
289			.saturating_add(Weight::from_parts(1_837_283, 0).saturating_mul(m.into()))
290			.saturating_add(T::DbWeight::get().reads(3))
291			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
292			.saturating_add(T::DbWeight::get().writes(5))
293			.saturating_add(Weight::from_parts(0, 2520).saturating_mul(m.into()))
294	}
295	/// Storage: `System::Account` (r:1 w:1)
296	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
297	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
298	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
299	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
300	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
301	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
302	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
303	fn purchase_credit() -> Weight {
304		// Proof Size summary in bytes:
305		//  Measured:  `259`
306		//  Estimated: `3724`
307		// Minimum execution time: 69_827_000 picoseconds.
308		Weight::from_parts(71_536_000, 0)
309			.saturating_add(Weight::from_parts(0, 3724))
310			.saturating_add(T::DbWeight::get().reads(4))
311			.saturating_add(T::DbWeight::get().writes(2))
312	}
313	/// Storage: `Broker::Status` (r:1 w:0)
314	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
315	/// Storage: `Broker::Regions` (r:1 w:1)
316	/// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
317	fn drop_region() -> Weight {
318		// Proof Size summary in bytes:
319		//  Measured:  `466`
320		//  Estimated: `3551`
321		// Minimum execution time: 48_292_000 picoseconds.
322		Weight::from_parts(68_226_000, 0)
323			.saturating_add(Weight::from_parts(0, 3551))
324			.saturating_add(T::DbWeight::get().reads(2))
325			.saturating_add(T::DbWeight::get().writes(1))
326	}
327	/// Storage: `Broker::Configuration` (r:1 w:0)
328	/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
329	/// Storage: `Broker::Status` (r:1 w:0)
330	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
331	/// Storage: `Broker::InstaPoolContribution` (r:1 w:1)
332	/// Proof: `Broker::InstaPoolContribution` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
333	fn drop_contribution() -> Weight {
334		// Proof Size summary in bytes:
335		//  Measured:  `463`
336		//  Estimated: `3533`
337		// Minimum execution time: 92_377_000 picoseconds.
338		Weight::from_parts(136_256_000, 0)
339			.saturating_add(Weight::from_parts(0, 3533))
340			.saturating_add(T::DbWeight::get().reads(3))
341			.saturating_add(T::DbWeight::get().writes(1))
342	}
343	/// Storage: `Broker::Configuration` (r:1 w:0)
344	/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
345	/// Storage: `Broker::Status` (r:1 w:0)
346	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
347	/// Storage: `Broker::InstaPoolHistory` (r:1 w:1)
348	/// Proof: `Broker::InstaPoolHistory` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
349	/// Storage: `System::Account` (r:1 w:0)
350	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
351	fn drop_history() -> Weight {
352		// Proof Size summary in bytes:
353		//  Measured:  `979`
354		//  Estimated: `3593`
355		// Minimum execution time: 111_597_000 picoseconds.
356		Weight::from_parts(128_005_000, 0)
357			.saturating_add(Weight::from_parts(0, 3593))
358			.saturating_add(T::DbWeight::get().reads(4))
359			.saturating_add(T::DbWeight::get().writes(1))
360	}
361	/// Storage: `Broker::Status` (r:1 w:0)
362	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
363	/// Storage: `Broker::PotentialRenewals` (r:1 w:1)
364	/// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
365	fn drop_renewal() -> Weight {
366		// Proof Size summary in bytes:
367		//  Measured:  `556`
368		//  Estimated: `4698`
369		// Minimum execution time: 47_734_000 picoseconds.
370		Weight::from_parts(55_112_000, 0)
371			.saturating_add(Weight::from_parts(0, 4698))
372			.saturating_add(T::DbWeight::get().reads(2))
373			.saturating_add(T::DbWeight::get().writes(1))
374	}
375	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
376	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
377	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
378	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
379	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
380	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
381	/// The range of component `n` is `[0, 1000]`.
382	fn request_core_count(n: u32, ) -> Weight {
383		// Proof Size summary in bytes:
384		//  Measured:  `42`
385		//  Estimated: `3507`
386		// Minimum execution time: 20_333_000 picoseconds.
387		Weight::from_parts(21_440_973, 0)
388			.saturating_add(Weight::from_parts(0, 3507))
389			// Standard Error: 54
390			.saturating_add(Weight::from_parts(49, 0).saturating_mul(n.into()))
391			.saturating_add(T::DbWeight::get().reads(3))
392			.saturating_add(T::DbWeight::get().writes(1))
393	}
394	/// Storage: `Broker::CoreCountInbox` (r:1 w:1)
395	/// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
396	/// The range of component `n` is `[0, 1000]`.
397	fn process_core_count(_n: u32, ) -> Weight {
398		// Proof Size summary in bytes:
399		//  Measured:  `266`
400		//  Estimated: `1487`
401		// Minimum execution time: 7_821_000 picoseconds.
402		Weight::from_parts(8_450_013, 0)
403			.saturating_add(Weight::from_parts(0, 1487))
404			.saturating_add(T::DbWeight::get().reads(1))
405			.saturating_add(T::DbWeight::get().writes(1))
406	}
407	/// Storage: `Broker::RevenueInbox` (r:1 w:1)
408	/// Proof: `Broker::RevenueInbox` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`)
409	/// Storage: `Broker::InstaPoolHistory` (r:1 w:1)
410	/// Proof: `Broker::InstaPoolHistory` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
411	/// Storage: `System::Account` (r:2 w:2)
412	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
413	fn process_revenue() -> Weight {
414		// Proof Size summary in bytes:
415		//  Measured:  `461`
416		//  Estimated: `6196`
417		// Minimum execution time: 49_283_000 picoseconds.
418		Weight::from_parts(50_624_000, 0)
419			.saturating_add(Weight::from_parts(0, 6196))
420			.saturating_add(T::DbWeight::get().reads(4))
421			.saturating_add(T::DbWeight::get().writes(4))
422	}
423	/// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
424	/// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
425	/// Storage: `Broker::InstaPoolIo` (r:3 w:3)
426	/// Proof: `Broker::InstaPoolIo` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
427	/// Storage: `Broker::Reservations` (r:1 w:0)
428	/// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(12021), added: 12516, mode: `MaxEncodedLen`)
429	/// Storage: `Broker::Leases` (r:1 w:1)
430	/// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(81), added: 576, mode: `MaxEncodedLen`)
431	/// Storage: `Broker::AutoRenewals` (r:1 w:1)
432	/// Proof: `Broker::AutoRenewals` (`max_values`: Some(1), `max_size`: Some(201), added: 696, mode: `MaxEncodedLen`)
433	/// Storage: `Broker::Configuration` (r:1 w:0)
434	/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
435	/// Storage: `Broker::Status` (r:1 w:0)
436	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
437	/// Storage: `Broker::PotentialRenewals` (r:20 w:40)
438	/// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
439	/// Storage: `System::Account` (r:21 w:20)
440	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
441	/// Storage: `Broker::SaleInfo` (r:0 w:1)
442	/// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
443	/// Storage: `Broker::Workplan` (r:0 w:1000)
444	/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
445	/// The range of component `n` is `[0, 1000]`.
446	fn rotate_sale(n: u32, ) -> Weight {
447		// Proof Size summary in bytes:
448		//  Measured:  `16480`
449		//  Estimated: `69404 + n * (8 ±1)`
450		// Minimum execution time: 32_855_000 picoseconds.
451		Weight::from_parts(698_275_537, 0)
452			.saturating_add(Weight::from_parts(0, 69404))
453			// Standard Error: 20_874
454			.saturating_add(Weight::from_parts(1_398_903, 0).saturating_mul(n.into()))
455			.saturating_add(T::DbWeight::get().reads(44))
456			.saturating_add(T::DbWeight::get().writes(57))
457			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
458			.saturating_add(Weight::from_parts(0, 8).saturating_mul(n.into()))
459	}
460	/// Storage: `Broker::InstaPoolIo` (r:1 w:0)
461	/// Proof: `Broker::InstaPoolIo` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
462	/// Storage: `Broker::InstaPoolHistory` (r:0 w:1)
463	/// Proof: `Broker::InstaPoolHistory` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
464	fn process_pool() -> Weight {
465		// Proof Size summary in bytes:
466		//  Measured:  `42`
467		//  Estimated: `3493`
468		// Minimum execution time: 7_801_000 picoseconds.
469		Weight::from_parts(8_153_000, 0)
470			.saturating_add(Weight::from_parts(0, 3493))
471			.saturating_add(T::DbWeight::get().reads(1))
472			.saturating_add(T::DbWeight::get().writes(1))
473	}
474	/// Storage: `Broker::Workplan` (r:1 w:1)
475	/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
476	/// Storage: `Broker::Workload` (r:1 w:1)
477	/// Proof: `Broker::Workload` (`max_values`: None, `max_size`: Some(1212), added: 3687, mode: `MaxEncodedLen`)
478	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
479	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
480	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
481	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
482	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
483	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
484	fn process_core_schedule() -> Weight {
485		// Proof Size summary in bytes:
486		//  Measured:  `1289`
487		//  Estimated: `4754`
488		// Minimum execution time: 31_074_000 picoseconds.
489		Weight::from_parts(32_112_000, 0)
490			.saturating_add(Weight::from_parts(0, 4754))
491			.saturating_add(T::DbWeight::get().reads(5))
492			.saturating_add(T::DbWeight::get().writes(3))
493	}
494	/// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
495	/// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
496	/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
497	/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
498	/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
499	/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
500	fn request_revenue_info_at() -> Weight {
501		// Proof Size summary in bytes:
502		//  Measured:  `42`
503		//  Estimated: `3507`
504		// Minimum execution time: 15_680_000 picoseconds.
505		Weight::from_parts(16_391_000, 0)
506			.saturating_add(Weight::from_parts(0, 3507))
507			.saturating_add(T::DbWeight::get().reads(3))
508			.saturating_add(T::DbWeight::get().writes(1))
509	}
510	/// Storage: `Broker::CoreCountInbox` (r:0 w:1)
511	/// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
512	fn notify_core_count() -> Weight {
513		// Proof Size summary in bytes:
514		//  Measured:  `0`
515		//  Estimated: `0`
516		// Minimum execution time: 2_309_000 picoseconds.
517		Weight::from_parts(2_572_000, 0)
518			.saturating_add(Weight::from_parts(0, 0))
519			.saturating_add(T::DbWeight::get().writes(1))
520	}
521	/// Storage: `Broker::RevenueInbox` (r:0 w:1)
522	/// Proof: `Broker::RevenueInbox` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`)
523	fn notify_revenue() -> Weight {
524		// Proof Size summary in bytes:
525		//  Measured:  `0`
526		//  Estimated: `0`
527		// Minimum execution time: 2_524_000 picoseconds.
528		Weight::from_parts(2_678_000, 0)
529			.saturating_add(Weight::from_parts(0, 0))
530			.saturating_add(T::DbWeight::get().writes(1))
531	}
532	/// Storage: `Broker::Status` (r:1 w:1)
533	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
534	/// Storage: `Broker::Configuration` (r:1 w:0)
535	/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
536	/// Storage: `Broker::CoreCountInbox` (r:1 w:0)
537	/// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
538	/// Storage: `Broker::RevenueInbox` (r:1 w:0)
539	/// Proof: `Broker::RevenueInbox` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`)
540	/// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
541	/// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
542	fn do_tick_base() -> Weight {
543		// Proof Size summary in bytes:
544		//  Measured:  `408`
545		//  Estimated: `1893`
546		// Minimum execution time: 14_125_000 picoseconds.
547		Weight::from_parts(14_511_000, 0)
548			.saturating_add(Weight::from_parts(0, 1893))
549			.saturating_add(T::DbWeight::get().reads(5))
550			.saturating_add(T::DbWeight::get().writes(1))
551	}
552	/// Storage: `Broker::SaleInfo` (r:1 w:0)
553	/// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
554	/// Storage: `Broker::Reservations` (r:1 w:1)
555	/// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(12021), added: 12516, mode: `MaxEncodedLen`)
556	/// Storage: `Broker::Status` (r:1 w:0)
557	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
558	/// Storage: `Broker::Workplan` (r:0 w:2)
559	/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
560	fn force_reserve() -> Weight {
561		// Proof Size summary in bytes:
562		//  Measured:  `11141`
563		//  Estimated: `13506`
564		// Minimum execution time: 41_171_000 picoseconds.
565		Weight::from_parts(42_826_000, 0)
566			.saturating_add(Weight::from_parts(0, 13506))
567			.saturating_add(T::DbWeight::get().reads(3))
568			.saturating_add(T::DbWeight::get().writes(3))
569	}
570	/// Storage: `Broker::Leases` (r:1 w:1)
571	/// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(81), added: 576, mode: `MaxEncodedLen`)
572	fn swap_leases() -> Weight {
573		// Proof Size summary in bytes:
574		//  Measured:  `150`
575		//  Estimated: `1566`
576		// Minimum execution time: 7_231_000 picoseconds.
577		Weight::from_parts(7_626_000, 0)
578			.saturating_add(Weight::from_parts(0, 1566))
579			.saturating_add(T::DbWeight::get().reads(1))
580			.saturating_add(T::DbWeight::get().writes(1))
581	}
582	/// Storage: `Broker::SaleInfo` (r:1 w:1)
583	/// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
584	/// Storage: `Broker::PotentialRenewals` (r:1 w:2)
585	/// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
586	/// Storage: `Broker::Configuration` (r:1 w:0)
587	/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
588	/// Storage: `Broker::Status` (r:1 w:0)
589	/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
590	/// Storage: `System::Account` (r:2 w:1)
591	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
592	/// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
593	/// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
594	/// Storage: `Broker::AutoRenewals` (r:1 w:1)
595	/// Proof: `Broker::AutoRenewals` (`max_values`: Some(1), `max_size`: Some(201), added: 696, mode: `MaxEncodedLen`)
596	/// Storage: `Broker::Workplan` (r:0 w:1)
597	/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
598	fn enable_auto_renew() -> Weight {
599		// Proof Size summary in bytes:
600		//  Measured:  `1451`
601		//  Estimated: `6196`
602		// Minimum execution time: 105_363_000 picoseconds.
603		Weight::from_parts(111_333_000, 0)
604			.saturating_add(Weight::from_parts(0, 6196))
605			.saturating_add(T::DbWeight::get().reads(8))
606			.saturating_add(T::DbWeight::get().writes(6))
607	}
608	/// Storage: `Broker::AutoRenewals` (r:1 w:1)
609	/// Proof: `Broker::AutoRenewals` (`max_values`: Some(1), `max_size`: Some(201), added: 696, mode: `MaxEncodedLen`)
610	fn disable_auto_renew() -> Weight {
611		// Proof Size summary in bytes:
612		//  Measured:  `506`
613		//  Estimated: `1686`
614		// Minimum execution time: 17_752_000 picoseconds.
615		Weight::from_parts(18_777_000, 0)
616			.saturating_add(Weight::from_parts(0, 1686))
617			.saturating_add(T::DbWeight::get().reads(1))
618			.saturating_add(T::DbWeight::get().writes(1))
619	}
620	/// Storage: `System::Account` (r:1 w:0)
621	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
622	fn on_new_timeslice() -> Weight {
623		// Proof Size summary in bytes:
624		//  Measured:  `103`
625		//  Estimated: `3593`
626		// Minimum execution time: 5_009_000 picoseconds.
627		Weight::from_parts(5_245_000, 0)
628			.saturating_add(Weight::from_parts(0, 3593))
629			.saturating_add(T::DbWeight::get().reads(1))
630	}
631	/// Storage: `Broker::Workplan` (r:1 w:1)
632	/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
633	fn remove_assignment() -> Weight {
634		// Proof Size summary in bytes:
635		//  Measured:  `602`
636		//  Estimated: `4681`
637		// Minimum execution time: 21_397_000 picoseconds.
638		Weight::from_parts(21_865_000, 0)
639			.saturating_add(Weight::from_parts(0, 4681))
640			.saturating_add(T::DbWeight::get().reads(1))
641			.saturating_add(T::DbWeight::get().writes(1))
642	}
643}