[Webkit-unassigned] [Bug 156404] STP TypedArray.subarray 5x slowdown compared to 9.1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 11 02:24:02 PDT 2016


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

--- Comment #6 from Arthur Langereis <puurtuur at me.com> ---
Created attachment 276134
  --> https://bugs.webkit.org/attachment.cgi?id=276134&action=review
Indexing R/W speed comparison

Adding this file as well as it's directly related: this second test shows how slow TypedArray.set() is as well.

I was surprised that copying data into a new JS array, modifying it and copying the data back into the TypedArray was much faster than either .subarray() -> sub-indexeing or using .set(newValues, offset)

Another issue: bug 120813 referenced the reason why, but it's now 3 years old.

This test can also be run from my server:
http://zenmumbler.net/bugs/array_indexing.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160411/e667325a/attachment.html>


More information about the webkit-unassigned mailing list