-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[WIP] Worker thread #1428
[WIP] Worker thread #1428
Conversation
Just testing out node worker threads for the "new" and "original" tests. This will allow us to run redos tests easier. Worker threads are experimental in node 11 so it falls back to running tests on the main thread when worker threads are not available. I set them to fail after 2 seconds. I also changed the tests to use Promises but everything should work in node v4 and above. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
worker_threads in node are changing We should probably wait on this until after they are not experimental. I don't think there is a current way to move a PR back to draft. |
This will be obsolete with #1482 |
Marked version: master
Description
Use worker threads on original tests.
Contributor
Committer
In most cases, this should be a different person than the contributor.