[Webkit-unassigned] [Bug 201412] New: [FTW] Cache Gradients in the WebContent process
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 2 18:29:26 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=201412
Bug ID: 201412
Summary: [FTW] Cache Gradients in the WebContent process
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bfulgham at webkit.org
Profiling shows that creating Gradient brushes are one of the highest remaining hot spots in MotionMark runs, especially in Suits.
This benchmark ends up applying one of a set of gradients to different elements, and creating and destroying these gradient brushes each time we paint is hugely wasteful.
This patch adds a local cache to the Direct2D Gradient object that caches the constructed gradient.
--
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/20190903/d5619771/attachment.html>
More information about the webkit-unassigned
mailing list