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

Parallelize package builds across available cores #92

Closed
kasperisager opened this issue Dec 5, 2018 · 6 comments
Closed

Parallelize package builds across available cores #92

kasperisager opened this issue Dec 5, 2018 · 6 comments

Comments

@kasperisager
Copy link
Contributor

kasperisager commented Dec 5, 2018

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

@kasperisager kasperisager added this to To do in ⚙️ Development via automation Dec 5, 2018
@Bugvi-Benjamin-M Bugvi-Benjamin-M self-assigned this Dec 6, 2018
@Bugvi-Benjamin-M
Copy link
Contributor

Bugvi-Benjamin-M commented Dec 6, 2018

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.

@kasperisager
Copy link
Contributor Author

Go for it! 👍

@kasperisager kasperisager moved this from To do to Ready in ⚙️ Development Dec 11, 2018
@kasperisager
Copy link
Contributor Author

This may or may not be impacted by #98.

@kasperisager kasperisager moved this from Ready to To do in ⚙️ Development Apr 16, 2019
@kasperisager
Copy link
Contributor Author

Putting this on hold for now.

@kasperisager
Copy link
Contributor Author

In light of #170 I'll close this.

⚙️ Development automation moved this from To do to Done Jan 23, 2020
@kasperisager
Copy link
Contributor Author

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
Labels
None yet
Projects
⚙️ Development
  
🏁 Done
Development

No branches or pull requests

2 participants