High CPU usage (~30% on M1 Pro) whenever I move the mouse
Closed this issue · 4 comments
ingjieye commented
Describe the bug
The MacGesture uses ~30% of the CPU on M1 Pro whenever I move the mouse.
Steps To Reproduce
- Enable MacGesture
- Move the mouse without any key press
Expected behaviour
Should not use high CPU when not pressing any keys
Desktop (please complete the following information):
- OS: macOS 13.5 (22G74)
- Browser Firefox,
- Version 3.2.0
Additional context
No
bytemain commented
ingjieye commented
ingjieye commented
Here's a trace file I ran using Xcode's profiler, it occurs at 45 to 60 seconds.
Seems the major CPU usage has nothing to do with MacGesture, but a problem with macOS, A higher mouse polling rate is likely to cause the problem (mine is 1000hz)
ingjieye commented