Files
debpalash 0fcf1abcf1 perf(bridge): sleep in the OS wait instead of polling for the dictation shortcut (#3924)
The shortcut thread woke every 8 ms while a shortcut was set (~1.2-2% CPU
idle on macOS). It now blocks in each OS's native wait - the macOS main run
loop, the Windows thread message queue, the Linux command channel - and is
woken explicitly by commands and off-thread hotkey events. No wakes without
a shortcut; a 500 ms backstop while one is set.
2026-11-09 22:46:50 +05:30
..