diff options
author | Brian White <mscdex@mscdex.net> | 2016-05-31 13:03:59 -0400 |
---|---|---|
committer | Brian White <mscdex@mscdex.net> | 2016-06-14 15:15:34 -0400 |
commit | 686984696de00ce09ac1d56e997cf705ecb6377d (patch) | |
tree | 74b49d9ab32eb05b93e192e634ede1d5503985e4 /node.gyp | |
parent | c570182a39ada502d0f65223728b0cd9e136cda0 (diff) | |
download | android-node-v8-686984696de00ce09ac1d56e997cf705ecb6377d.tar.gz android-node-v8-686984696de00ce09ac1d56e997cf705ecb6377d.tar.bz2 android-node-v8-686984696de00ce09ac1d56e997cf705ecb6377d.zip |
stream: improve Readable.read() performance
read() performance is improved most by switching from an array to
a linked list for storing buffered data. However, other changes that
also contribute include: making some hot functions inlinable, faster
read() argument checking, and misc code rearrangement to avoid
unnecessary code execution.
PR-URL: https://github.com/nodejs/node/pull/7077
Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -88,6 +88,7 @@ 'lib/internal/v8_prof_polyfill.js', 'lib/internal/v8_prof_processor.js', 'lib/internal/streams/lazy_transform.js', + 'lib/internal/streams/BufferList.js', 'deps/v8/tools/splaytree.js', 'deps/v8/tools/codemap.js', 'deps/v8/tools/consarray.js', |