0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-25 08:19:38 +01:00

benchmark: Correct the bufferSize to highWaterMark

The bufferSize has been removed. Use highWaterMark instead of.
This commit is contained in:
Jackson Tian 2013-09-02 01:41:00 +08:00 committed by Fedor Indutny
parent a6ddfe20d2
commit 60958d235d

View File

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