Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Description
Suggestion
Every once in a while, one of us will hop onto a call with a team to try to diagnose why their type checked linting is running slowly. We'll see something like hundreds of MBs (or even a few GB) being taken up, and/or seconds-to-minutes to run. It's hard for us to give advice as to whether those measurements are normal without knowing the normal baselines for different projects:
- Files: dozens, hundreds, thousands of files?
- Structure: one project, a few project references, dozens of project references?
- Types complexity: straightforward usage, and/or many conditional types, and/or libraries such as Zod?
Proposal: let's make a dedicated package? repository? something? that can:
- Deterministically codegen various projects across those different scales
- Report rough space and time taken for typed linting
We'd then be able to know whether projects of similar scales are running with the expected space/time parameters.
This is really part of#6218. Maybe this issue can track a more comprehensive performance solution, while that can track the initial "get it done"?