[Webkit-unassigned] [Bug 196764] New: Date.setDate is too slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 10 00:20:38 PDT 2019


            Bug ID: 196764
           Summary: Date.setDate is too slow
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: 348018533 at qq.com

var sTime = Date.now();
var curTime = new Date();

for (var i = 0; i < 10000; i++) {
console.log(Date.now() - sTime)

The execution time of the above code in different browsers:
Wkwebview: 16000ms
Safari: 120ms
Chrome: 3ms

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/20190410/5a11d97c/attachment.html>

More information about the webkit-unassigned mailing list