summaryrefslogtreecommitdiff
path: root/benchmark/net
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/net')
-rw-r--r--benchmark/net/net-c2s.js2
-rw-r--r--benchmark/net/net-pipe.js2
-rw-r--r--benchmark/net/net-s2c.js2
-rw-r--r--benchmark/net/net-wrap-js-stream-passthrough.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/benchmark/net/net-c2s.js b/benchmark/net/net-c2s.js
index 4add79a166..dc2a5bc015 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: [102400, 1024 * 1024 * 16],
+ len: [64, 102400, 1024 * 1024 * 16],
type: ['utf', 'asc', 'buf'],
dur: [5],
});
diff --git a/benchmark/net/net-pipe.js b/benchmark/net/net-pipe.js
index 3dd3bb78cc..e0b2842fd1 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: [102400, 1024 * 1024 * 16],
+ len: [64, 102400, 1024 * 1024 * 16],
type: ['utf', 'asc', 'buf'],
dur: [5],
});
diff --git a/benchmark/net/net-s2c.js b/benchmark/net/net-s2c.js
index 2ddf8fd6c5..6ee5afa663 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, {
- len: [102400, 1024 * 1024 * 16],
+ len: [64, 102400, 1024 * 1024 * 16],
type: ['utf', 'asc', 'buf'],
dur: [5]
});
diff --git a/benchmark/net/net-wrap-js-stream-passthrough.js b/benchmark/net/net-wrap-js-stream-passthrough.js
index 05a66f4e7a..c4d11fa56c 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: [102400, 1024 * 1024 * 16],
+ len: [64, 102400, 1024 * 1024 * 16],
type: ['utf', 'asc', 'buf'],
dur: [5],
}, {