Closed Bug 1621217 Opened 5 years ago Closed 5 years ago

Parallelize target creation in root front listAllWorkerTargets

Categories

(DevTools :: Framework, task, P3)

task

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1621211

People

(Reporter: jdescottes, Assigned: loganfsmyth)

References

Details

In Bug 1609201, Logan identified that listAllWorkers was creating targets sequentially (await in a for loop).

Parallelizing improves greatly the performance of this helper. Note that this is probably redundant with using the target-list for the debugger, but the fix is easy so I don't see any reason to hold on here.

See patch at
https://hg.mozilla.org/try/rev/ef11c1312c5d3ed147f5f0306cfb9fbd03aa017a

(assigning to Logan directly :) )

See Also: → 1621234
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.