0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 07:00:59 +01:00
nodejs/benchmark/streams
Brian White 686984696d
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>
2016-06-14 15:15:34 -04:00
..
readable-bigread.js stream: improve Readable.read() performance 2016-06-14 15:15:34 -04:00
readable-bigunevenread.js stream: improve Readable.read() performance 2016-06-14 15:15:34 -04:00
readable-boundaryread.js stream: improve Readable.read() performance 2016-06-14 15:15:34 -04:00
readable-readall.js stream: improve Readable.read() performance 2016-06-14 15:15:34 -04:00
readable-unevenread.js stream: improve Readable.read() performance 2016-06-14 15:15:34 -04:00