[Webkit-unassigned] [Bug 252904] New: Performance regression on selector match benchmark (add UNLIKELY to help branch prediction)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 24 07:36:40 PST 2023


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

            Bug ID: 252904
           Summary: Performance regression on selector match benchmark
                    (add UNLIKELY to help branch prediction)
           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: m_dubet at apple.com

The introduction of css-nesting (original VS resolved selector list) has introduced a small performance regression on selector matching benchmark.

https://perf.webkit.org/v3/#/charts?since=1663309346443&paneList=((22-1649-null-null-(5-2.5-500)))

Adding a UNLIKELY to help the compiler mitigate the performance decrease in the most frequent case (no nesting) could help.

-- 
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/20230224/9ed3175d/attachment-0001.htm>


More information about the webkit-unassigned mailing list