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

See Also:


Attachments

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.

webkit2gtk3-2.20.1-1.fc28.x86_64
epiphany-3.28.1.1-1.fc28.x86_64
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.