You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 1, 2026. It is now read-only.
Elevated CPU usage in --watch mode when idle (compared to tsc) #3611
Tiny project (5 small files) using ~5% CPU consistently while idle
Medium project (hundreds) using ~10% CPU consistently while idle
The idle CPU utilisation was improved massively by the recent watch mode updates 😄 but especially for those like myself on resource-limited machines even this remaining amount constitutes a barrier to using watch mode.
I am currently working around this by using my own file watcher to invoke tsgo --incremental
Our current strategy is naive polling at a fixed frequency, but it doesn't feel like it should be that taxing. Jake Bailey (@jakebailey) is looking into getting some perf infrastructure over at #3627 in so we can better measure what's happening.
Activity
DanielRosenwasser commentedon Apr 28, 2026
Our current strategy is naive polling at a fixed frequency, but it doesn't feel like it should be that taxing. Jake Bailey (@jakebailey) is looking into getting some perf infrastructure over at #3627 in so we can better measure what's happening.