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

Lower sleep times for rollinglog -f #6572

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

Conversation

phonetic112
Copy link
Contributor

Make it faster

@vaxerski
Copy link
Member

why spam it?

@phonetic112
Copy link
Contributor Author

Before it was slower than just using tail -f, this matches that speed

@vaxerski
Copy link
Member

1000 times / s is still too much IMO. Maybe 50ms?

@phonetic112
Copy link
Contributor Author

8ms is the fastest I could go without increasing CPU too much.

@vaxerski
Copy link
Member

well then 50ms is a good compromise, no? 20 times / s

@Truenya
Copy link
Contributor

Truenya commented Jun 19, 2024

@phonetic112 probably the best way is to make it configurable with slow default settings?

@phonetic112
Copy link
Contributor Author

how bout this

Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

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

default 50ms

@phonetic112
Copy link
Contributor Author

yes.

src/debug/HyprCtl.cpp Show resolved Hide resolved
hyprctl/main.cpp Outdated Show resolved Hide resolved
src/debug/HyprCtl.cpp Outdated Show resolved Hide resolved
src/debug/HyprCtl.cpp Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants