[Webkit-unassigned] [Bug 70687] New: Typed arrays are 10X slower than normal classic arrays
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Oct 22 18:57:08 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=70687
Summary: Typed arrays are 10X slower than normal classic arrays
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
URL: http://jsperf.com/read-write-typed-arrays/2
OS/Version: Mac OS X 10.7
Status: UNCONFIRMED
Severity: Minor
Priority: P3
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jhuckaby at gmail.com
Using a simple for loop reading and writing single values from typed arrays vs. normal arrays, the performance difference is staggering. Typed arrays are all about 10X slower than normal arrays. This strange behavior only occurs in Safari (running the very same test in Chrome and Firefox the typed arrays win outright, as they should).
See the test page for details and source code: http://jsperf.com/read-write-typed-arrays/2
Reproduced in Safari 5.1, 5.11 and WebKit Nightly Build (Oct 18 2011) on OS X 10.7.2.
--
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