Skip to content

Commit 4411343

Browse files
committed
fixup! adjust net benchmark to 64
1 parent 8d7a929 commit 4411343

7 files changed

+7
-7
lines changed

benchmark/net/net-c2s.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const net = require('net');
66
const PORT = common.PORT;
77

88
const bench = common.createBenchmark(main, {
9-
len: [64, 102400, 1024 * 1024 * 16],
9+
len: [64, 102400, 1024 * 1024 * 64],
1010
type: ['utf', 'asc', 'buf'],
1111
dur: [5],
1212
}, {

benchmark/net/net-pipe.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const net = require('net');
66
const PORT = common.PORT;
77

88
const bench = common.createBenchmark(main, {
9-
len: [2, 64, 102400, 1024 * 1024 * 16],
9+
len: [2, 64, 102400, 1024 * 1024 * 64],
1010
type: ['utf', 'asc', 'buf'],
1111
dur: [5],
1212
}, {

benchmark/net/net-s2c.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const common = require('../common.js');
55
const PORT = common.PORT;
66

77
const bench = common.createBenchmark(main, {
8-
sendchunklen: [256, 32 * 1024, 128 * 1024, 16 * 1024 * 1024],
8+
sendchunklen: [256, 32 * 1024, 128 * 1024, 64 * 1024 * 1024],
99
type: ['utf', 'asc', 'buf'],
1010
recvbuflen: [0, 64 * 1024, 1024 * 1024],
1111
recvbufgenfn: ['true', 'false'],

benchmark/net/net-wrap-js-stream-passthrough.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const common = require('../common.js');
55
const { PassThrough } = require('stream');
66

77
const bench = common.createBenchmark(main, {
8-
len: [64, 102400, 1024 * 1024 * 16],
8+
len: [64, 102400, 1024 * 1024 * 64],
99
type: ['utf', 'asc', 'buf'],
1010
dur: [5],
1111
}, {

benchmark/net/tcp-raw-c2s.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const util = require('util');
99
// run the function with those settings.
1010
// if not, then queue up a bunch of child processes.
1111
const bench = common.createBenchmark(main, {
12-
len: [102400, 1024 * 1024 * 16],
12+
len: [102400, 1024 * 1024 * 64],
1313
type: ['utf', 'asc', 'buf'],
1414
dur: [5],
1515
}, {

benchmark/net/tcp-raw-pipe.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const util = require('util');
99
// run the function with those settings.
1010
// if not, then queue up a bunch of child processes.
1111
const bench = common.createBenchmark(main, {
12-
len: [102400, 1024 * 1024 * 16],
12+
len: [102400, 1024 * 1024 * 64],
1313
type: ['utf', 'asc', 'buf'],
1414
dur: [5],
1515
}, {

benchmark/net/tcp-raw-s2c.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const util = require('util');
99
// run the function with those settings.
1010
// If not, then queue up a bunch of child processes.
1111
const bench = common.createBenchmark(main, {
12-
len: [102400, 1024 * 1024 * 16],
12+
len: [102400, 1024 * 1024 * 64],
1313
type: ['utf', 'asc', 'buf'],
1414
dur: [5],
1515
}, {

0 commit comments

Comments
 (0)