0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/deps
Fedor Indutny 31450fce7c deps: improve ArrayBuffer performance in v8
This a backport of the following commits from the v8's upstream:

* 1a8c38c50513f9af07ada479629a653e1cf36ff3
* 206f12abee3f1e7eda8fc6521d48f3c319460ee1
* 9e3676da9ab1aaf7de3e8582cb3fdefcc3dbaf33

Original commit message:

    heap: make array buffer maps disjoint

    Remove intersection from the `std::map`s representing current live
    ArrayBuffers. While being simpler to understand, it poses
    significant performance issue for the active ArrayBuffer users (like
    node.js).

    Store buffers separately, and process them together during
    mark-sweep phase.

    The results of benchmarks are:

    $ ./node-slow bench && ./node-fast bench
    4997.4 ns/op
    4685.7 ns/op

    NOTE: `fast` - was a patched node.js, `slow` - unpatched node.js
    with vanilla v8.

PR-URL: https://github.com/nodejs/node/pull/2732
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Roman Reiss <me@silverwind.io>
2015-09-07 21:26:25 -07:00
..
cares src,deps: replace LoadLibrary by LoadLibraryW 2015-05-12 10:47:51 +02:00
gtest
http_parser deps: update http_parser to 2.5.0 2015-04-24 23:19:28 +02:00
npm deps: float node-gyp v3.0.0 2015-09-08 11:28:11 +10:00
openssl node: rename from io.js to node 2015-08-23 17:59:43 -04:00
uv deps: upgrade libuv to 1.7.3 2015-09-02 03:16:47 -04:00
v8 deps: improve ArrayBuffer performance in v8 2015-09-07 21:26:25 -07:00
zlib