Skip to content
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

Improve Ubersicht performance #19

Merged
merged 2 commits into from
Dec 12, 2019
Merged

Improve Ubersicht performance #19

merged 2 commits into from
Dec 12, 2019

Conversation

issmirnov
Copy link
Owner

Ubersicht has been eating up twice as much energy on my macbook as Chrome (!!!). Initial experiments show that decreasing polling frequency have large improvements, and reduce energy usage from 78 to 1 on my hackintosh.

I can absolutely live with less frequent CPU indicator updates if it means my system doesn't die 3x a day.

Ubersicht is eating up a TON of battery. Having a 100ms loop polling
yabai is not efficient. This commit changes the model to have yabai emit
events to ubersicht when space change.

Note: This may not work on SIP systems, need to test.
@issmirnov issmirnov merged commit a8f59dc into master Dec 12, 2019
@issmirnov issmirnov deleted the ubersicht-performance branch December 12, 2019 05:53
@issmirnov issmirnov mentioned this pull request Dec 12, 2019
@issmirnov issmirnov restored the ubersicht-performance branch December 20, 2019 05:21
@issmirnov issmirnov deleted the ubersicht-performance branch July 30, 2022 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant