[Webkit-unassigned] [Bug 20544] New: Sunspider: date-format-tofte has O(n) arrayExists function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 27 08:22:37 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=20544
Summary: Sunspider: date-format-tofte has O(n) arrayExists
function
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: norman at rasmussen.co.za
The attached patch removes the arrayExists function and converts switches from
a list to a hash.
The reasoning for this patch has nothing to do with WebKit at all, but the new
Firefox 3.1 JS jit runs approx 180x times _slower_ (than the non-jit code)
without this patch.
With this patch the code runs at mostly the same speed.
So the patch makes the test, actually test the string formatting, and not
strange tight-loops created by non-core array functions. (The test is meant to
test string formatting, not array.exists functionality)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list