Skip to content

Commit

Permalink
Move lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Sep 19, 2021
1 parent 949e65c commit 916fd46
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions benchmark/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ export const fixed = async () => {
await setTimeout(0)
}

// Task with a high complexity mimicking real tasks
export const real = async () => {
await import('spyd')
}

// Very slow task
export const slow = async () => {
await setTimeout(1e4)
Expand All @@ -40,8 +45,3 @@ export const growing = async () => {
count += 1
await setTimeout(count)
}

// Task with a high complexity mimicking real tasks
export const real = async () => {
await import('spyd')
}

0 comments on commit 916fd46

Please sign in to comment.