When I have a channel open with a gif rendered, Caprine and Caprine Helper consumes all my CPU. It stops as soon as I switch channel or when I scroll until it is not visible.
Mac OS: 10.12.6
Caprine: 2.6.1.548
Rendering GIFs takes a lot of CPU. It's a very inefficient format and Chrome is not very good at rendering it efficiently either. Might improve when we upgrade Electron. Not really much we can do about it here.
Rendering GIFs takes a lot of CPU. It's a very inefficient format and Chrome is not very good at rendering it efficiently either. Might improve when we upgrade Electron. Not really much we can do about it here.
Okay, good to know - is there anyway to "pause" them when windows is not focused?
img {visibility:hidden} perhaps.
Also I think muted videos keep playing even if Caprine is hidden or minimized.
Okay, good to know - is there anyway to "pause" them when windows is not focused?
By default, rendering is paused on macOS if window is not visible, or minimized in other OS. The behavior is described in detail here.
One option would be to implement a solution similar to what the mobile client does - replace GIFs with static images and only show the original when the image is hovered.
Most helpful comment
Okay, good to know - is there anyway to "pause" them when windows is not focused?