[Webkit-unassigned] [Bug 15350] New: skip extra hash lookup and
avoid converting char* to UString for 19% speedup on CK JS
array test
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 2 16:08:22 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=15350
Summary: skip extra hash lookup and avoid converting char* to
UString for 19% speedup on CK JS array test
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh
URL: http://celtickane.com/projects/jsspeed2007.php
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mjs at apple.com
The Celtic Kane JavaScript Benchmark "Array" test can be sped up 19% by using
the return value from add() to avoid an extra hash lookup for contains(), and
by storing some strings in function-scope static UString variables instead of
as constant strings used to make new UStrings every time. These issues mainly
affect the Array "join" and "toString" operations, which unfortunately seem to
make up the vast majority of time on this benchmark.
--
Configure bugmail: http://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