-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathweights.rs
762 lines (752 loc) · 43 KB
/
weights.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
// This file is part of Substrate.
// Copyright (C) 2022 Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for pallet_automation_time
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `actions-runner-1`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("turing-dev"), DB CACHE: 1024
// Executed Command:
// ./oak-collator
// benchmark
// pallet
// --chain
// turing-dev
// --execution
// wasm
// --wasm-execution
// compiled
// --pallet
// pallet_automation_time
// --extrinsic
// *
// --repeat
// 20
// --steps
// 50
// --output
// ./automation_time-raw-weights.rs
// --template
// ./.maintain/frame-weight-template.hbs
// Summary:
//:schedule_notify_task_empty 65_659_000
//:schedule_notify_task_full 78_853_745
//:schedule_xcmp_task_full 152_969_036
//:schedule_auto_compound_delegated_stake_task_full 100_352_000
//:schedule_dynamic_dispatch_task 64_072_149
//:schedule_dynamic_dispatch_task_full 81_646_045
//:cancel_scheduled_task_full 1_051_310_000
//:force_cancel_scheduled_task 26_196_000
//:force_cancel_scheduled_task_full 1_051_358_000
//:run_notify_task 4_944_000
//:run_native_transfer_task 28_992_000
//:run_xcmp_task 102_963_000
//:run_auto_compound_delegated_stake_task 58_712_000
//:run_dynamic_dispatch_action 13_312_000
//:run_dynamic_dispatch_action_fail_decode 5_299_000
//:run_missed_tasks_many_found 280_314
//:run_missed_tasks_many_missing 244_642
//:run_tasks_many_found 297_032
//:run_tasks_many_missing 215_940
//:update_task_queue_overhead 2_580_000
//:append_to_missed_tasks 3_079_147
//:update_scheduled_task_queue 33_968_000
//:shift_missed_tasks 16_915_000
//:migration_upgrade_weight_struct 12_312_843
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
/// Weight functions needed for pallet_automation_time.
pub trait WeightInfo {
fn schedule_notify_task_empty() -> Weight;
fn schedule_notify_task_full(v: u32, ) -> Weight;
fn schedule_xcmp_task_full(v: u32, ) -> Weight;
fn schedule_auto_compound_delegated_stake_task_full() -> Weight;
fn schedule_dynamic_dispatch_task(v: u32, ) -> Weight;
fn schedule_dynamic_dispatch_task_full(v: u32, ) -> Weight;
fn cancel_scheduled_task_full() -> Weight;
fn force_cancel_scheduled_task() -> Weight;
fn force_cancel_scheduled_task_full() -> Weight;
fn run_notify_task() -> Weight;
fn run_native_transfer_task() -> Weight;
fn run_xcmp_task() -> Weight;
fn run_auto_compound_delegated_stake_task() -> Weight;
fn run_dynamic_dispatch_action() -> Weight;
fn run_dynamic_dispatch_action_fail_decode() -> Weight;
fn run_missed_tasks_many_found(v: u32, ) -> Weight;
fn run_missed_tasks_many_missing(v: u32, ) -> Weight;
fn run_tasks_many_found(v: u32, ) -> Weight;
fn run_tasks_many_missing(v: u32, ) -> Weight;
fn update_task_queue_overhead() -> Weight;
fn append_to_missed_tasks(v: u32, ) -> Weight;
fn update_scheduled_task_queue() -> Weight;
fn shift_missed_tasks() -> Weight;
fn migration_upgrade_weight_struct(v: u32, ) -> Weight;
}
/// Weights for pallet_automation_time using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:1 w:1)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry Metadata (r:1 w:0)
// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
fn schedule_notify_task_empty() -> Weight {
Weight::from_ref_time(65_659_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:36 w:36)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry Metadata (r:1 w:0)
// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[1, 36]`.
fn schedule_notify_task_full(v: u32, ) -> Weight {
Weight::from_ref_time(78_853_745 as u64)
// Standard Error: 13_523
.saturating_add(Weight::from_ref_time(30_076_174 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(v as u64)))
}
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: AssetRegistry Metadata (r:1 w:0)
// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured)
// Storage: ParachainInfo ParachainId (r:1 w:0)
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
// Storage: XcmpHandler DestinationAssetConfig (r:1 w:0)
// Proof Skipped: XcmpHandler DestinationAssetConfig (max_values: None, max_size: None, mode: Measured)
// Storage: Tokens Accounts (r:2 w:2)
// Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:36 w:36)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: Tokens TotalIssuance (r:1 w:1)
// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
// Storage: System Account (r:3 w:3)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `v` is `[1, 36]`.
fn schedule_xcmp_task_full(v: u32, ) -> Weight {
Weight::from_ref_time(152_969_036 as u64)
// Standard Error: 10_277
.saturating_add(Weight::from_ref_time(29_460_410 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(12 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().writes(7 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(v as u64)))
}
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:1 w:1)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry Metadata (r:1 w:0)
// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
fn schedule_auto_compound_delegated_stake_task_full() -> Weight {
Weight::from_ref_time(100_352_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:36 w:36)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry Metadata (r:1 w:0)
// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[1, 36]`.
fn schedule_dynamic_dispatch_task(v: u32, ) -> Weight {
Weight::from_ref_time(64_072_149 as u64)
// Standard Error: 21_786
.saturating_add(Weight::from_ref_time(3_654_068 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(v as u64)))
}
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:36 w:36)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry Metadata (r:1 w:0)
// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[1, 36]`.
fn schedule_dynamic_dispatch_task_full(v: u32, ) -> Weight {
Weight::from_ref_time(81_646_045 as u64)
// Standard Error: 14_700
.saturating_add(Weight::from_ref_time(30_292_818 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(v as u64)))
}
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: AutomationTime LastTimeSlot (r:1 w:0)
// Proof Skipped: AutomationTime LastTimeSlot (max_values: Some(1), max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:36 w:36)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
fn cancel_scheduled_task_full() -> Weight {
Weight::from_ref_time(1_051_310_000 as u64)
.saturating_add(T::DbWeight::get().reads(39 as u64))
.saturating_add(T::DbWeight::get().writes(37 as u64))
}
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: AutomationTime LastTimeSlot (r:1 w:0)
// Proof Skipped: AutomationTime LastTimeSlot (max_values: Some(1), max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:1 w:1)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
fn force_cancel_scheduled_task() -> Weight {
Weight::from_ref_time(26_196_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: AutomationTime LastTimeSlot (r:1 w:0)
// Proof Skipped: AutomationTime LastTimeSlot (max_values: Some(1), max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:36 w:36)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
fn force_cancel_scheduled_task_full() -> Weight {
Weight::from_ref_time(1_051_358_000 as u64)
.saturating_add(T::DbWeight::get().reads(39 as u64))
.saturating_add(T::DbWeight::get().writes(37 as u64))
}
fn run_notify_task() -> Weight {
Weight::from_ref_time(4_944_000 as u64)
}
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn run_native_transfer_task() -> Weight {
Weight::from_ref_time(28_992_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: XcmpHandler DestinationAssetConfig (r:1 w:0)
// Proof Skipped: XcmpHandler DestinationAssetConfig (max_values: None, max_size: None, mode: Measured)
// Storage: ParachainInfo ParachainId (r:1 w:0)
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
// Storage: UnknownTokens ConcreteFungibleBalances (r:1 w:0)
// Proof Skipped: UnknownTokens ConcreteFungibleBalances (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
fn run_xcmp_task() -> Weight {
Weight::from_ref_time(102_963_000 as u64)
.saturating_add(T::DbWeight::get().reads(11 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: System Account (r:1 w:1)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
// Storage: Balances Locks (r:1 w:1)
// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
// Storage: ParachainStaking CandidateInfo (r:1 w:1)
// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
// Storage: ParachainStaking TopDelegations (r:1 w:1)
// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
// Storage: ParachainStaking CandidatePool (r:1 w:1)
// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
// Storage: ParachainStaking Total (r:1 w:1)
// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
fn run_auto_compound_delegated_stake_task() -> Weight {
Weight::from_ref_time(58_712_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
// Storage: Valve ValveClosed (r:1 w:0)
// Proof Skipped: Valve ValveClosed (max_values: Some(1), max_size: None, mode: Measured)
// Storage: Valve ClosedPallets (r:1 w:0)
// Proof Skipped: Valve ClosedPallets (max_values: None, max_size: None, mode: Measured)
fn run_dynamic_dispatch_action() -> Weight {
Weight::from_ref_time(13_312_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
}
fn run_dynamic_dispatch_action_fail_decode() -> Weight {
Weight::from_ref_time(5_299_000 as u64)
}
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[0, 1]`.
fn run_missed_tasks_many_found(v: u32, ) -> Weight {
Weight::from_ref_time(280_314 as u64)
// Standard Error: 6_483
.saturating_add(Weight::from_ref_time(14_455_785 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(v as u64)))
}
// Storage: AutomationTime AccountTasks (r:1 w:0)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[0, 1]`.
fn run_missed_tasks_many_missing(v: u32, ) -> Weight {
Weight::from_ref_time(244_642 as u64)
// Standard Error: 4_997
.saturating_add(Weight::from_ref_time(8_371_757 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
}
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `v` is `[0, 1]`.
fn run_tasks_many_found(v: u32, ) -> Weight {
Weight::from_ref_time(297_032 as u64)
// Standard Error: 8_625
.saturating_add(Weight::from_ref_time(37_633_267 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
}
// Storage: AutomationTime AccountTasks (r:1 w:0)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[0, 1]`.
fn run_tasks_many_missing(v: u32, ) -> Weight {
Weight::from_ref_time(215_940 as u64)
// Standard Error: 3_114
.saturating_add(Weight::from_ref_time(8_281_459 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
}
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
fn update_task_queue_overhead() -> Weight {
Weight::from_ref_time(2_580_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: AutomationTime ScheduledTasksV3 (r:1 w:1)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime MissedQueueV2 (r:1 w:1)
// Proof Skipped: AutomationTime MissedQueueV2 (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `v` is `[0, 2]`.
fn append_to_missed_tasks(v: u32, ) -> Weight {
Weight::from_ref_time(3_079_147 as u64)
// Standard Error: 51_449
.saturating_add(Weight::from_ref_time(1_131_073 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: AutomationTime TaskQueueV2 (r:1 w:1)
// Proof Skipped: AutomationTime TaskQueueV2 (max_values: Some(1), max_size: None, mode: Measured)
// Storage: AutomationTime MissedQueueV2 (r:1 w:1)
// Proof Skipped: AutomationTime MissedQueueV2 (max_values: Some(1), max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:1 w:1)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
fn update_scheduled_task_queue() -> Weight {
Weight::from_ref_time(33_968_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: AutomationTime ScheduledTasksV3 (r:1 w:1)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
fn shift_missed_tasks() -> Weight {
Weight::from_ref_time(16_915_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: AutomationTime AccountTasks (r:101 w:100)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[1, 100]`.
fn migration_upgrade_weight_struct(v: u32, ) -> Weight {
Weight::from_ref_time(12_312_843 as u64)
// Standard Error: 14_011
.saturating_add(Weight::from_ref_time(8_424_617 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(v as u64)))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:1 w:1)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry Metadata (r:1 w:0)
// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
fn schedule_notify_task_empty() -> Weight {
Weight::from_ref_time(65_659_000 as u64)
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:36 w:36)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry Metadata (r:1 w:0)
// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[1, 36]`.
fn schedule_notify_task_full(v: u32, ) -> Weight {
Weight::from_ref_time(78_853_745 as u64)
// Standard Error: 13_523
.saturating_add(Weight::from_ref_time(30_076_174 as u64).saturating_mul(v as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(v as u64)))
}
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: AssetRegistry Metadata (r:1 w:0)
// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured)
// Storage: ParachainInfo ParachainId (r:1 w:0)
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
// Storage: XcmpHandler DestinationAssetConfig (r:1 w:0)
// Proof Skipped: XcmpHandler DestinationAssetConfig (max_values: None, max_size: None, mode: Measured)
// Storage: Tokens Accounts (r:2 w:2)
// Proof: Tokens Accounts (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:36 w:36)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: Tokens TotalIssuance (r:1 w:1)
// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
// Storage: System Account (r:3 w:3)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `v` is `[1, 36]`.
fn schedule_xcmp_task_full(v: u32, ) -> Weight {
Weight::from_ref_time(152_969_036 as u64)
// Standard Error: 10_277
.saturating_add(Weight::from_ref_time(29_460_410 as u64).saturating_mul(v as u64))
.saturating_add(RocksDbWeight::get().reads(12 as u64))
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(RocksDbWeight::get().writes(7 as u64))
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(v as u64)))
}
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:1 w:1)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry Metadata (r:1 w:0)
// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
fn schedule_auto_compound_delegated_stake_task_full() -> Weight {
Weight::from_ref_time(100_352_000 as u64)
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:36 w:36)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry Metadata (r:1 w:0)
// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[1, 36]`.
fn schedule_dynamic_dispatch_task(v: u32, ) -> Weight {
Weight::from_ref_time(64_072_149 as u64)
// Standard Error: 21_786
.saturating_add(Weight::from_ref_time(3_654_068 as u64).saturating_mul(v as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(v as u64)))
}
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:36 w:36)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry Metadata (r:1 w:0)
// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[1, 36]`.
fn schedule_dynamic_dispatch_task_full(v: u32, ) -> Weight {
Weight::from_ref_time(81_646_045 as u64)
// Standard Error: 14_700
.saturating_add(Weight::from_ref_time(30_292_818 as u64).saturating_mul(v as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(v as u64)))
}
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: AutomationTime LastTimeSlot (r:1 w:0)
// Proof Skipped: AutomationTime LastTimeSlot (max_values: Some(1), max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:36 w:36)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
fn cancel_scheduled_task_full() -> Weight {
Weight::from_ref_time(1_051_310_000 as u64)
.saturating_add(RocksDbWeight::get().reads(39 as u64))
.saturating_add(RocksDbWeight::get().writes(37 as u64))
}
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: AutomationTime LastTimeSlot (r:1 w:0)
// Proof Skipped: AutomationTime LastTimeSlot (max_values: Some(1), max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:1 w:1)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
fn force_cancel_scheduled_task() -> Weight {
Weight::from_ref_time(26_196_000 as u64)
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: AutomationTime LastTimeSlot (r:1 w:0)
// Proof Skipped: AutomationTime LastTimeSlot (max_values: Some(1), max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:36 w:36)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
fn force_cancel_scheduled_task_full() -> Weight {
Weight::from_ref_time(1_051_358_000 as u64)
.saturating_add(RocksDbWeight::get().reads(39 as u64))
.saturating_add(RocksDbWeight::get().writes(37 as u64))
}
fn run_notify_task() -> Weight {
Weight::from_ref_time(4_944_000 as u64)
}
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn run_native_transfer_task() -> Weight {
Weight::from_ref_time(28_992_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: XcmpHandler DestinationAssetConfig (r:1 w:0)
// Proof Skipped: XcmpHandler DestinationAssetConfig (max_values: None, max_size: None, mode: Measured)
// Storage: ParachainInfo ParachainId (r:1 w:0)
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
// Storage: UnknownTokens ConcreteFungibleBalances (r:1 w:0)
// Proof Skipped: UnknownTokens ConcreteFungibleBalances (max_values: None, max_size: None, mode: Measured)
// Storage: AssetRegistry LocationToAssetId (r:1 w:0)
// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
fn run_xcmp_task() -> Weight {
Weight::from_ref_time(102_963_000 as u64)
.saturating_add(RocksDbWeight::get().reads(11 as u64))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: System Account (r:1 w:1)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
// Storage: Balances Locks (r:1 w:1)
// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
// Storage: ParachainStaking CandidateInfo (r:1 w:1)
// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
// Storage: ParachainStaking TopDelegations (r:1 w:1)
// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
// Storage: ParachainStaking CandidatePool (r:1 w:1)
// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
// Storage: ParachainStaking Total (r:1 w:1)
// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
fn run_auto_compound_delegated_stake_task() -> Weight {
Weight::from_ref_time(58_712_000 as u64)
.saturating_add(RocksDbWeight::get().reads(8 as u64))
.saturating_add(RocksDbWeight::get().writes(7 as u64))
}
// Storage: Valve ValveClosed (r:1 w:0)
// Proof Skipped: Valve ValveClosed (max_values: Some(1), max_size: None, mode: Measured)
// Storage: Valve ClosedPallets (r:1 w:0)
// Proof Skipped: Valve ClosedPallets (max_values: None, max_size: None, mode: Measured)
fn run_dynamic_dispatch_action() -> Weight {
Weight::from_ref_time(13_312_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
}
fn run_dynamic_dispatch_action_fail_decode() -> Weight {
Weight::from_ref_time(5_299_000 as u64)
}
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[0, 1]`.
fn run_missed_tasks_many_found(v: u32, ) -> Weight {
Weight::from_ref_time(280_314 as u64)
// Standard Error: 6_483
.saturating_add(Weight::from_ref_time(14_455_785 as u64).saturating_mul(v as u64))
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(v as u64)))
}
// Storage: AutomationTime AccountTasks (r:1 w:0)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[0, 1]`.
fn run_missed_tasks_many_missing(v: u32, ) -> Weight {
Weight::from_ref_time(244_642 as u64)
// Standard Error: 4_997
.saturating_add(Weight::from_ref_time(8_371_757 as u64).saturating_mul(v as u64))
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
}
// Storage: AutomationTime AccountTasks (r:1 w:1)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `v` is `[0, 1]`.
fn run_tasks_many_found(v: u32, ) -> Weight {
Weight::from_ref_time(297_032 as u64)
// Standard Error: 8_625
.saturating_add(Weight::from_ref_time(37_633_267 as u64).saturating_mul(v as u64))
.saturating_add(RocksDbWeight::get().reads((3 as u64).saturating_mul(v as u64)))
.saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
}
// Storage: AutomationTime AccountTasks (r:1 w:0)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[0, 1]`.
fn run_tasks_many_missing(v: u32, ) -> Weight {
Weight::from_ref_time(215_940 as u64)
// Standard Error: 3_114
.saturating_add(Weight::from_ref_time(8_281_459 as u64).saturating_mul(v as u64))
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
}
// Storage: Timestamp Now (r:1 w:0)
// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
fn update_task_queue_overhead() -> Weight {
Weight::from_ref_time(2_580_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
}
// Storage: AutomationTime ScheduledTasksV3 (r:1 w:1)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
// Storage: AutomationTime MissedQueueV2 (r:1 w:1)
// Proof Skipped: AutomationTime MissedQueueV2 (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `v` is `[0, 2]`.
fn append_to_missed_tasks(v: u32, ) -> Weight {
Weight::from_ref_time(3_079_147 as u64)
// Standard Error: 51_449
.saturating_add(Weight::from_ref_time(1_131_073 as u64).saturating_mul(v as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: AutomationTime TaskQueueV2 (r:1 w:1)
// Proof Skipped: AutomationTime TaskQueueV2 (max_values: Some(1), max_size: None, mode: Measured)
// Storage: AutomationTime MissedQueueV2 (r:1 w:1)
// Proof Skipped: AutomationTime MissedQueueV2 (max_values: Some(1), max_size: None, mode: Measured)
// Storage: AutomationTime ScheduledTasksV3 (r:1 w:1)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
fn update_scheduled_task_queue() -> Weight {
Weight::from_ref_time(33_968_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: AutomationTime ScheduledTasksV3 (r:1 w:1)
// Proof Skipped: AutomationTime ScheduledTasksV3 (max_values: None, max_size: None, mode: Measured)
fn shift_missed_tasks() -> Weight {
Weight::from_ref_time(16_915_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: AutomationTime AccountTasks (r:101 w:100)
// Proof Skipped: AutomationTime AccountTasks (max_values: None, max_size: None, mode: Measured)
/// The range of component `v` is `[1, 100]`.
fn migration_upgrade_weight_struct(v: u32, ) -> Weight {
Weight::from_ref_time(12_312_843 as u64)
// Standard Error: 14_011
.saturating_add(Weight::from_ref_time(8_424_617 as u64).saturating_mul(v as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(v as u64)))
}
}