summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmark/fs/read-stream-throughput.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/fs/read-stream-throughput.js b/benchmark/fs/read-stream-throughput.js
index 45582e9e62..a181a2df60 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
});