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

Refresh rate opt #22

Merged
merged 2 commits into from
Jan 12, 2024
Merged

Refresh rate opt #22

merged 2 commits into from
Jan 12, 2024

Conversation

naddeoa
Copy link
Owner

@naddeoa naddeoa commented Jan 12, 2024

No description provided.

I was swapping the wrong things in the std tree (the command instead of
stderr with stdout) in an attempt to make sure that stdout was always on
top of stderr if they both exist for a target
This adds a glorified dirty-flag checker to make the table updates
dynamic to the amount of output. I noticed how many refreshes were
happening when I tried to record the asciinema demo and got a 40mb file
out of it. Now there are min/max update constraints so the refresh rate
slows when nothing is happening but speeds up when there is a lot of
output from one of the subprocesses.
@naddeoa naddeoa merged commit 1a83370 into master Jan 12, 2024
1 check passed
@naddeoa naddeoa deleted the refresh-rate-opt branch January 12, 2024 22:19
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