Skip to content

Commit

Permalink
benchmark: Correct the bufferSize to highWaterMark
Browse files Browse the repository at this point in the history
  The bufferSize has been removed. Use highWaterMark instead of.
  • Loading branch information
JacksonTian authored and indutny committed Nov 6, 2013
1 parent a6ddfe2 commit 60958d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/fs/read-stream-throughput.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});

Expand Down

0 comments on commit 60958d2

Please sign in to comment.