[Webkit-unassigned] [Bug 185065] New: Poor Object.is performance

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 26 20:04:20 PDT 2018


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

            Bug ID: 185065
           Summary: Poor Object.is performance
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: goktug at google.com

It seems like Object.is has very poor performance; even polyfill performs much better than the built-in method (2x). Also for comparison "===" performs ~10x.

See the following benchmarks:
https://jsperf.com/string-object-is-performance
https://jsperf.com/object-is-vs-polyfill

You can see similar issue fixed for V8 here:
https://bugs.chromium.org/p/v8/issues/detail?id=7007

-- 
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/20180427/b97ca5b1/attachment.html>


More information about the webkit-unassigned mailing list