#My TS server in VS code is too slow
9 messages · Page 1 of 1 (latest)
:warning: Please wait a bit longer. You can ping helpers <t:1758733744:R>.
A bit hard to say generically without information
There's a general guide to performance, https://github.com/microsoft/Typescript/wiki/Performance - it does have some tools for investigation
(I would personally not do anything like replace type with interface - it's a theoretical difference in perf, but probably not a make-or-break difference for anything but the largest of projects)
Also worth considering if you have any particularly complicated-from-a-type-level libraries that might be creating a lot of work
Actually the project is not that big but the server was very slow. I added this in my settings.json
"search.exclude": {
"**/node_modules": true,
"**/dist": true
},
"files.watcherExclude": {
"**/node_modules/**": true,
"**/dist/**": true
}
``` and the performance has increase significantly
Those aren't really related to TS itself, but yeah, other things using resources in your VSCode could probably affect it too
Yess. Thank you for helping out. I will check the resource that you sent 🙂