diff --git a/benchmark/net/net-c2s.js b/benchmark/net/net-c2s.js index fdb0bb4968..48e454c581 100644 --- a/benchmark/net/net-c2s.js +++ b/benchmark/net/net-c2s.js @@ -6,7 +6,7 @@ const net = require('net'); const PORT = common.PORT; const bench = common.createBenchmark(main, { - len: [64, 102400, 1024 * 1024 * 16], + len: [64, 102400, 1024 * 64 * 16], type: ['utf', 'asc', 'buf'], dur: [5], }, { diff --git a/benchmark/net/net-pipe.js b/benchmark/net/net-pipe.js index 0b9107357c..dd9f2de497 100644 --- a/benchmark/net/net-pipe.js +++ b/benchmark/net/net-pipe.js @@ -6,7 +6,7 @@ const net = require('net'); const PORT = common.PORT; const bench = common.createBenchmark(main, { - len: [2, 64, 102400, 1024 * 1024 * 16], + len: [2, 64, 102400, 1024 * 64 * 16], type: ['utf', 'asc', 'buf'], dur: [5], }, { diff --git a/benchmark/net/net-s2c.js b/benchmark/net/net-s2c.js index 07c5a88069..1b9c91b8e7 100644 --- a/benchmark/net/net-s2c.js +++ b/benchmark/net/net-s2c.js @@ -5,7 +5,7 @@ const common = require('../common.js'); const PORT = common.PORT; const bench = common.createBenchmark(main, { - sendchunklen: [256, 32 * 1024, 128 * 1024, 16 * 1024 * 1024], + sendchunklen: [256, 32 * 1024, 128 * 1024, 16 * 64 * 1024], type: ['utf', 'asc', 'buf'], recvbuflen: [0, 64 * 1024, 1024 * 1024], recvbufgenfn: ['true', 'false'], diff --git a/benchmark/net/net-wrap-js-stream-passthrough.js b/benchmark/net/net-wrap-js-stream-passthrough.js index bae976ad40..27cda28343 100644 --- a/benchmark/net/net-wrap-js-stream-passthrough.js +++ b/benchmark/net/net-wrap-js-stream-passthrough.js @@ -5,7 +5,7 @@ const common = require('../common.js'); const { PassThrough } = require('stream'); const bench = common.createBenchmark(main, { - len: [64, 102400, 1024 * 1024 * 16], + len: [64, 102400, 1024 * 64 * 16], type: ['utf', 'asc', 'buf'], dur: [5], }, { diff --git a/benchmark/net/tcp-raw-c2s.js b/benchmark/net/tcp-raw-c2s.js index edfab797d0..5b174f50e8 100644 --- a/benchmark/net/tcp-raw-c2s.js +++ b/benchmark/net/tcp-raw-c2s.js @@ -9,7 +9,7 @@ const util = require('util'); // run the function with those settings. // if not, then queue up a bunch of child processes. const bench = common.createBenchmark(main, { - len: [102400, 1024 * 1024 * 16], + len: [102400, 1024 * 64 * 16], type: ['utf', 'asc', 'buf'], dur: [5], }, { diff --git a/benchmark/net/tcp-raw-pipe.js b/benchmark/net/tcp-raw-pipe.js index 15279b3278..fbaa21b5a3 100644 --- a/benchmark/net/tcp-raw-pipe.js +++ b/benchmark/net/tcp-raw-pipe.js @@ -9,7 +9,7 @@ const util = require('util'); // run the function with those settings. // if not, then queue up a bunch of child processes. const bench = common.createBenchmark(main, { - len: [102400, 1024 * 1024 * 16], + len: [102400, 1024 * 64 * 16], type: ['utf', 'asc', 'buf'], dur: [5], }, { diff --git a/benchmark/net/tcp-raw-s2c.js b/benchmark/net/tcp-raw-s2c.js index 7818719b72..3ca03529fc 100644 --- a/benchmark/net/tcp-raw-s2c.js +++ b/benchmark/net/tcp-raw-s2c.js @@ -9,7 +9,7 @@ const util = require('util'); // run the function with those settings. // If not, then queue up a bunch of child processes. const bench = common.createBenchmark(main, { - len: [102400, 1024 * 1024 * 16], + len: [102400, 1024 * 64 * 16], type: ['utf', 'asc', 'buf'], dur: [5], }, { diff --git a/doc/api/stream.md b/doc/api/stream.md index d5b0044d65..ff47393766 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -3479,6 +3479,9 @@ method.