Replies: 1 comment
-
You are still executing the command on every redraw by calling redraw in timer you're actually making it worse in this case. Do something like this
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Similar to tmux-mem-cpu-load, it would be nice if there is a way to show memory and cpu consumption in the statusline.
At first, I tried doing it very crudely:
But, performance was terrible.
So, I tried reducing the refresh interval to 3 seconds:
But, that did not seem to be any better.
I am curious if anyone else has thought about a similar idea or knows of a tip/trick to make this work?
Beta Was this translation helpful? Give feedback.
All reactions