Skip to content

Commit

Permalink
tasks: move slow benchmarks to extra
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianFranzen committed Jul 18, 2024
1 parent defc2b7 commit 4be8e8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pallets/tasks/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ benchmarks! {
let _ = create_simple_task::<T>()?;
}: _(RawOrigin::Root, 0) verify {}

#[extra]
sudo_cancel_tasks {
// TODO: replace upper bound with PALLET_MAXIMUM
let b in 1..100;
Expand All @@ -244,6 +245,7 @@ benchmarks! {
}
}: _(RawOrigin::Root, b) verify {}

#[extra]
reset_tasks {
// TODO: replace upper bound with PALLET_MAXIMUM
let b in 1..100;
Expand All @@ -255,6 +257,7 @@ benchmarks! {
set_shard_task_limit {
}: _(RawOrigin::Root, ETHEREUM, 50) verify {}

#[extra]
unregister_gateways {
// TODO: replace upper bound with PALLET_MAXIMUM
let b in 1..100;
Expand Down

0 comments on commit 4be8e8b

Please sign in to comment.