Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallelism #1

Closed
sindresorhus opened this issue Nov 18, 2014 · 0 comments
Closed

Parallelism #1

sindresorhus opened this issue Nov 18, 2014 · 0 comments
Labels
enhancement new functionality

Comments

@sindresorhus
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new functionality
Projects
None yet
Development

No branches or pull requests

1 participant