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

Fix clock CPU utilization #1656

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Fix clock CPU utilization #1656

wants to merge 3 commits into from

Conversation

MattCatz
Copy link
Contributor

No need to redraw if there has not been any events. Poll for events about every 100 ms. Drops utilization from around 25% to less than 0.

Also swap -ffunction-sections -fdata-sections for LTO to save ~5 Kb of memory when loaded and probably an immeasurable amount of performance.

Below is the size difference using LTO:
image

Addresses part of issue: #107

No need to redraw if there has not been any events. Poll for
events about every 100 ms. Drops utilization from around 25% to
less than 0.

Also swap `-ffunction-sections -fdata-sections` for LTO to save
~5 Kb of memory when loaded and probably an immeasurable amount
of performance.
Copy link
Member

@Aemiii91 Aemiii91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Aemiii91 Aemiii91 added the enhancement New or improved feature label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New or improved feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants