diff --git a/benchmark/net/net-c2s.js b/benchmark/net/net-c2s.js index fdb0bb4968c025..48e454c5815ba8 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 0b9107357cabb3..dd9f2de497f5b6 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 07c5a8806920b0..1b9c91b8e7802c 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 bae976ad40b0ba..27cda28343ccaa 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 edfab797d09967..5b174f50e81c2f 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 15279b32784d8d..fbaa21b5a3097e 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 7818719b7285a8..3ca03529fcea9f 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 d5b0044d65c2fd..ff47393766c20d 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -3479,6 +3479,9 @@ method.