-
Notifications
You must be signed in to change notification settings - Fork 12
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
Parallelize package builds across available cores #92
Comments
If you will let me, I would love to have a look at this. If only to give it a shot, fail miserably and have a few laughs. |
Go for it! 👍 |
This may or may not be impacted by #98. |
Putting this on hold for now. |
Merged
In light of #170 I'll close this. |
This is now part of the TypeScript 3.9 iteration plan: microsoft/TypeScript#30235 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the changes introduced in ff80be7, packages no longer use a shared workspace when performing full builds. As such, we now have the option to parallelize package builds across the available cores of the host system. By using the cluster module, we can create a number of process forks, each of which will handle the compilation of packages handed to them by the master process.
Do be aware of dependencies between packages! Hint: https://cs.stackexchange.com/questions/2524/getting-parallel-items-in-dependency-resolution/2525#2525
The text was updated successfully, but these errors were encountered: