Skip to content

Commit

Permalink
fixup! adjust net benchmark to 64
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGSS committed Dec 25, 2023
1 parent 8d7a929 commit 4411343
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion benchmark/net/net-c2s.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 * 1024 * 64],
type: ['utf', 'asc', 'buf'],
dur: [5],
}, {
Expand Down
2 changes: 1 addition & 1 deletion benchmark/net/net-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 * 1024 * 64],
type: ['utf', 'asc', 'buf'],
dur: [5],
}, {
Expand Down
2 changes: 1 addition & 1 deletion benchmark/net/net-s2c.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, 64 * 1024 * 1024],
type: ['utf', 'asc', 'buf'],
recvbuflen: [0, 64 * 1024, 1024 * 1024],
recvbufgenfn: ['true', 'false'],
Expand Down
2 changes: 1 addition & 1 deletion benchmark/net/net-wrap-js-stream-passthrough.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 * 1024 * 64],
type: ['utf', 'asc', 'buf'],
dur: [5],
}, {
Expand Down
2 changes: 1 addition & 1 deletion benchmark/net/tcp-raw-c2s.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 * 1024 * 64],
type: ['utf', 'asc', 'buf'],
dur: [5],
}, {
Expand Down
2 changes: 1 addition & 1 deletion benchmark/net/tcp-raw-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 * 1024 * 64],
type: ['utf', 'asc', 'buf'],
dur: [5],
}, {
Expand Down
2 changes: 1 addition & 1 deletion benchmark/net/tcp-raw-s2c.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 * 1024 * 64],
type: ['utf', 'asc', 'buf'],
dur: [5],
}, {
Expand Down

0 comments on commit 4411343

Please sign in to comment.