You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be cool to implement actual parallelism. Could be as simple as executing each test file in a separate node process using child_process.fork. Each node sends back its result and the main process merges it and presents it to the user.
Doing it in sub-processes comes with the added benefit of each file being isolated and not being able to screw up the environment for others.
Concurrency is not parallelism. It enables parallelism. It's about dealing with, while parallelism is about doing, lots of things at once.
The text was updated successfully, but these errors were encountered:
Would be cool to implement actual parallelism. Could be as simple as executing each test file in a separate node process using
child_process.fork
. Each node sends back its result and the main process merges it and presents it to the user.Doing it in sub-processes comes with the added benefit of each file being isolated and not being able to screw up the environment for others.
The text was updated successfully, but these errors were encountered: