Skip to content

Rebase development #24

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

Merged
merged 5 commits into from
May 30, 2024
Merged

Rebase development #24

merged 5 commits into from
May 30, 2024

Conversation

metaspartan
Copy link
Collaborator

No description provided.

Md-Cake and others added 5 commits May 30, 2024 18:23
mactop has high CPU usage. Running it with cpuprofiling shows that the
top CPU time is spent in the termui.Render calls (to be specific, in the
ioctl syscalls there).

I removed a bunch of unnecessary Render calls (there were some
duplicates) and replaced all the other calls with a throttled version: I
call Render in the main process but not more often than twice in the
single "update interval" period.

This should address issue #13.
fix: performance issue caused by the render calls
@metaspartan metaspartan merged commit a95b0ce into development May 30, 2024
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.

3 participants