benchmark: shorten pipe-to by reducing number of chunks

PR-URL: https://github.com/nodejs/node/pull/49577
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
This commit is contained in:
Raz Luvaton 2023-09-13 22:44:44 +03:00 committed by GitHub
parent f5bb2c7d20
commit 7ad4c0f4a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ const {
} = require('node:stream/web');
const bench = common.createBenchmark(main, {
n: [5e6],
n: [5e5],
highWaterMarkR: [512, 1024, 2048, 4096],
highWaterMarkW: [512, 1024, 2048, 4096],
});