[Webkit-unassigned] [Bug 207435] New: Optimize style resolution for animations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 8 16:59:57 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=207435

            Bug ID: 207435
           Summary: Optimize style resolution for animations
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com

Created attachment 390186

  --> https://bugs.webkit.org/attachment.cgi?id=390186&action=review

Animation test

Animations (both old and new) currently invalidate style on the element every frame, which triggers a full TreeResolver::resolve() which is expensive. In the attached testcase, TreeResolver::resolve() is 14% of CPU time.

We should optimize style resolution with a type of invalidation for animations.

-- 
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/20200209/a949772c/attachment.htm>


More information about the webkit-unassigned mailing list