-
-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High CPU usage #33
Comments
If you're not interested in focus-follows-mouse, you can compile with this line commented out and you should see the CPU usage drop dramatically. |
gymore-io/winput#1 It looks like I am already using the optimised version. 🙈 I'll try forking the library and seeing if it's possible to just listen to mouse events and ignore keyboard events. The author states |
The thing is that I was observing that CPU usage even when stationary and "idling". That would make sense if there is some busy loop somewhere... |
I have tried forking Jonesey13/multiinput-rust#2 the For
|
Neither of the two libraries have any handlers for window destruction and class unregistering upon drop. I think I will implement the mouse event tracker from scratch in |
I can confirm that disabling completely mouse tracking helps a lot with CPU cycles ;) |
@pigmej The custom FFM implementation is now explicitly opt-in via a command-line flag. If you just run |
@pigmej Sorry to tag you in this blast from the past. Can you try enabling custom FFM again on the latest version of |
@LGUG2Z sorry lost windows machine for a while ;/ I don't have a way to test it now. |
I found it out today, that running komorebi consumes 13% of one CPU core constantly.
Not sure how could I debug it any further. In the logs, there is nothing suspicious.
How could I help debugging that further?
The text was updated successfully, but these errors were encountered: