[Webkit-unassigned] [Bug 188787] New: Do not try to update the compositing policy when not in accelerated compositing mode
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 21 05:23:19 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=188787
Bug ID: 188787
Summary: Do not try to update the compositing policy when not
in accelerated compositing mode
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: Gtk, Regression
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cgarcia at igalia.com
CC: simon.fraser at apple.com, zalan at apple.com,
zan at falconsigh.net
RenderLayerCompositor::updateCompositingPolicy() is called very often (called from RenderLayerCompositor::cacheAcceleratedCompositingFlags()) and it uses WTF::memoryFootprint() to decide the current compositing policy. Getting the memory footprint is an expensive operation in Linux (and I suspect other non-cocoa ports too), causing an excessive CPU usage. This caused the WPE and GTK+ unit test /webkit/WebKitWebContext/uri-scheme to start timing out in the bots, because the test expects things to happen fast and that's no longer the case. We could reduce the CPU usage a lot by not trying to update the policy when not in accelerated compositing mode. We will need a solution for the AC mode, though.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180821/200bd4e1/attachment.html>
More information about the webkit-unassigned
mailing list