Consider some way of serializing open projects in tsserver, potentially leveraging .tsbuildinfo
files
#35113
Labels
Domain: --incremental
The issue relates to incremental compilation
Domain: Performance
Reports of unusually slow behavior
Domain: TSServer
Issues related to the TSServer
Experimentation Needed
Someone needs to try this out to see what happens
In Discussion
Not yet reached consensus
Needs Proposal
This issue needs a plan that clarifies the finer details of how it could be implemented.
Suggestion
An idea for TypeScript
One thing that users often hit is that file navigation might trigger opening an entire project. Opening an entire project involves
This is a lot of work! If a user jumps back and forth from this file, it can re-trigger this work even if nothing has changed!
A
.tsbuildinfo
file is used to save time on cold compiler invocations doing this exact set of work, and to reduce work when something actually has changed. It would be interesting to see whether generating a.tsbuildinfo
file after project loads could help cut down on this work.The text was updated successfully, but these errors were encountered: