-
-
Notifications
You must be signed in to change notification settings - Fork 431
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
Speeds up project reference build and doesnt store the result in memory #1202
Conversation
This is amazing work @sheetalkamat! Thank you! I've added this to the I'll plan to publish this later today assuming the build plays nice. Thank you so much! |
This has actually resulted in a huge perf regression in our builds. Now all incremental builds are as slow as clean builds(~3 minutes). Is there any debugging logs I can gather - I don't really want to blindly submit a non-actionable bug since this doesn't repo in a small test repo. |
Given the project references output files are no more in memory but have to be written to disk in order for webpack to handle symlinks, we dont need in memory read and cache of input/output files from project references. They are on disk and handled it that way.
This speeds up upto-date check to behave just like what
tsc -b
would do so that we are not reading files in memory.This was done as part of investigation for a team who was running into OOM and slower builds on huge project.