mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
d3dd49fe2b
This significantly reduces the peak memory for the promise based readFile operation by reusing a single memory chunk after each read and strinigifying that chunk immediately. Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de> PR-URL: https://github.com/nodejs/node/pull/44295 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
---|---|---|
.. | ||
bench-mkdirp.js | ||
bench-opendir.js | ||
bench-readdir.js | ||
bench-readdirSync.js | ||
bench-realpath.js | ||
bench-realpathSync.js | ||
bench-stat-promise.js | ||
bench-stat.js | ||
bench-statSync-failure.js | ||
bench-statSync.js | ||
read-stream-throughput.js | ||
readfile-partitioned.js | ||
readfile-promises.js | ||
readfile.js | ||
readFileSync.js | ||
write-stream-throughput.js | ||
writefile-promises.js |