pallet_broker/weights.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// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `pallet_broker`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `4563561839a5`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_broker
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/broker/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61// --genesis-builder-policy=none
62// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage,pallet_election_provider_multi_block,pallet_election_provider_multi_block::signed,pallet_election_provider_multi_block::unsigned,pallet_election_provider_multi_block::verifier
63
64#![cfg_attr(rustfmt, rustfmt_skip)]
65#![allow(unused_parens)]
66#![allow(unused_imports)]
67#![allow(missing_docs)]
68#![allow(dead_code)]
69
70use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
71use core::marker::PhantomData;
72
73/// Weight functions needed for `pallet_broker`.
74pub trait WeightInfo {
75 fn configure() -> Weight;
76 fn reserve() -> Weight;
77 fn unreserve() -> Weight;
78 fn set_lease() -> Weight;
79 fn remove_lease() -> Weight;
80 fn start_sales(n: u32, ) -> Weight;
81 fn purchase() -> Weight;
82 fn renew() -> Weight;
83 fn transfer() -> Weight;
84 fn partition() -> Weight;
85 fn interlace() -> Weight;
86 fn assign() -> Weight;
87 fn pool() -> Weight;
88 fn claim_revenue(m: u32, ) -> Weight;
89 fn purchase_credit() -> Weight;
90 fn drop_region() -> Weight;
91 fn drop_contribution() -> Weight;
92 fn drop_history() -> Weight;
93 fn drop_renewal() -> Weight;
94 fn request_core_count(n: u32, ) -> Weight;
95 fn process_core_count(n: u32, ) -> Weight;
96 fn process_revenue() -> Weight;
97 fn rotate_sale(n: u32, ) -> Weight;
98 fn process_pool() -> Weight;
99 fn process_core_schedule() -> Weight;
100 fn request_revenue_info_at() -> Weight;
101 fn notify_core_count() -> Weight;
102 fn notify_revenue() -> Weight;
103 fn do_tick_base() -> Weight;
104 fn force_reserve() -> Weight;
105 fn swap_leases() -> Weight;
106 fn enable_auto_renew() -> Weight;
107 fn disable_auto_renew() -> Weight;
108 fn on_new_timeslice() -> Weight;
109 fn remove_assignment() -> Weight;
110 fn remove_potential_renewal() -> Weight;
111 fn force_transfer() -> Weight;
112}
113
114/// Weights for `pallet_broker` using the Substrate node and recommended hardware.
115pub struct SubstrateWeight<T>(PhantomData<T>);
116impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
117 /// Storage: `Broker::Configuration` (r:0 w:1)
118 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
119 fn configure() -> Weight {
120 // Proof Size summary in bytes:
121 // Measured: `0`
122 // Estimated: `0`
123 // Minimum execution time: 1_989_000 picoseconds.
124 Weight::from_parts(2_154_000, 0)
125 .saturating_add(T::DbWeight::get().writes(1_u64))
126 }
127 /// Storage: `Broker::Reservations` (r:1 w:1)
128 /// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(6011), added: 6506, mode: `MaxEncodedLen`)
129 fn reserve() -> Weight {
130 // Proof Size summary in bytes:
131 // Measured: `4816`
132 // Estimated: `7496`
133 // Minimum execution time: 14_828_000 picoseconds.
134 Weight::from_parts(15_421_000, 7496)
135 .saturating_add(T::DbWeight::get().reads(1_u64))
136 .saturating_add(T::DbWeight::get().writes(1_u64))
137 }
138 /// Storage: `Broker::Reservations` (r:1 w:1)
139 /// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(6011), added: 6506, mode: `MaxEncodedLen`)
140 fn unreserve() -> Weight {
141 // Proof Size summary in bytes:
142 // Measured: `6018`
143 // Estimated: `7496`
144 // Minimum execution time: 14_330_000 picoseconds.
145 Weight::from_parts(14_621_000, 7496)
146 .saturating_add(T::DbWeight::get().reads(1_u64))
147 .saturating_add(T::DbWeight::get().writes(1_u64))
148 }
149 /// Storage: `Broker::Leases` (r:1 w:1)
150 /// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
151 fn set_lease() -> Weight {
152 // Proof Size summary in bytes:
153 // Measured: `39`
154 // Estimated: `1526`
155 // Minimum execution time: 7_456_000 picoseconds.
156 Weight::from_parts(7_707_000, 1526)
157 .saturating_add(T::DbWeight::get().reads(1_u64))
158 .saturating_add(T::DbWeight::get().writes(1_u64))
159 }
160 /// Storage: `Broker::Leases` (r:1 w:1)
161 /// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
162 fn remove_lease() -> Weight {
163 // Proof Size summary in bytes:
164 // Measured: `47`
165 // Estimated: `1526`
166 // Minimum execution time: 7_047_000 picoseconds.
167 Weight::from_parts(7_339_000, 1526)
168 .saturating_add(T::DbWeight::get().reads(1_u64))
169 .saturating_add(T::DbWeight::get().writes(1_u64))
170 }
171 /// Storage: `Broker::Configuration` (r:1 w:0)
172 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
173 /// Storage: `Broker::Leases` (r:1 w:1)
174 /// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
175 /// Storage: `Broker::Reservations` (r:1 w:0)
176 /// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(6011), added: 6506, mode: `MaxEncodedLen`)
177 /// Storage: `Broker::InstaPoolIo` (r:3 w:3)
178 /// Proof: `Broker::InstaPoolIo` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
179 /// Storage: `Broker::AutoRenewals` (r:1 w:1)
180 /// Proof: `Broker::AutoRenewals` (`max_values`: Some(1), `max_size`: Some(101), added: 596, mode: `MaxEncodedLen`)
181 /// Storage: `Broker::SaleInfo` (r:0 w:1)
182 /// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
183 /// Storage: `Broker::Status` (r:0 w:1)
184 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
185 /// Storage: `Broker::Workplan` (r:0 w:10)
186 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
187 /// The range of component `n` is `[0, 1000]`.
188 fn start_sales(n: u32, ) -> Weight {
189 // Proof Size summary in bytes:
190 // Measured: `6134`
191 // Estimated: `8499`
192 // Minimum execution time: 27_984_000 picoseconds.
193 Weight::from_parts(50_193_074, 8499)
194 // Standard Error: 487
195 .saturating_add(Weight::from_parts(2_516, 0).saturating_mul(n.into()))
196 .saturating_add(T::DbWeight::get().reads(7_u64))
197 .saturating_add(T::DbWeight::get().writes(16_u64))
198 }
199 /// Storage: `Broker::Status` (r:1 w:0)
200 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
201 /// Storage: `Broker::SaleInfo` (r:1 w:1)
202 /// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
203 /// Storage: `Broker::Regions` (r:0 w:1)
204 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
205 fn purchase() -> Weight {
206 // Proof Size summary in bytes:
207 // Measured: `274`
208 // Estimated: `1542`
209 // Minimum execution time: 36_368_000 picoseconds.
210 Weight::from_parts(37_544_000, 1542)
211 .saturating_add(T::DbWeight::get().reads(2_u64))
212 .saturating_add(T::DbWeight::get().writes(2_u64))
213 }
214 /// Storage: `Broker::Configuration` (r:1 w:0)
215 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
216 /// Storage: `Broker::Status` (r:1 w:0)
217 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
218 /// Storage: `Broker::SaleInfo` (r:1 w:1)
219 /// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
220 /// Storage: `Broker::PotentialRenewals` (r:1 w:2)
221 /// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
222 /// Storage: `Broker::Workplan` (r:0 w:1)
223 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
224 fn renew() -> Weight {
225 // Proof Size summary in bytes:
226 // Measured: `392`
227 // Estimated: `4698`
228 // Minimum execution time: 63_735_000 picoseconds.
229 Weight::from_parts(72_328_000, 4698)
230 .saturating_add(T::DbWeight::get().reads(4_u64))
231 .saturating_add(T::DbWeight::get().writes(4_u64))
232 }
233 /// Storage: `Broker::Regions` (r:1 w:1)
234 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
235 fn transfer() -> Weight {
236 // Proof Size summary in bytes:
237 // Measured: `300`
238 // Estimated: `3551`
239 // Minimum execution time: 15_308_000 picoseconds.
240 Weight::from_parts(16_395_000, 3551)
241 .saturating_add(T::DbWeight::get().reads(1_u64))
242 .saturating_add(T::DbWeight::get().writes(1_u64))
243 }
244 /// Storage: `Broker::Regions` (r:1 w:2)
245 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
246 fn partition() -> Weight {
247 // Proof Size summary in bytes:
248 // Measured: `300`
249 // Estimated: `3551`
250 // Minimum execution time: 17_210_000 picoseconds.
251 Weight::from_parts(17_926_000, 3551)
252 .saturating_add(T::DbWeight::get().reads(1_u64))
253 .saturating_add(T::DbWeight::get().writes(2_u64))
254 }
255 /// Storage: `Broker::Regions` (r:1 w:3)
256 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
257 fn interlace() -> Weight {
258 // Proof Size summary in bytes:
259 // Measured: `300`
260 // Estimated: `3551`
261 // Minimum execution time: 18_489_000 picoseconds.
262 Weight::from_parts(19_209_000, 3551)
263 .saturating_add(T::DbWeight::get().reads(1_u64))
264 .saturating_add(T::DbWeight::get().writes(3_u64))
265 }
266 /// Storage: `Broker::Configuration` (r:1 w:0)
267 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
268 /// Storage: `Broker::Status` (r:1 w:0)
269 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
270 /// Storage: `Broker::Regions` (r:1 w:1)
271 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
272 /// Storage: `Broker::Workplan` (r:1 w:1)
273 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
274 fn assign() -> Weight {
275 // Proof Size summary in bytes:
276 // Measured: `545`
277 // Estimated: `4681`
278 // Minimum execution time: 30_336_000 picoseconds.
279 Weight::from_parts(32_040_000, 4681)
280 .saturating_add(T::DbWeight::get().reads(4_u64))
281 .saturating_add(T::DbWeight::get().writes(2_u64))
282 }
283 /// Storage: `Broker::Status` (r:1 w:0)
284 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
285 /// Storage: `Broker::Regions` (r:1 w:1)
286 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
287 /// Storage: `Broker::Workplan` (r:1 w:1)
288 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
289 /// Storage: `Broker::InstaPoolIo` (r:2 w:2)
290 /// Proof: `Broker::InstaPoolIo` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
291 /// Storage: `Broker::InstaPoolContribution` (r:0 w:1)
292 /// Proof: `Broker::InstaPoolContribution` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
293 fn pool() -> Weight {
294 // Proof Size summary in bytes:
295 // Measured: `580`
296 // Estimated: `5996`
297 // Minimum execution time: 37_417_000 picoseconds.
298 Weight::from_parts(39_629_000, 5996)
299 .saturating_add(T::DbWeight::get().reads(5_u64))
300 .saturating_add(T::DbWeight::get().writes(5_u64))
301 }
302 /// Storage: `Broker::InstaPoolContribution` (r:1 w:1)
303 /// Proof: `Broker::InstaPoolContribution` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
304 /// Storage: `Broker::InstaPoolHistory` (r:3 w:1)
305 /// Proof: `Broker::InstaPoolHistory` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
306 /// Storage: `System::Account` (r:2 w:2)
307 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
308 /// The range of component `m` is `[1, 3]`.
309 fn claim_revenue(m: u32, ) -> Weight {
310 // Proof Size summary in bytes:
311 // Measured: `682`
312 // Estimated: `6196 + m * (2520 ±0)`
313 // Minimum execution time: 68_403_000 picoseconds.
314 Weight::from_parts(71_259_395, 6196)
315 // Standard Error: 70_171
316 .saturating_add(Weight::from_parts(1_324_469, 0).saturating_mul(m.into()))
317 .saturating_add(T::DbWeight::get().reads(3_u64))
318 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
319 .saturating_add(T::DbWeight::get().writes(5_u64))
320 .saturating_add(Weight::from_parts(0, 2520).saturating_mul(m.into()))
321 }
322 /// Storage: `System::Account` (r:1 w:1)
323 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
324 fn purchase_credit() -> Weight {
325 // Proof Size summary in bytes:
326 // Measured: `103`
327 // Estimated: `3593`
328 // Minimum execution time: 43_427_000 picoseconds.
329 Weight::from_parts(46_449_000, 3593)
330 .saturating_add(T::DbWeight::get().reads(1_u64))
331 .saturating_add(T::DbWeight::get().writes(1_u64))
332 }
333 /// Storage: `Broker::Status` (r:1 w:0)
334 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
335 /// Storage: `Broker::Regions` (r:1 w:1)
336 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
337 fn drop_region() -> Weight {
338 // Proof Size summary in bytes:
339 // Measured: `408`
340 // Estimated: `3551`
341 // Minimum execution time: 33_171_000 picoseconds.
342 Weight::from_parts(36_281_000, 3551)
343 .saturating_add(T::DbWeight::get().reads(2_u64))
344 .saturating_add(T::DbWeight::get().writes(1_u64))
345 }
346 /// Storage: `Broker::Configuration` (r:1 w:0)
347 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
348 /// Storage: `Broker::Status` (r:1 w:0)
349 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
350 /// Storage: `Broker::InstaPoolContribution` (r:1 w:1)
351 /// Proof: `Broker::InstaPoolContribution` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
352 fn drop_contribution() -> Weight {
353 // Proof Size summary in bytes:
354 // Measured: `405`
355 // Estimated: `3533`
356 // Minimum execution time: 44_610_000 picoseconds.
357 Weight::from_parts(51_348_000, 3533)
358 .saturating_add(T::DbWeight::get().reads(3_u64))
359 .saturating_add(T::DbWeight::get().writes(1_u64))
360 }
361 /// Storage: `Broker::Configuration` (r:1 w:0)
362 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
363 /// Storage: `Broker::Status` (r:1 w:0)
364 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
365 /// Storage: `Broker::InstaPoolHistory` (r:1 w:1)
366 /// Proof: `Broker::InstaPoolHistory` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
367 /// Storage: `System::Account` (r:1 w:0)
368 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
369 fn drop_history() -> Weight {
370 // Proof Size summary in bytes:
371 // Measured: `818`
372 // Estimated: `3593`
373 // Minimum execution time: 53_872_000 picoseconds.
374 Weight::from_parts(61_465_000, 3593)
375 .saturating_add(T::DbWeight::get().reads(4_u64))
376 .saturating_add(T::DbWeight::get().writes(1_u64))
377 }
378 /// Storage: `Broker::Status` (r:1 w:0)
379 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
380 /// Storage: `Broker::PotentialRenewals` (r:1 w:1)
381 /// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
382 fn drop_renewal() -> Weight {
383 // Proof Size summary in bytes:
384 // Measured: `465`
385 // Estimated: `4698`
386 // Minimum execution time: 36_358_000 picoseconds.
387 Weight::from_parts(41_672_000, 4698)
388 .saturating_add(T::DbWeight::get().reads(2_u64))
389 .saturating_add(T::DbWeight::get().writes(1_u64))
390 }
391 /// The range of component `n` is `[0, 1000]`.
392 fn request_core_count(_n: u32, ) -> Weight {
393 // Proof Size summary in bytes:
394 // Measured: `0`
395 // Estimated: `0`
396 // Minimum execution time: 3_748_000 picoseconds.
397 Weight::from_parts(3_989_484, 0)
398 }
399 /// Storage: `Broker::CoreCountInbox` (r:1 w:1)
400 /// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
401 /// The range of component `n` is `[0, 1000]`.
402 fn process_core_count(n: u32, ) -> Weight {
403 // Proof Size summary in bytes:
404 // Measured: `208`
405 // Estimated: `1487`
406 // Minimum execution time: 5_733_000 picoseconds.
407 Weight::from_parts(6_067_265, 1487)
408 // Standard Error: 9
409 .saturating_add(Weight::from_parts(16, 0).saturating_mul(n.into()))
410 .saturating_add(T::DbWeight::get().reads(1_u64))
411 .saturating_add(T::DbWeight::get().writes(1_u64))
412 }
413 /// Storage: `Broker::RevenueInbox` (r:1 w:1)
414 /// Proof: `Broker::RevenueInbox` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`)
415 /// Storage: `Broker::InstaPoolHistory` (r:1 w:1)
416 /// Proof: `Broker::InstaPoolHistory` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
417 /// Storage: `System::Account` (r:1 w:1)
418 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
419 fn process_revenue() -> Weight {
420 // Proof Size summary in bytes:
421 // Measured: `471`
422 // Estimated: `3593`
423 // Minimum execution time: 38_503_000 picoseconds.
424 Weight::from_parts(39_956_000, 3593)
425 .saturating_add(T::DbWeight::get().reads(3_u64))
426 .saturating_add(T::DbWeight::get().writes(3_u64))
427 }
428 /// Storage: `Broker::InstaPoolIo` (r:3 w:3)
429 /// Proof: `Broker::InstaPoolIo` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
430 /// Storage: `Broker::Reservations` (r:1 w:0)
431 /// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(6011), added: 6506, mode: `MaxEncodedLen`)
432 /// Storage: `Broker::Leases` (r:1 w:1)
433 /// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
434 /// Storage: `Broker::AutoRenewals` (r:1 w:1)
435 /// Proof: `Broker::AutoRenewals` (`max_values`: Some(1), `max_size`: Some(101), added: 596, mode: `MaxEncodedLen`)
436 /// Storage: `Broker::Configuration` (r:1 w:0)
437 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
438 /// Storage: `Broker::Status` (r:1 w:0)
439 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
440 /// Storage: `Broker::PotentialRenewals` (r:10 w:20)
441 /// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
442 /// Storage: `System::Account` (r:10 w:10)
443 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
444 /// Storage: `Broker::SaleInfo` (r:0 w:1)
445 /// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
446 /// Storage: `Broker::Workplan` (r:0 w:1000)
447 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
448 /// The range of component `n` is `[0, 1000]`.
449 fn rotate_sale(n: u32, ) -> Weight {
450 // Proof Size summary in bytes:
451 // Measured: `8126`
452 // Estimated: `38070`
453 // Minimum execution time: 21_763_000 picoseconds.
454 Weight::from_parts(325_729_398, 38070)
455 // Standard Error: 6_937
456 .saturating_add(Weight::from_parts(1_323_585, 0).saturating_mul(n.into()))
457 .saturating_add(T::DbWeight::get().reads(26_u64))
458 .saturating_add(T::DbWeight::get().writes(34_u64))
459 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
460 }
461 /// Storage: `Broker::InstaPoolIo` (r:1 w:0)
462 /// Proof: `Broker::InstaPoolIo` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
463 /// Storage: `Broker::InstaPoolHistory` (r:0 w:1)
464 /// Proof: `Broker::InstaPoolHistory` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
465 fn process_pool() -> Weight {
466 // Proof Size summary in bytes:
467 // Measured: `0`
468 // Estimated: `3493`
469 // Minimum execution time: 5_015_000 picoseconds.
470 Weight::from_parts(5_306_000, 3493)
471 .saturating_add(T::DbWeight::get().reads(1_u64))
472 .saturating_add(T::DbWeight::get().writes(1_u64))
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 fn process_core_schedule() -> Weight {
479 // Proof Size summary in bytes:
480 // Measured: `1223`
481 // Estimated: `4681`
482 // Minimum execution time: 11_737_000 picoseconds.
483 Weight::from_parts(12_121_000, 4681)
484 .saturating_add(T::DbWeight::get().reads(2_u64))
485 .saturating_add(T::DbWeight::get().writes(2_u64))
486 }
487 fn request_revenue_info_at() -> Weight {
488 // Proof Size summary in bytes:
489 // Measured: `0`
490 // Estimated: `0`
491 // Minimum execution time: 130_000 picoseconds.
492 Weight::from_parts(184_000, 0)
493 }
494 /// Storage: `Broker::CoreCountInbox` (r:0 w:1)
495 /// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
496 fn notify_core_count() -> Weight {
497 // Proof Size summary in bytes:
498 // Measured: `0`
499 // Estimated: `0`
500 // Minimum execution time: 1_823_000 picoseconds.
501 Weight::from_parts(1_907_000, 0)
502 .saturating_add(T::DbWeight::get().writes(1_u64))
503 }
504 /// Storage: `Broker::RevenueInbox` (r:0 w:1)
505 /// Proof: `Broker::RevenueInbox` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`)
506 fn notify_revenue() -> Weight {
507 // Proof Size summary in bytes:
508 // Measured: `0`
509 // Estimated: `0`
510 // Minimum execution time: 1_986_000 picoseconds.
511 Weight::from_parts(2_067_000, 0)
512 .saturating_add(T::DbWeight::get().writes(1_u64))
513 }
514 /// Storage: `Broker::Status` (r:1 w:1)
515 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
516 /// Storage: `Broker::Configuration` (r:1 w:0)
517 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
518 /// Storage: `Broker::CoreCountInbox` (r:1 w:0)
519 /// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
520 /// Storage: `Broker::RevenueInbox` (r:1 w:0)
521 /// Proof: `Broker::RevenueInbox` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`)
522 fn do_tick_base() -> Weight {
523 // Proof Size summary in bytes:
524 // Measured: `245`
525 // Estimated: `1516`
526 // Minimum execution time: 10_211_000 picoseconds.
527 Weight::from_parts(10_652_000, 1516)
528 .saturating_add(T::DbWeight::get().reads(4_u64))
529 .saturating_add(T::DbWeight::get().writes(1_u64))
530 }
531 /// Storage: `Broker::SaleInfo` (r:1 w:0)
532 /// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
533 /// Storage: `Broker::Reservations` (r:1 w:1)
534 /// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(6011), added: 6506, mode: `MaxEncodedLen`)
535 /// Storage: `Broker::Status` (r:1 w:0)
536 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
537 /// Storage: `Broker::Workplan` (r:0 w:2)
538 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
539 fn force_reserve() -> Weight {
540 // Proof Size summary in bytes:
541 // Measured: `5073`
542 // Estimated: `7496`
543 // Minimum execution time: 27_298_000 picoseconds.
544 Weight::from_parts(28_072_000, 7496)
545 .saturating_add(T::DbWeight::get().reads(3_u64))
546 .saturating_add(T::DbWeight::get().writes(3_u64))
547 }
548 /// Storage: `Broker::Leases` (r:1 w:1)
549 /// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
550 fn swap_leases() -> Weight {
551 // Proof Size summary in bytes:
552 // Measured: `39`
553 // Estimated: `1526`
554 // Minimum execution time: 4_402_000 picoseconds.
555 Weight::from_parts(4_626_000, 1526)
556 .saturating_add(T::DbWeight::get().reads(1_u64))
557 .saturating_add(T::DbWeight::get().writes(1_u64))
558 }
559 /// Storage: `Broker::SaleInfo` (r:1 w:1)
560 /// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
561 /// Storage: `Broker::PotentialRenewals` (r:1 w:2)
562 /// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
563 /// Storage: `Broker::Configuration` (r:1 w:0)
564 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
565 /// Storage: `Broker::Status` (r:1 w:0)
566 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
567 /// Storage: `System::Account` (r:1 w:1)
568 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
569 /// Storage: `Broker::AutoRenewals` (r:1 w:1)
570 /// Proof: `Broker::AutoRenewals` (`max_values`: Some(1), `max_size`: Some(101), added: 596, mode: `MaxEncodedLen`)
571 /// Storage: `Broker::Workplan` (r:0 w:1)
572 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
573 fn enable_auto_renew() -> Weight {
574 // Proof Size summary in bytes:
575 // Measured: `888`
576 // Estimated: `4698`
577 // Minimum execution time: 79_617_000 picoseconds.
578 Weight::from_parts(84_468_000, 4698)
579 .saturating_add(T::DbWeight::get().reads(6_u64))
580 .saturating_add(T::DbWeight::get().writes(6_u64))
581 }
582 /// Storage: `Broker::AutoRenewals` (r:1 w:1)
583 /// Proof: `Broker::AutoRenewals` (`max_values`: Some(1), `max_size`: Some(101), added: 596, mode: `MaxEncodedLen`)
584 fn disable_auto_renew() -> Weight {
585 // Proof Size summary in bytes:
586 // Measured: `382`
587 // Estimated: `1586`
588 // Minimum execution time: 14_582_000 picoseconds.
589 Weight::from_parts(15_206_000, 1586)
590 .saturating_add(T::DbWeight::get().reads(1_u64))
591 .saturating_add(T::DbWeight::get().writes(1_u64))
592 }
593 fn on_new_timeslice() -> Weight {
594 // Proof Size summary in bytes:
595 // Measured: `0`
596 // Estimated: `0`
597 // Minimum execution time: 227_000 picoseconds.
598 Weight::from_parts(251_000, 0)
599 }
600 /// Storage: `Broker::Workplan` (r:1 w:1)
601 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
602 fn remove_assignment() -> Weight {
603 // Proof Size summary in bytes:
604 // Measured: `408`
605 // Estimated: `4681`
606 // Minimum execution time: 14_911_000 picoseconds.
607 Weight::from_parts(15_782_000, 4681)
608 .saturating_add(T::DbWeight::get().reads(1_u64))
609 .saturating_add(T::DbWeight::get().writes(1_u64))
610 }
611 /// Storage: `Broker::PotentialRenewals` (r:1 w:1)
612 /// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
613 fn remove_potential_renewal() -> Weight {
614 // Proof Size summary in bytes:
615 // Measured: `450`
616 // Estimated: `4698`
617 // Minimum execution time: 21_575_000 picoseconds.
618 Weight::from_parts(22_584_000, 4698)
619 .saturating_add(T::DbWeight::get().reads(1_u64))
620 .saturating_add(T::DbWeight::get().writes(1_u64))
621 }
622 /// Storage: `Broker::Regions` (r:1 w:1)
623 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
624 fn force_transfer() -> Weight {
625 // Proof Size summary in bytes:
626 // Measured: `496`
627 // Estimated: `3551`
628 // Minimum execution time: 22_866_000 picoseconds.
629 Weight::from_parts(23_961_000, 3551)
630 .saturating_add(T::DbWeight::get().reads(1_u64))
631 .saturating_add(T::DbWeight::get().writes(1_u64))
632 }
633}
634
635// For backwards compatibility and tests.
636impl WeightInfo for () {
637 /// Storage: `Broker::Configuration` (r:0 w:1)
638 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
639 fn configure() -> Weight {
640 // Proof Size summary in bytes:
641 // Measured: `0`
642 // Estimated: `0`
643 // Minimum execution time: 1_989_000 picoseconds.
644 Weight::from_parts(2_154_000, 0)
645 .saturating_add(RocksDbWeight::get().writes(1_u64))
646 }
647 /// Storage: `Broker::Reservations` (r:1 w:1)
648 /// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(6011), added: 6506, mode: `MaxEncodedLen`)
649 fn reserve() -> Weight {
650 // Proof Size summary in bytes:
651 // Measured: `4816`
652 // Estimated: `7496`
653 // Minimum execution time: 14_828_000 picoseconds.
654 Weight::from_parts(15_421_000, 7496)
655 .saturating_add(RocksDbWeight::get().reads(1_u64))
656 .saturating_add(RocksDbWeight::get().writes(1_u64))
657 }
658 /// Storage: `Broker::Reservations` (r:1 w:1)
659 /// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(6011), added: 6506, mode: `MaxEncodedLen`)
660 fn unreserve() -> Weight {
661 // Proof Size summary in bytes:
662 // Measured: `6018`
663 // Estimated: `7496`
664 // Minimum execution time: 14_330_000 picoseconds.
665 Weight::from_parts(14_621_000, 7496)
666 .saturating_add(RocksDbWeight::get().reads(1_u64))
667 .saturating_add(RocksDbWeight::get().writes(1_u64))
668 }
669 /// Storage: `Broker::Leases` (r:1 w:1)
670 /// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
671 fn set_lease() -> Weight {
672 // Proof Size summary in bytes:
673 // Measured: `39`
674 // Estimated: `1526`
675 // Minimum execution time: 7_456_000 picoseconds.
676 Weight::from_parts(7_707_000, 1526)
677 .saturating_add(RocksDbWeight::get().reads(1_u64))
678 .saturating_add(RocksDbWeight::get().writes(1_u64))
679 }
680 /// Storage: `Broker::Leases` (r:1 w:1)
681 /// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
682 fn remove_lease() -> Weight {
683 // Proof Size summary in bytes:
684 // Measured: `47`
685 // Estimated: `1526`
686 // Minimum execution time: 7_047_000 picoseconds.
687 Weight::from_parts(7_339_000, 1526)
688 .saturating_add(RocksDbWeight::get().reads(1_u64))
689 .saturating_add(RocksDbWeight::get().writes(1_u64))
690 }
691 /// Storage: `Broker::Configuration` (r:1 w:0)
692 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
693 /// Storage: `Broker::Leases` (r:1 w:1)
694 /// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
695 /// Storage: `Broker::Reservations` (r:1 w:0)
696 /// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(6011), added: 6506, mode: `MaxEncodedLen`)
697 /// Storage: `Broker::InstaPoolIo` (r:3 w:3)
698 /// Proof: `Broker::InstaPoolIo` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
699 /// Storage: `Broker::AutoRenewals` (r:1 w:1)
700 /// Proof: `Broker::AutoRenewals` (`max_values`: Some(1), `max_size`: Some(101), added: 596, mode: `MaxEncodedLen`)
701 /// Storage: `Broker::SaleInfo` (r:0 w:1)
702 /// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
703 /// Storage: `Broker::Status` (r:0 w:1)
704 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
705 /// Storage: `Broker::Workplan` (r:0 w:10)
706 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
707 /// The range of component `n` is `[0, 1000]`.
708 fn start_sales(n: u32, ) -> Weight {
709 // Proof Size summary in bytes:
710 // Measured: `6134`
711 // Estimated: `8499`
712 // Minimum execution time: 27_984_000 picoseconds.
713 Weight::from_parts(50_193_074, 8499)
714 // Standard Error: 487
715 .saturating_add(Weight::from_parts(2_516, 0).saturating_mul(n.into()))
716 .saturating_add(RocksDbWeight::get().reads(7_u64))
717 .saturating_add(RocksDbWeight::get().writes(16_u64))
718 }
719 /// Storage: `Broker::Status` (r:1 w:0)
720 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
721 /// Storage: `Broker::SaleInfo` (r:1 w:1)
722 /// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
723 /// Storage: `Broker::Regions` (r:0 w:1)
724 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
725 fn purchase() -> Weight {
726 // Proof Size summary in bytes:
727 // Measured: `274`
728 // Estimated: `1542`
729 // Minimum execution time: 36_368_000 picoseconds.
730 Weight::from_parts(37_544_000, 1542)
731 .saturating_add(RocksDbWeight::get().reads(2_u64))
732 .saturating_add(RocksDbWeight::get().writes(2_u64))
733 }
734 /// Storage: `Broker::Configuration` (r:1 w:0)
735 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
736 /// Storage: `Broker::Status` (r:1 w:0)
737 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
738 /// Storage: `Broker::SaleInfo` (r:1 w:1)
739 /// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
740 /// Storage: `Broker::PotentialRenewals` (r:1 w:2)
741 /// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
742 /// Storage: `Broker::Workplan` (r:0 w:1)
743 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
744 fn renew() -> Weight {
745 // Proof Size summary in bytes:
746 // Measured: `392`
747 // Estimated: `4698`
748 // Minimum execution time: 63_735_000 picoseconds.
749 Weight::from_parts(72_328_000, 4698)
750 .saturating_add(RocksDbWeight::get().reads(4_u64))
751 .saturating_add(RocksDbWeight::get().writes(4_u64))
752 }
753 /// Storage: `Broker::Regions` (r:1 w:1)
754 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
755 fn transfer() -> Weight {
756 // Proof Size summary in bytes:
757 // Measured: `300`
758 // Estimated: `3551`
759 // Minimum execution time: 15_308_000 picoseconds.
760 Weight::from_parts(16_395_000, 3551)
761 .saturating_add(RocksDbWeight::get().reads(1_u64))
762 .saturating_add(RocksDbWeight::get().writes(1_u64))
763 }
764 /// Storage: `Broker::Regions` (r:1 w:2)
765 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
766 fn partition() -> Weight {
767 // Proof Size summary in bytes:
768 // Measured: `300`
769 // Estimated: `3551`
770 // Minimum execution time: 17_210_000 picoseconds.
771 Weight::from_parts(17_926_000, 3551)
772 .saturating_add(RocksDbWeight::get().reads(1_u64))
773 .saturating_add(RocksDbWeight::get().writes(2_u64))
774 }
775 /// Storage: `Broker::Regions` (r:1 w:3)
776 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
777 fn interlace() -> Weight {
778 // Proof Size summary in bytes:
779 // Measured: `300`
780 // Estimated: `3551`
781 // Minimum execution time: 18_489_000 picoseconds.
782 Weight::from_parts(19_209_000, 3551)
783 .saturating_add(RocksDbWeight::get().reads(1_u64))
784 .saturating_add(RocksDbWeight::get().writes(3_u64))
785 }
786 /// Storage: `Broker::Configuration` (r:1 w:0)
787 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
788 /// Storage: `Broker::Status` (r:1 w:0)
789 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
790 /// Storage: `Broker::Regions` (r:1 w:1)
791 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
792 /// Storage: `Broker::Workplan` (r:1 w:1)
793 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
794 fn assign() -> Weight {
795 // Proof Size summary in bytes:
796 // Measured: `545`
797 // Estimated: `4681`
798 // Minimum execution time: 30_336_000 picoseconds.
799 Weight::from_parts(32_040_000, 4681)
800 .saturating_add(RocksDbWeight::get().reads(4_u64))
801 .saturating_add(RocksDbWeight::get().writes(2_u64))
802 }
803 /// Storage: `Broker::Status` (r:1 w:0)
804 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
805 /// Storage: `Broker::Regions` (r:1 w:1)
806 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
807 /// Storage: `Broker::Workplan` (r:1 w:1)
808 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
809 /// Storage: `Broker::InstaPoolIo` (r:2 w:2)
810 /// Proof: `Broker::InstaPoolIo` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
811 /// Storage: `Broker::InstaPoolContribution` (r:0 w:1)
812 /// Proof: `Broker::InstaPoolContribution` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
813 fn pool() -> Weight {
814 // Proof Size summary in bytes:
815 // Measured: `580`
816 // Estimated: `5996`
817 // Minimum execution time: 37_417_000 picoseconds.
818 Weight::from_parts(39_629_000, 5996)
819 .saturating_add(RocksDbWeight::get().reads(5_u64))
820 .saturating_add(RocksDbWeight::get().writes(5_u64))
821 }
822 /// Storage: `Broker::InstaPoolContribution` (r:1 w:1)
823 /// Proof: `Broker::InstaPoolContribution` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
824 /// Storage: `Broker::InstaPoolHistory` (r:3 w:1)
825 /// Proof: `Broker::InstaPoolHistory` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
826 /// Storage: `System::Account` (r:2 w:2)
827 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
828 /// The range of component `m` is `[1, 3]`.
829 fn claim_revenue(m: u32, ) -> Weight {
830 // Proof Size summary in bytes:
831 // Measured: `682`
832 // Estimated: `6196 + m * (2520 ±0)`
833 // Minimum execution time: 68_403_000 picoseconds.
834 Weight::from_parts(71_259_395, 6196)
835 // Standard Error: 70_171
836 .saturating_add(Weight::from_parts(1_324_469, 0).saturating_mul(m.into()))
837 .saturating_add(RocksDbWeight::get().reads(3_u64))
838 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(m.into())))
839 .saturating_add(RocksDbWeight::get().writes(5_u64))
840 .saturating_add(Weight::from_parts(0, 2520).saturating_mul(m.into()))
841 }
842 /// Storage: `System::Account` (r:1 w:1)
843 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
844 fn purchase_credit() -> Weight {
845 // Proof Size summary in bytes:
846 // Measured: `103`
847 // Estimated: `3593`
848 // Minimum execution time: 43_427_000 picoseconds.
849 Weight::from_parts(46_449_000, 3593)
850 .saturating_add(RocksDbWeight::get().reads(1_u64))
851 .saturating_add(RocksDbWeight::get().writes(1_u64))
852 }
853 /// Storage: `Broker::Status` (r:1 w:0)
854 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
855 /// Storage: `Broker::Regions` (r:1 w:1)
856 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
857 fn drop_region() -> Weight {
858 // Proof Size summary in bytes:
859 // Measured: `408`
860 // Estimated: `3551`
861 // Minimum execution time: 33_171_000 picoseconds.
862 Weight::from_parts(36_281_000, 3551)
863 .saturating_add(RocksDbWeight::get().reads(2_u64))
864 .saturating_add(RocksDbWeight::get().writes(1_u64))
865 }
866 /// Storage: `Broker::Configuration` (r:1 w:0)
867 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
868 /// Storage: `Broker::Status` (r:1 w:0)
869 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
870 /// Storage: `Broker::InstaPoolContribution` (r:1 w:1)
871 /// Proof: `Broker::InstaPoolContribution` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
872 fn drop_contribution() -> Weight {
873 // Proof Size summary in bytes:
874 // Measured: `405`
875 // Estimated: `3533`
876 // Minimum execution time: 44_610_000 picoseconds.
877 Weight::from_parts(51_348_000, 3533)
878 .saturating_add(RocksDbWeight::get().reads(3_u64))
879 .saturating_add(RocksDbWeight::get().writes(1_u64))
880 }
881 /// Storage: `Broker::Configuration` (r:1 w:0)
882 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
883 /// Storage: `Broker::Status` (r:1 w:0)
884 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
885 /// Storage: `Broker::InstaPoolHistory` (r:1 w:1)
886 /// Proof: `Broker::InstaPoolHistory` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
887 /// Storage: `System::Account` (r:1 w:0)
888 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
889 fn drop_history() -> Weight {
890 // Proof Size summary in bytes:
891 // Measured: `818`
892 // Estimated: `3593`
893 // Minimum execution time: 53_872_000 picoseconds.
894 Weight::from_parts(61_465_000, 3593)
895 .saturating_add(RocksDbWeight::get().reads(4_u64))
896 .saturating_add(RocksDbWeight::get().writes(1_u64))
897 }
898 /// Storage: `Broker::Status` (r:1 w:0)
899 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
900 /// Storage: `Broker::PotentialRenewals` (r:1 w:1)
901 /// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
902 fn drop_renewal() -> Weight {
903 // Proof Size summary in bytes:
904 // Measured: `465`
905 // Estimated: `4698`
906 // Minimum execution time: 36_358_000 picoseconds.
907 Weight::from_parts(41_672_000, 4698)
908 .saturating_add(RocksDbWeight::get().reads(2_u64))
909 .saturating_add(RocksDbWeight::get().writes(1_u64))
910 }
911 /// The range of component `n` is `[0, 1000]`.
912 fn request_core_count(_n: u32, ) -> Weight {
913 // Proof Size summary in bytes:
914 // Measured: `0`
915 // Estimated: `0`
916 // Minimum execution time: 3_748_000 picoseconds.
917 Weight::from_parts(3_989_484, 0)
918 }
919 /// Storage: `Broker::CoreCountInbox` (r:1 w:1)
920 /// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
921 /// The range of component `n` is `[0, 1000]`.
922 fn process_core_count(n: u32, ) -> Weight {
923 // Proof Size summary in bytes:
924 // Measured: `208`
925 // Estimated: `1487`
926 // Minimum execution time: 5_733_000 picoseconds.
927 Weight::from_parts(6_067_265, 1487)
928 // Standard Error: 9
929 .saturating_add(Weight::from_parts(16, 0).saturating_mul(n.into()))
930 .saturating_add(RocksDbWeight::get().reads(1_u64))
931 .saturating_add(RocksDbWeight::get().writes(1_u64))
932 }
933 /// Storage: `Broker::RevenueInbox` (r:1 w:1)
934 /// Proof: `Broker::RevenueInbox` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`)
935 /// Storage: `Broker::InstaPoolHistory` (r:1 w:1)
936 /// Proof: `Broker::InstaPoolHistory` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
937 /// Storage: `System::Account` (r:1 w:1)
938 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
939 fn process_revenue() -> Weight {
940 // Proof Size summary in bytes:
941 // Measured: `471`
942 // Estimated: `3593`
943 // Minimum execution time: 38_503_000 picoseconds.
944 Weight::from_parts(39_956_000, 3593)
945 .saturating_add(RocksDbWeight::get().reads(3_u64))
946 .saturating_add(RocksDbWeight::get().writes(3_u64))
947 }
948 /// Storage: `Broker::InstaPoolIo` (r:3 w:3)
949 /// Proof: `Broker::InstaPoolIo` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
950 /// Storage: `Broker::Reservations` (r:1 w:0)
951 /// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(6011), added: 6506, mode: `MaxEncodedLen`)
952 /// Storage: `Broker::Leases` (r:1 w:1)
953 /// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
954 /// Storage: `Broker::AutoRenewals` (r:1 w:1)
955 /// Proof: `Broker::AutoRenewals` (`max_values`: Some(1), `max_size`: Some(101), added: 596, mode: `MaxEncodedLen`)
956 /// Storage: `Broker::Configuration` (r:1 w:0)
957 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
958 /// Storage: `Broker::Status` (r:1 w:0)
959 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
960 /// Storage: `Broker::PotentialRenewals` (r:10 w:20)
961 /// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
962 /// Storage: `System::Account` (r:10 w:10)
963 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
964 /// Storage: `Broker::SaleInfo` (r:0 w:1)
965 /// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
966 /// Storage: `Broker::Workplan` (r:0 w:1000)
967 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
968 /// The range of component `n` is `[0, 1000]`.
969 fn rotate_sale(n: u32, ) -> Weight {
970 // Proof Size summary in bytes:
971 // Measured: `8126`
972 // Estimated: `38070`
973 // Minimum execution time: 21_763_000 picoseconds.
974 Weight::from_parts(325_729_398, 38070)
975 // Standard Error: 6_937
976 .saturating_add(Weight::from_parts(1_323_585, 0).saturating_mul(n.into()))
977 .saturating_add(RocksDbWeight::get().reads(26_u64))
978 .saturating_add(RocksDbWeight::get().writes(34_u64))
979 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
980 }
981 /// Storage: `Broker::InstaPoolIo` (r:1 w:0)
982 /// Proof: `Broker::InstaPoolIo` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
983 /// Storage: `Broker::InstaPoolHistory` (r:0 w:1)
984 /// Proof: `Broker::InstaPoolHistory` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
985 fn process_pool() -> Weight {
986 // Proof Size summary in bytes:
987 // Measured: `0`
988 // Estimated: `3493`
989 // Minimum execution time: 5_015_000 picoseconds.
990 Weight::from_parts(5_306_000, 3493)
991 .saturating_add(RocksDbWeight::get().reads(1_u64))
992 .saturating_add(RocksDbWeight::get().writes(1_u64))
993 }
994 /// Storage: `Broker::Workplan` (r:1 w:1)
995 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
996 /// Storage: `Broker::Workload` (r:1 w:1)
997 /// Proof: `Broker::Workload` (`max_values`: None, `max_size`: Some(1212), added: 3687, mode: `MaxEncodedLen`)
998 fn process_core_schedule() -> Weight {
999 // Proof Size summary in bytes:
1000 // Measured: `1223`
1001 // Estimated: `4681`
1002 // Minimum execution time: 11_737_000 picoseconds.
1003 Weight::from_parts(12_121_000, 4681)
1004 .saturating_add(RocksDbWeight::get().reads(2_u64))
1005 .saturating_add(RocksDbWeight::get().writes(2_u64))
1006 }
1007 fn request_revenue_info_at() -> Weight {
1008 // Proof Size summary in bytes:
1009 // Measured: `0`
1010 // Estimated: `0`
1011 // Minimum execution time: 130_000 picoseconds.
1012 Weight::from_parts(184_000, 0)
1013 }
1014 /// Storage: `Broker::CoreCountInbox` (r:0 w:1)
1015 /// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
1016 fn notify_core_count() -> Weight {
1017 // Proof Size summary in bytes:
1018 // Measured: `0`
1019 // Estimated: `0`
1020 // Minimum execution time: 1_823_000 picoseconds.
1021 Weight::from_parts(1_907_000, 0)
1022 .saturating_add(RocksDbWeight::get().writes(1_u64))
1023 }
1024 /// Storage: `Broker::RevenueInbox` (r:0 w:1)
1025 /// Proof: `Broker::RevenueInbox` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`)
1026 fn notify_revenue() -> Weight {
1027 // Proof Size summary in bytes:
1028 // Measured: `0`
1029 // Estimated: `0`
1030 // Minimum execution time: 1_986_000 picoseconds.
1031 Weight::from_parts(2_067_000, 0)
1032 .saturating_add(RocksDbWeight::get().writes(1_u64))
1033 }
1034 /// Storage: `Broker::Status` (r:1 w:1)
1035 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
1036 /// Storage: `Broker::Configuration` (r:1 w:0)
1037 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
1038 /// Storage: `Broker::CoreCountInbox` (r:1 w:0)
1039 /// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
1040 /// Storage: `Broker::RevenueInbox` (r:1 w:0)
1041 /// Proof: `Broker::RevenueInbox` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`)
1042 fn do_tick_base() -> Weight {
1043 // Proof Size summary in bytes:
1044 // Measured: `245`
1045 // Estimated: `1516`
1046 // Minimum execution time: 10_211_000 picoseconds.
1047 Weight::from_parts(10_652_000, 1516)
1048 .saturating_add(RocksDbWeight::get().reads(4_u64))
1049 .saturating_add(RocksDbWeight::get().writes(1_u64))
1050 }
1051 /// Storage: `Broker::SaleInfo` (r:1 w:0)
1052 /// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
1053 /// Storage: `Broker::Reservations` (r:1 w:1)
1054 /// Proof: `Broker::Reservations` (`max_values`: Some(1), `max_size`: Some(6011), added: 6506, mode: `MaxEncodedLen`)
1055 /// Storage: `Broker::Status` (r:1 w:0)
1056 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
1057 /// Storage: `Broker::Workplan` (r:0 w:2)
1058 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
1059 fn force_reserve() -> Weight {
1060 // Proof Size summary in bytes:
1061 // Measured: `5073`
1062 // Estimated: `7496`
1063 // Minimum execution time: 27_298_000 picoseconds.
1064 Weight::from_parts(28_072_000, 7496)
1065 .saturating_add(RocksDbWeight::get().reads(3_u64))
1066 .saturating_add(RocksDbWeight::get().writes(3_u64))
1067 }
1068 /// Storage: `Broker::Leases` (r:1 w:1)
1069 /// Proof: `Broker::Leases` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
1070 fn swap_leases() -> Weight {
1071 // Proof Size summary in bytes:
1072 // Measured: `39`
1073 // Estimated: `1526`
1074 // Minimum execution time: 4_402_000 picoseconds.
1075 Weight::from_parts(4_626_000, 1526)
1076 .saturating_add(RocksDbWeight::get().reads(1_u64))
1077 .saturating_add(RocksDbWeight::get().writes(1_u64))
1078 }
1079 /// Storage: `Broker::SaleInfo` (r:1 w:1)
1080 /// Proof: `Broker::SaleInfo` (`max_values`: Some(1), `max_size`: Some(57), added: 552, mode: `MaxEncodedLen`)
1081 /// Storage: `Broker::PotentialRenewals` (r:1 w:2)
1082 /// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
1083 /// Storage: `Broker::Configuration` (r:1 w:0)
1084 /// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
1085 /// Storage: `Broker::Status` (r:1 w:0)
1086 /// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
1087 /// Storage: `System::Account` (r:1 w:1)
1088 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1089 /// Storage: `Broker::AutoRenewals` (r:1 w:1)
1090 /// Proof: `Broker::AutoRenewals` (`max_values`: Some(1), `max_size`: Some(101), added: 596, mode: `MaxEncodedLen`)
1091 /// Storage: `Broker::Workplan` (r:0 w:1)
1092 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
1093 fn enable_auto_renew() -> Weight {
1094 // Proof Size summary in bytes:
1095 // Measured: `888`
1096 // Estimated: `4698`
1097 // Minimum execution time: 79_617_000 picoseconds.
1098 Weight::from_parts(84_468_000, 4698)
1099 .saturating_add(RocksDbWeight::get().reads(6_u64))
1100 .saturating_add(RocksDbWeight::get().writes(6_u64))
1101 }
1102 /// Storage: `Broker::AutoRenewals` (r:1 w:1)
1103 /// Proof: `Broker::AutoRenewals` (`max_values`: Some(1), `max_size`: Some(101), added: 596, mode: `MaxEncodedLen`)
1104 fn disable_auto_renew() -> Weight {
1105 // Proof Size summary in bytes:
1106 // Measured: `382`
1107 // Estimated: `1586`
1108 // Minimum execution time: 14_582_000 picoseconds.
1109 Weight::from_parts(15_206_000, 1586)
1110 .saturating_add(RocksDbWeight::get().reads(1_u64))
1111 .saturating_add(RocksDbWeight::get().writes(1_u64))
1112 }
1113 fn on_new_timeslice() -> Weight {
1114 // Proof Size summary in bytes:
1115 // Measured: `0`
1116 // Estimated: `0`
1117 // Minimum execution time: 227_000 picoseconds.
1118 Weight::from_parts(251_000, 0)
1119 }
1120 /// Storage: `Broker::Workplan` (r:1 w:1)
1121 /// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
1122 fn remove_assignment() -> Weight {
1123 // Proof Size summary in bytes:
1124 // Measured: `408`
1125 // Estimated: `4681`
1126 // Minimum execution time: 14_911_000 picoseconds.
1127 Weight::from_parts(15_782_000, 4681)
1128 .saturating_add(RocksDbWeight::get().reads(1_u64))
1129 .saturating_add(RocksDbWeight::get().writes(1_u64))
1130 }
1131 /// Storage: `Broker::PotentialRenewals` (r:1 w:1)
1132 /// Proof: `Broker::PotentialRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
1133 fn remove_potential_renewal() -> Weight {
1134 // Proof Size summary in bytes:
1135 // Measured: `450`
1136 // Estimated: `4698`
1137 // Minimum execution time: 21_575_000 picoseconds.
1138 Weight::from_parts(22_584_000, 4698)
1139 .saturating_add(RocksDbWeight::get().reads(1_u64))
1140 .saturating_add(RocksDbWeight::get().writes(1_u64))
1141 }
1142 /// Storage: `Broker::Regions` (r:1 w:1)
1143 /// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(86), added: 2561, mode: `MaxEncodedLen`)
1144 fn force_transfer() -> Weight {
1145 // Proof Size summary in bytes:
1146 // Measured: `496`
1147 // Estimated: `3551`
1148 // Minimum execution time: 22_866_000 picoseconds.
1149 Weight::from_parts(23_961_000, 3551)
1150 .saturating_add(RocksDbWeight::get().reads(1_u64))
1151 .saturating_add(RocksDbWeight::get().writes(1_u64))
1152 }
1153}