Dont open composite projects to determine if script info is part of project by sheetalkamat · Pull Request #59688 · microsoft/TypeScript (original) (raw)

Small feedback from our monorepo (>300 TS projects).

Opening some random configuration script, for example, jest.config.cjs - which we really didn't think of at all when discussing tsconfigs.. The jest config is within a project that isn't even referencing most of the projects, just some 20 or so common projects.

5.5.4 - "Initialize JS/TS language features" takes ~60 seconds, tsserver process uses ~1.5GB memory
5.7.0 - "Initialize JS/TS language features" takes <1 sec, tsserver process uses ~180MB memory

We didn't even know just how much we needed this change, thank you!