Status: New
Owner: ----
New issue 3883 by [email protected]: Severe performance regression on
push with multiple arguments
https://code.google.com/p/v8/issues/detail?id=3883
At some point between v8 which was used in Node 0.10 and current v8,
performance of array.push with multiple arguments dropped dramatically (~5x
slower).
Test case:
for (var i = 0, array = []; i < 1000; i++) array.push(i, i);
A comparison of performance in node 0.10, node 0.12 and latest stable v8:
$ /usr/local/Cellar/node/0.10.36/bin/node test.js
51089 ops/s
$ /usr/local/Cellar/node/0.12.0/bin/node test.js
11600 ops/s
$ /usr/local/Cellar/v8/3.30.33.16/bin/d8 test.js
9870 ops/s
Discovered this after finding out that my JS polygon triangulation library
(https://github.com/mapbox/earcut) has a severe performance drop in iojs
compared to node. Eventually reduced to this issue.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.