diff --git a/benchmark/fs/read-stream-throughput.js b/benchmark/fs/read-stream-throughput.js index 45582e9e628..a181a2df602 100644 --- a/benchmark/fs/read-stream-throughput.js +++ b/benchmark/fs/read-stream-throughput.js @@ -38,7 +38,7 @@ function main(conf) { function runTest() { assert(fs.statSync(filename).size === filesize); var rs = fs.createReadStream(filename, { - bufferSize: size, + highWaterMark: size, encoding: encoding });