[Webkit-unassigned] [Bug 16448] [GTK] Celtic Kane JavaScript performance oddity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 16 02:50:07 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16448


mrowe at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-                     |mrowe at apple.com
                   |unassigned at lists.webkit.org |




------- Comment #2 from mrowe at apple.com  2007-12-16 02:50 PDT -------
Finally got gprof working.  Most of the time looks to be spent inside toString
in the comparison function below ArrayInstance::sort.  I have a patch locally
that tweaks ArrayInstance::sort to call toString O(N) times rather than O(N log
N) times, which drop the Array test from 158 to 7ms on my Linux machine.  I'm
not entirely sure *why* toString was proving more expensive on Linux as gprof
output isn't proving very enlightening. The patch is also a win on Mac (36 ->
6ms on Array).


-- 
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.
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list