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:
parent
a6ddfe20d2
commit
60958d235d
@ -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…
Reference in New Issue
Block a user