[Webkit-unassigned] [Bug 283220] Poor performance of selector div:has(img) button

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 17 18:34:52 PST 2024


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

Karl Dubost <karlcow at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.webkit.org/sho
                   |                            |w_bug.cgi?id=283222
                 CC|                            |karlcow at apple.com

--- Comment #2 from Karl Dubost <karlcow at apple.com> ---
Using:

var startTime = performance.now(); document.querySelectorAll('div:has(img) button'); var endTime = performance.now(); console.log(`${endTime - startTime} milliseconds`)

Safari:  2258 ms
Firefox:    1 ms
Chrome:    17 ms


Safari Technology Preview  207           20621.1.4.3
Firefox Nightly            134.0a1       13424.11.7
Google Chrome Canary       133.0.6843.0  6843.0

-- 
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/20241118/72a218ce/attachment.htm>


More information about the webkit-unassigned mailing list