1
// This file is part of Substrate.
2

            
3
// Copyright (C) Parity Technologies (UK) Ltd.
4
// SPDX-License-Identifier: Apache-2.0
5

            
6
// Licensed under the Apache License, Version 2.0 (the "License");
7
// you may not use this file except in compliance with the License.
8
// You may obtain a copy of the License at
9
//
10
// 	http://www.apache.org/licenses/LICENSE-2.0
11
//
12
// Unless required by applicable law or agreed to in writing, software
13
// distributed under the License is distributed on an "AS IS" BASIS,
14
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
// See the License for the specific language governing permissions and
16
// limitations under the License.
17

            
18
//! Autogenerated weights for `pallet_scheduler`
19
//!
20
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
21
//! DATE: 2024-04-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `runner-anb7yjbi-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
24
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
25

            
26
// Executed Command:
27
// ./target/production/substrate-node
28
// benchmark
29
// pallet
30
// --chain=dev
31
// --steps=50
32
// --repeat=20
33
// --pallet=pallet_scheduler
34
// --no-storage-info
35
// --no-median-slopes
36
// --no-min-squares
37
// --extrinsic=*
38
// --wasm-execution=compiled
39
// --heap-pages=4096
40
// --output=./substrate/frame/scheduler/src/weights.rs
41
// --header=./substrate/HEADER-APACHE2
42
// --template=./substrate/.maintain/frame-weight-template.hbs
43

            
44
#![cfg_attr(rustfmt, rustfmt_skip)]
45
#![allow(unused_parens)]
46
#![allow(unused_imports)]
47
#![allow(missing_docs)]
48

            
49
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
50
use core::marker::PhantomData;
51

            
52
/// Weight functions needed for `pallet_scheduler`.
53
pub trait WeightInfo {
54
	fn service_agendas_base() -> Weight;
55
	fn service_agenda_base(s: u32, ) -> Weight;
56
	fn service_task_base() -> Weight;
57
	fn service_task_fetched(s: u32, ) -> Weight;
58
	fn service_task_named() -> Weight;
59
	fn service_task_periodic() -> Weight;
60
	fn execute_dispatch_signed() -> Weight;
61
	fn execute_dispatch_unsigned() -> Weight;
62
	fn schedule(s: u32, ) -> Weight;
63
	fn cancel(s: u32, ) -> Weight;
64
	fn schedule_named(s: u32, ) -> Weight;
65
	fn cancel_named(s: u32, ) -> Weight;
66
	fn schedule_retry(s: u32, ) -> Weight;
67
	fn set_retry() -> Weight;
68
	fn set_retry_named() -> Weight;
69
	fn cancel_retry() -> Weight;
70
	fn cancel_retry_named() -> Weight;
71
}
72

            
73
/// Weights for `pallet_scheduler` using the Substrate node and recommended hardware.
74
pub struct SubstrateWeight<T>(PhantomData<T>);
75
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
76
	/// Storage: `Scheduler::IncompleteSince` (r:1 w:1)
77
	/// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
78
	fn service_agendas_base() -> Weight {
79
		// Proof Size summary in bytes:
80
		//  Measured:  `31`
81
		//  Estimated: `1489`
82
		// Minimum execution time: 3_099_000 picoseconds.
83
		Weight::from_parts(3_298_000, 1489)
84
			.saturating_add(T::DbWeight::get().reads(1_u64))
85
			.saturating_add(T::DbWeight::get().writes(1_u64))
86
	}
87
	/// Storage: `Scheduler::Agenda` (r:1 w:1)
88
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
89
	/// The range of component `s` is `[0, 512]`.
90
	fn service_agenda_base(s: u32, ) -> Weight {
91
		// Proof Size summary in bytes:
92
		//  Measured:  `81 + s * (177 ±0)`
93
		//  Estimated: `110487`
94
		// Minimum execution time: 3_558_000 picoseconds.
95
		Weight::from_parts(5_984_191, 110487)
96
			// Standard Error: 564
97
			.saturating_add(Weight::from_parts(334_983, 0).saturating_mul(s.into()))
98
			.saturating_add(T::DbWeight::get().reads(1_u64))
99
			.saturating_add(T::DbWeight::get().writes(1_u64))
100
	}
101
	fn service_task_base() -> Weight {
102
		// Proof Size summary in bytes:
103
		//  Measured:  `0`
104
		//  Estimated: `0`
105
		// Minimum execution time: 3_389_000 picoseconds.
106
		Weight::from_parts(3_609_000, 0)
107
	}
108
	/// Storage: `Preimage::PreimageFor` (r:1 w:1)
109
	/// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`)
110
	/// Storage: `Preimage::StatusFor` (r:1 w:0)
111
	/// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`)
112
	/// Storage: `Preimage::RequestStatusFor` (r:1 w:1)
113
	/// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`)
114
	/// The range of component `s` is `[128, 4194304]`.
115
	fn service_task_fetched(s: u32, ) -> Weight {
116
		// Proof Size summary in bytes:
117
		//  Measured:  `246 + s * (1 ±0)`
118
		//  Estimated: `3711 + s * (1 ±0)`
119
		// Minimum execution time: 18_292_000 picoseconds.
120
		Weight::from_parts(18_574_000, 3711)
121
			// Standard Error: 1
122
			.saturating_add(Weight::from_parts(1_189, 0).saturating_mul(s.into()))
123
			.saturating_add(T::DbWeight::get().reads(3_u64))
124
			.saturating_add(T::DbWeight::get().writes(2_u64))
125
			.saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into()))
126
	}
127
	/// Storage: `Scheduler::Lookup` (r:0 w:1)
128
	/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
129
	fn service_task_named() -> Weight {
130
		// Proof Size summary in bytes:
131
		//  Measured:  `0`
132
		//  Estimated: `0`
133
		// Minimum execution time: 5_216_000 picoseconds.
134
		Weight::from_parts(5_439_000, 0)
135
			.saturating_add(T::DbWeight::get().writes(1_u64))
136
	}
137
	fn service_task_periodic() -> Weight {
138
		// Proof Size summary in bytes:
139
		//  Measured:  `0`
140
		//  Estimated: `0`
141
		// Minimum execution time: 3_383_000 picoseconds.
142
		Weight::from_parts(3_661_000, 0)
143
	}
144
	/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
145
	/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
146
	/// Storage: `TxPause::PausedCalls` (r:1 w:0)
147
	/// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
148
	fn execute_dispatch_signed() -> Weight {
149
		// Proof Size summary in bytes:
150
		//  Measured:  `145`
151
		//  Estimated: `3997`
152
		// Minimum execution time: 6_692_000 picoseconds.
153
		Weight::from_parts(7_069_000, 3997)
154
			.saturating_add(T::DbWeight::get().reads(2_u64))
155
	}
156
	fn execute_dispatch_unsigned() -> Weight {
157
		// Proof Size summary in bytes:
158
		//  Measured:  `0`
159
		//  Estimated: `0`
160
		// Minimum execution time: 2_165_000 picoseconds.
161
		Weight::from_parts(2_332_000, 0)
162
	}
163
	/// Storage: `Scheduler::Agenda` (r:1 w:1)
164
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
165
	/// The range of component `s` is `[0, 511]`.
166
	fn schedule(s: u32, ) -> Weight {
167
		// Proof Size summary in bytes:
168
		//  Measured:  `81 + s * (177 ±0)`
169
		//  Estimated: `110487`
170
		// Minimum execution time: 10_209_000 picoseconds.
171
		Weight::from_parts(11_235_511, 110487)
172
			// Standard Error: 906
173
			.saturating_add(Weight::from_parts(375_445, 0).saturating_mul(s.into()))
174
			.saturating_add(T::DbWeight::get().reads(1_u64))
175
			.saturating_add(T::DbWeight::get().writes(1_u64))
176
	}
177
	/// Storage: `Scheduler::Agenda` (r:1 w:1)
178
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
179
	/// Storage: `Scheduler::Retries` (r:0 w:1)
180
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
181
	/// Storage: `Scheduler::Lookup` (r:0 w:1)
182
	/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
183
	/// The range of component `s` is `[1, 512]`.
184
	fn cancel(s: u32, ) -> Weight {
185
		// Proof Size summary in bytes:
186
		//  Measured:  `81 + s * (177 ±0)`
187
		//  Estimated: `110487`
188
		// Minimum execution time: 15_906_000 picoseconds.
189
		Weight::from_parts(13_697_344, 110487)
190
			// Standard Error: 949
191
			.saturating_add(Weight::from_parts(564_461, 0).saturating_mul(s.into()))
192
			.saturating_add(T::DbWeight::get().reads(1_u64))
193
			.saturating_add(T::DbWeight::get().writes(3_u64))
194
	}
195
	/// Storage: `Scheduler::Lookup` (r:1 w:1)
196
	/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
197
	/// Storage: `Scheduler::Agenda` (r:1 w:1)
198
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
199
	/// The range of component `s` is `[0, 511]`.
200
	fn schedule_named(s: u32, ) -> Weight {
201
		// Proof Size summary in bytes:
202
		//  Measured:  `596 + s * (178 ±0)`
203
		//  Estimated: `110487`
204
		// Minimum execution time: 13_618_000 picoseconds.
205
		Weight::from_parts(17_489_572, 110487)
206
			// Standard Error: 766
207
			.saturating_add(Weight::from_parts(377_559, 0).saturating_mul(s.into()))
208
			.saturating_add(T::DbWeight::get().reads(2_u64))
209
			.saturating_add(T::DbWeight::get().writes(2_u64))
210
	}
211
	/// Storage: `Scheduler::Lookup` (r:1 w:1)
212
	/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
213
	/// Storage: `Scheduler::Agenda` (r:1 w:1)
214
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
215
	/// Storage: `Scheduler::Retries` (r:0 w:1)
216
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
217
	/// The range of component `s` is `[1, 512]`.
218
	fn cancel_named(s: u32, ) -> Weight {
219
		// Proof Size summary in bytes:
220
		//  Measured:  `709 + s * (177 ±0)`
221
		//  Estimated: `110487`
222
		// Minimum execution time: 17_954_000 picoseconds.
223
		Weight::from_parts(18_459_344, 110487)
224
			// Standard Error: 835
225
			.saturating_add(Weight::from_parts(585_557, 0).saturating_mul(s.into()))
226
			.saturating_add(T::DbWeight::get().reads(2_u64))
227
			.saturating_add(T::DbWeight::get().writes(3_u64))
228
	}
229
	/// Storage: `Scheduler::Agenda` (r:1 w:1)
230
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
231
	/// Storage: `Scheduler::Retries` (r:0 w:1)
232
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
233
	/// The range of component `s` is `[1, 512]`.
234
	fn schedule_retry(s: u32, ) -> Weight {
235
		// Proof Size summary in bytes:
236
		//  Measured:  `118`
237
		//  Estimated: `110487`
238
		// Minimum execution time: 9_446_000 picoseconds.
239
		Weight::from_parts(10_797_672, 110487)
240
			// Standard Error: 184
241
			.saturating_add(Weight::from_parts(13_971, 0).saturating_mul(s.into()))
242
			.saturating_add(T::DbWeight::get().reads(1_u64))
243
			.saturating_add(T::DbWeight::get().writes(2_u64))
244
	}
245
	/// Storage: `Scheduler::Agenda` (r:1 w:0)
246
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
247
	/// Storage: `Scheduler::Retries` (r:0 w:1)
248
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
249
	fn set_retry() -> Weight {
250
		// Proof Size summary in bytes:
251
		//  Measured:  `90705`
252
		//  Estimated: `110487`
253
		// Minimum execution time: 137_044_000 picoseconds.
254
		Weight::from_parts(142_855_000, 110487)
255
			.saturating_add(T::DbWeight::get().reads(1_u64))
256
			.saturating_add(T::DbWeight::get().writes(1_u64))
257
	}
258
	/// Storage: `Scheduler::Lookup` (r:1 w:0)
259
	/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
260
	/// Storage: `Scheduler::Agenda` (r:1 w:0)
261
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
262
	/// Storage: `Scheduler::Retries` (r:0 w:1)
263
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
264
	fn set_retry_named() -> Weight {
265
		// Proof Size summary in bytes:
266
		//  Measured:  `91747`
267
		//  Estimated: `110487`
268
		// Minimum execution time: 144_333_000 picoseconds.
269
		Weight::from_parts(149_251_000, 110487)
270
			.saturating_add(T::DbWeight::get().reads(2_u64))
271
			.saturating_add(T::DbWeight::get().writes(1_u64))
272
	}
273
	/// Storage: `Scheduler::Agenda` (r:1 w:0)
274
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
275
	/// Storage: `Scheduler::Retries` (r:0 w:1)
276
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
277
	fn cancel_retry() -> Weight {
278
		// Proof Size summary in bytes:
279
		//  Measured:  `90717`
280
		//  Estimated: `110487`
281
		// Minimum execution time: 132_387_000 picoseconds.
282
		Weight::from_parts(139_222_000, 110487)
283
			.saturating_add(T::DbWeight::get().reads(1_u64))
284
			.saturating_add(T::DbWeight::get().writes(1_u64))
285
	}
286
	/// Storage: `Scheduler::Lookup` (r:1 w:0)
287
	/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
288
	/// Storage: `Scheduler::Agenda` (r:1 w:0)
289
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
290
	/// Storage: `Scheduler::Retries` (r:0 w:1)
291
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
292
	fn cancel_retry_named() -> Weight {
293
		// Proof Size summary in bytes:
294
		//  Measured:  `91759`
295
		//  Estimated: `110487`
296
		// Minimum execution time: 141_082_000 picoseconds.
297
		Weight::from_parts(146_117_000, 110487)
298
			.saturating_add(T::DbWeight::get().reads(2_u64))
299
			.saturating_add(T::DbWeight::get().writes(1_u64))
300
	}
301
}
302

            
303
// For backwards compatibility and tests.
304
impl WeightInfo for () {
305
	/// Storage: `Scheduler::IncompleteSince` (r:1 w:1)
306
	/// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
307
	fn service_agendas_base() -> Weight {
308
		// Proof Size summary in bytes:
309
		//  Measured:  `31`
310
		//  Estimated: `1489`
311
		// Minimum execution time: 3_099_000 picoseconds.
312
		Weight::from_parts(3_298_000, 1489)
313
			.saturating_add(RocksDbWeight::get().reads(1_u64))
314
			.saturating_add(RocksDbWeight::get().writes(1_u64))
315
	}
316
	/// Storage: `Scheduler::Agenda` (r:1 w:1)
317
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
318
	/// The range of component `s` is `[0, 512]`.
319
	fn service_agenda_base(s: u32, ) -> Weight {
320
		// Proof Size summary in bytes:
321
		//  Measured:  `81 + s * (177 ±0)`
322
		//  Estimated: `110487`
323
		// Minimum execution time: 3_558_000 picoseconds.
324
		Weight::from_parts(5_984_191, 110487)
325
			// Standard Error: 564
326
			.saturating_add(Weight::from_parts(334_983, 0).saturating_mul(s.into()))
327
			.saturating_add(RocksDbWeight::get().reads(1_u64))
328
			.saturating_add(RocksDbWeight::get().writes(1_u64))
329
	}
330
	fn service_task_base() -> Weight {
331
		// Proof Size summary in bytes:
332
		//  Measured:  `0`
333
		//  Estimated: `0`
334
		// Minimum execution time: 3_389_000 picoseconds.
335
		Weight::from_parts(3_609_000, 0)
336
	}
337
	/// Storage: `Preimage::PreimageFor` (r:1 w:1)
338
	/// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`)
339
	/// Storage: `Preimage::StatusFor` (r:1 w:0)
340
	/// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`)
341
	/// Storage: `Preimage::RequestStatusFor` (r:1 w:1)
342
	/// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`)
343
	/// The range of component `s` is `[128, 4194304]`.
344
	fn service_task_fetched(s: u32, ) -> Weight {
345
		// Proof Size summary in bytes:
346
		//  Measured:  `246 + s * (1 ±0)`
347
		//  Estimated: `3711 + s * (1 ±0)`
348
		// Minimum execution time: 18_292_000 picoseconds.
349
		Weight::from_parts(18_574_000, 3711)
350
			// Standard Error: 1
351
			.saturating_add(Weight::from_parts(1_189, 0).saturating_mul(s.into()))
352
			.saturating_add(RocksDbWeight::get().reads(3_u64))
353
			.saturating_add(RocksDbWeight::get().writes(2_u64))
354
			.saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into()))
355
	}
356
	/// Storage: `Scheduler::Lookup` (r:0 w:1)
357
	/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
358
	fn service_task_named() -> Weight {
359
		// Proof Size summary in bytes:
360
		//  Measured:  `0`
361
		//  Estimated: `0`
362
		// Minimum execution time: 5_216_000 picoseconds.
363
		Weight::from_parts(5_439_000, 0)
364
			.saturating_add(RocksDbWeight::get().writes(1_u64))
365
	}
366
	fn service_task_periodic() -> Weight {
367
		// Proof Size summary in bytes:
368
		//  Measured:  `0`
369
		//  Estimated: `0`
370
		// Minimum execution time: 3_383_000 picoseconds.
371
		Weight::from_parts(3_661_000, 0)
372
	}
373
	/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
374
	/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
375
	/// Storage: `TxPause::PausedCalls` (r:1 w:0)
376
	/// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
377
	fn execute_dispatch_signed() -> Weight {
378
		// Proof Size summary in bytes:
379
		//  Measured:  `145`
380
		//  Estimated: `3997`
381
		// Minimum execution time: 6_692_000 picoseconds.
382
		Weight::from_parts(7_069_000, 3997)
383
			.saturating_add(RocksDbWeight::get().reads(2_u64))
384
	}
385
	fn execute_dispatch_unsigned() -> Weight {
386
		// Proof Size summary in bytes:
387
		//  Measured:  `0`
388
		//  Estimated: `0`
389
		// Minimum execution time: 2_165_000 picoseconds.
390
		Weight::from_parts(2_332_000, 0)
391
	}
392
	/// Storage: `Scheduler::Agenda` (r:1 w:1)
393
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
394
	/// The range of component `s` is `[0, 511]`.
395
	fn schedule(s: u32, ) -> Weight {
396
		// Proof Size summary in bytes:
397
		//  Measured:  `81 + s * (177 ±0)`
398
		//  Estimated: `110487`
399
		// Minimum execution time: 10_209_000 picoseconds.
400
		Weight::from_parts(11_235_511, 110487)
401
			// Standard Error: 906
402
			.saturating_add(Weight::from_parts(375_445, 0).saturating_mul(s.into()))
403
			.saturating_add(RocksDbWeight::get().reads(1_u64))
404
			.saturating_add(RocksDbWeight::get().writes(1_u64))
405
	}
406
	/// Storage: `Scheduler::Agenda` (r:1 w:1)
407
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
408
	/// Storage: `Scheduler::Retries` (r:0 w:1)
409
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
410
	/// Storage: `Scheduler::Lookup` (r:0 w:1)
411
	/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
412
	/// The range of component `s` is `[1, 512]`.
413
	fn cancel(s: u32, ) -> Weight {
414
		// Proof Size summary in bytes:
415
		//  Measured:  `81 + s * (177 ±0)`
416
		//  Estimated: `110487`
417
		// Minimum execution time: 15_906_000 picoseconds.
418
		Weight::from_parts(13_697_344, 110487)
419
			// Standard Error: 949
420
			.saturating_add(Weight::from_parts(564_461, 0).saturating_mul(s.into()))
421
			.saturating_add(RocksDbWeight::get().reads(1_u64))
422
			.saturating_add(RocksDbWeight::get().writes(3_u64))
423
	}
424
	/// Storage: `Scheduler::Lookup` (r:1 w:1)
425
	/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
426
	/// Storage: `Scheduler::Agenda` (r:1 w:1)
427
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
428
	/// The range of component `s` is `[0, 511]`.
429
	fn schedule_named(s: u32, ) -> Weight {
430
		// Proof Size summary in bytes:
431
		//  Measured:  `596 + s * (178 ±0)`
432
		//  Estimated: `110487`
433
		// Minimum execution time: 13_618_000 picoseconds.
434
		Weight::from_parts(17_489_572, 110487)
435
			// Standard Error: 766
436
			.saturating_add(Weight::from_parts(377_559, 0).saturating_mul(s.into()))
437
			.saturating_add(RocksDbWeight::get().reads(2_u64))
438
			.saturating_add(RocksDbWeight::get().writes(2_u64))
439
	}
440
	/// Storage: `Scheduler::Lookup` (r:1 w:1)
441
	/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
442
	/// Storage: `Scheduler::Agenda` (r:1 w:1)
443
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
444
	/// Storage: `Scheduler::Retries` (r:0 w:1)
445
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
446
	/// The range of component `s` is `[1, 512]`.
447
	fn cancel_named(s: u32, ) -> Weight {
448
		// Proof Size summary in bytes:
449
		//  Measured:  `709 + s * (177 ±0)`
450
		//  Estimated: `110487`
451
		// Minimum execution time: 17_954_000 picoseconds.
452
		Weight::from_parts(18_459_344, 110487)
453
			// Standard Error: 835
454
			.saturating_add(Weight::from_parts(585_557, 0).saturating_mul(s.into()))
455
			.saturating_add(RocksDbWeight::get().reads(2_u64))
456
			.saturating_add(RocksDbWeight::get().writes(3_u64))
457
	}
458
	/// Storage: `Scheduler::Agenda` (r:1 w:1)
459
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
460
	/// Storage: `Scheduler::Retries` (r:0 w:1)
461
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
462
	/// The range of component `s` is `[1, 512]`.
463
	fn schedule_retry(s: u32, ) -> Weight {
464
		// Proof Size summary in bytes:
465
		//  Measured:  `118`
466
		//  Estimated: `110487`
467
		// Minimum execution time: 9_446_000 picoseconds.
468
		Weight::from_parts(10_797_672, 110487)
469
			// Standard Error: 184
470
			.saturating_add(Weight::from_parts(13_971, 0).saturating_mul(s.into()))
471
			.saturating_add(RocksDbWeight::get().reads(1_u64))
472
			.saturating_add(RocksDbWeight::get().writes(2_u64))
473
	}
474
	/// Storage: `Scheduler::Agenda` (r:1 w:0)
475
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
476
	/// Storage: `Scheduler::Retries` (r:0 w:1)
477
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
478
	fn set_retry() -> Weight {
479
		// Proof Size summary in bytes:
480
		//  Measured:  `90705`
481
		//  Estimated: `110487`
482
		// Minimum execution time: 137_044_000 picoseconds.
483
		Weight::from_parts(142_855_000, 110487)
484
			.saturating_add(RocksDbWeight::get().reads(1_u64))
485
			.saturating_add(RocksDbWeight::get().writes(1_u64))
486
	}
487
	/// Storage: `Scheduler::Lookup` (r:1 w:0)
488
	/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
489
	/// Storage: `Scheduler::Agenda` (r:1 w:0)
490
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
491
	/// Storage: `Scheduler::Retries` (r:0 w:1)
492
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
493
	fn set_retry_named() -> Weight {
494
		// Proof Size summary in bytes:
495
		//  Measured:  `91747`
496
		//  Estimated: `110487`
497
		// Minimum execution time: 144_333_000 picoseconds.
498
		Weight::from_parts(149_251_000, 110487)
499
			.saturating_add(RocksDbWeight::get().reads(2_u64))
500
			.saturating_add(RocksDbWeight::get().writes(1_u64))
501
	}
502
	/// Storage: `Scheduler::Agenda` (r:1 w:0)
503
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
504
	/// Storage: `Scheduler::Retries` (r:0 w:1)
505
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
506
	fn cancel_retry() -> Weight {
507
		// Proof Size summary in bytes:
508
		//  Measured:  `90717`
509
		//  Estimated: `110487`
510
		// Minimum execution time: 132_387_000 picoseconds.
511
		Weight::from_parts(139_222_000, 110487)
512
			.saturating_add(RocksDbWeight::get().reads(1_u64))
513
			.saturating_add(RocksDbWeight::get().writes(1_u64))
514
	}
515
	/// Storage: `Scheduler::Lookup` (r:1 w:0)
516
	/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
517
	/// Storage: `Scheduler::Agenda` (r:1 w:0)
518
	/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
519
	/// Storage: `Scheduler::Retries` (r:0 w:1)
520
	/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
521
	fn cancel_retry_named() -> Weight {
522
		// Proof Size summary in bytes:
523
		//  Measured:  `91759`
524
		//  Estimated: `110487`
525
		// Minimum execution time: 141_082_000 picoseconds.
526
		Weight::from_parts(146_117_000, 110487)
527
			.saturating_add(RocksDbWeight::get().reads(2_u64))
528
			.saturating_add(RocksDbWeight::get().writes(1_u64))
529
	}
530
}