Bug 184969
Summary: | [GTK] Eats CPU when animation on going in hidden tab | ||
---|---|---|---|
Product: | WebKit | Reporter: | Bastien Nocera <bugzilla> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bugs-noreply, cgarcia, mcatanzaro |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugzilla.gnome.org/show_bug.cgi?id=795539 https://bugs.webkit.org/show_bug.cgi?id=195270 |
Bastien Nocera
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
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.