projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ddfe2
)
benchmark: Correct the bufferSize to highWaterMark
author
Jackson Tian
<shyvo1987@gmail.com>
Sun, 1 Sep 2013 17:41:00 +0000
(
01:41
+0800)
committer
Fedor Indutny
<fedor.indutny@gmail.com>
Wed, 6 Nov 2013 12:32:22 +0000
(16:32 +0400)
The bufferSize has been removed. Use highWaterMark instead of.
benchmark/fs/read-stream-throughput.js
patch
|
blob
|
history
diff --git
a/benchmark/fs/read-stream-throughput.js
b/benchmark/fs/read-stream-throughput.js
index
45582e9
..
a181a2d
100644
(file)
--- 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
});