summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorBrian White <mscdex@mscdex.net>2016-05-31 13:03:59 -0400
committerBrian White <mscdex@mscdex.net>2016-06-14 15:15:34 -0400
commit686984696de00ce09ac1d56e997cf705ecb6377d (patch)
tree74b49d9ab32eb05b93e192e634ede1d5503985e4 /node.gyp
parentc570182a39ada502d0f65223728b0cd9e136cda0 (diff)
downloadandroid-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.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 05a5530a2b..c26a42242d 100644
--- a/node.gyp
+++ b/node.gyp
@@ -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',