3 ms·
By adapting the highWaterMark option one could probably tweak it even further. Default buffer size seems to be 64k: https://github.com/joyent/node/blob/912b5e0
by hoggle 12y ago
By adapting the highWaterMark option one could probably tweak it even further.
Default buffer size seems to be 64k: https://github.com/joyent/node/blob/912b5e05811fd24f09f9d65200a1561a4482f166/lib/fs.js#L1468 https://github.com/joyent/node/blob/912b5e05811fd24f09f9d652...
Stream buffering: http://www.nodejs.org/api/stream.html#stream_buffering http://www.nodejs.org/api/stream.html#stream_buffering