diff --git a/benchmark/net/net-c2s.js b/benchmark/net/net-c2s.js index fdb0bb4968c..48e454c5815 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 0b9107357ca..dd9f2de497f 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 07c5a880692..1b9c91b8e78 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 bae976ad40b..27cda28343c 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 edfab797d09..5b174f50e81 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 15279b32784..fbaa21b5a30 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 7818719b728..3ca03529fce 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 d5b0044d65c..ff47393766c 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -3479,6 +3479,9 @@ method.