epwalsh/pomo.nvim

Any way to reduce CPU usage?

colemand77 opened this issue ยท 3 comments

๐Ÿš€ The feature, motivation and pitch

The CPU usage of my terminal jumps to ~10% when the timer is counting down?
That feels high... curious if you see that as well and whether you've considered any ways to reduce?

Alternatives

No response

Additional context

No response

Hey @colemand77 have you tried increasing update_interval in your pomo.nvim config?

Hey @epwalsh - thanks for responding. Yeah, I did, but even at 5000 it's still around 7-8% of CPU.
Certainly usable but feels heavy for a countdown timer?
Guessing you don't see the same... I'm on a windows machine running WezTerm for whatever that's worth.

I do see a drop when setting to 5000 myself, although it's still a little higher than normal (~1%) when the timer is actively displayed through nvim-notify. Are you using nvim-notify too? When I hide the timer so it's only in my Lualine status bar CPU usage appears normal. There might be an nvim-notify setting to reduce CPU usage there.