-
-
Notifications
You must be signed in to change notification settings - Fork 461
Description
My configuration:
- Bun 1.2.0
- Elysia 1.2.10
- Platform is Linux 5.15.153.1-microsoft-standard-WSL2 x86_64 x86_64
- Typescript of my project (nor vscode's) in 5.7.3
I have nearly 100 routes in my monorepo project (using Turborepo), freshly migrated from Node/express.
Since the migration, the developer experience is catastrophic, every intellisense suggestion/autocompletion takes more than 20 seconds: it's a nightmare 🥵.
I tried to put this config and explore the logs :
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.tsserver.enableRegionDiagnostics": true,
"typescript.tsserver.enableTracing": true,
"typescript.tsserver.log": "normal"As an example of the results, the slowness must be explained by the “semantic work”:
In addition, CPU usage is very high when loading intellisense (consumed by tsserver.js from node_modules), .ex :
I tried with the extensions disabled and without profile, as well as from another vscode (from the Insider version).
I assume this is a problem with type inference. I couldn't find best practices for performance in the documentation. I think this is a necessary part of the doc 💡.
Thanks in advance for your help in investigating my plight 🙏

