Browse Source

benchmark: Correct the bufferSize to highWaterMark

The bufferSize has been removed. Use highWaterMark instead of.
v0.11.9-release
Jackson Tian 11 years ago
committed by Fedor Indutny
parent
commit
60958d235d
  1. 2
      benchmark/fs/read-stream-throughput.js

2
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
});

Loading…
Cancel
Save