Bug 184969 - [GTK] Eats CPU when animation on going in hidden tab
Summary: [GTK] Eats CPU when animation on going in hidden tab
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2018-04-25 07:46 PDT by Bastien Nocera
Modified: 2019-04-02 01:39 PDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Bastien Nocera 2018-04-25 07:46:35 PDT
WebKitWebProcess eats about 12 to 15% CPU when this site is opened, even when it is hidden: https://www.humblebundle.com/games/capcom-sega-psn

epiphany itself yo-yos between 5 and 12% CPU. The tab should be throttled down when hidden. Both processes' CPU usage drops to a couple of percent when that tab gets closed.

Comment 1 Carlos Garcia Campos 2019-04-02 01:38:53 PDT
This was fixed by r242364, see bug #195270. We are now suspending the threaded compositor when rendering is suspended. I've noticed another problem, though. When resizing the window, the hidden tabs are updated too, to avoid flickering or getting the old size when switching tabs. For that we need to resume painting and we are not suspending it again after the update. I'll file a new bug for that.