Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Dec 19, 2021
1 parent a989196 commit 8c6a509
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/combination/tasks/find.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { isFile } from 'path-type'
import { PluginError, UserError } from '../../error/main.js'
import { measureCombinations } from '../../run/measure/main.js'

// Each task has its own process, in order to prevent them from influencing
// each other:
// Each combination has its own process, in order to prevent them from
// influencing each other:
// - By modifying the global state
// - Or due to the runtime engine being less able to optimize hot paths due
// to several tasks competing for optimization in the same process
// So we spawn a single process for all of them, to retrieve the task and step
// identifiers.
// to several combinations competing for optimization in the same process
// Before spawning those, we spawn a single process per task to retrieve the
// task and step identifiers.
export const findTasks = async function ({
taskPath,
runner,
Expand Down

0 comments on commit 8c6a509

Please sign in to comment.