From 60958d235d6ad789b034a67a528a7d680ac1c727 Mon Sep 17 00:00:00 2001 From: Jackson Tian Date: Mon, 2 Sep 2013 01:41:00 +0800 Subject: [PATCH] benchmark: Correct the bufferSize to highWaterMark The bufferSize has been removed. Use highWaterMark instead of. --- benchmark/fs/read-stream-throughput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });