[Webkit-unassigned] [Bug 31839] New: JSON.stringify performance on undefined is very poor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 24 10:27:35 PST 2009


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

           Summary: JSON.stringify performance on undefined is very poor
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: oliver at apple.com, aroben at apple.com


Created an attachment (id=43784)
 --> (https://bugs.webkit.org/attachment.cgi?id=43784)
[TEST CASE] Shows Poor Performance of Stringify with undefined

I recently ran some benchmarks for native JSON in a few browsers and stumbled
on the fact that WebKit's performance with the "undefined" value was
considerably slow.  A version of my test case is attached which highlights the
issues.

Here is a screenshot showing the improvement I got:
http://grab.by/MjK

  Safari 4.0.4    ~120ms
  WebKit Nightly  ~249ms
  My Build         ~10ms

My change still passes all tests. No tests are added, since this is really a
benchmark.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list