Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmark/tls/secure-pair.js2
-rw-r--r--benchmark/tls/throughput.js2
-rw-r--r--test/benchmark/test-benchmark-tls.js4
3 files changed, 4 insertions, 4 deletions
diff --git a/benchmark/tls/secure-pair.js b/benchmark/tls/secure-pair.js
index c52f4cbf918..bb7933d837f 100644
--- a/benchmark/tls/secure-pair.js
+++ b/benchmark/tls/secure-pair.js
@@ -3,7 +3,7 @@ const common = require('../common.js');
const bench = common.createBenchmark(main, {
dur: [5],
securing: ['SecurePair', 'TLSSocket', 'clear'],
- size: [2, 100, 1024, 1024 * 1024]
+ size: [100, 1024, 1024 * 1024]
});
const fixtures = require('../../test/common/fixtures');
diff --git a/benchmark/tls/throughput.js b/benchmark/tls/throughput.js
index 727d20e4600..3ea84aa84ef 100644
--- a/benchmark/tls/throughput.js
+++ b/benchmark/tls/throughput.js
@@ -3,7 +3,7 @@ const common = require('../common.js');
const bench = common.createBenchmark(main, {
dur: [5],
type: ['buf', 'asc', 'utf'],
- size: [2, 1024, 1024 * 1024, 4 * 1024 * 1024, 16 * 1024 * 1024]
+ size: [100, 1024, 1024 * 1024, 4 * 1024 * 1024, 16 * 1024 * 1024]
});
const fixtures = require('../../test/common/fixtures');
diff --git a/test/benchmark/test-benchmark-tls.js b/test/benchmark/test-benchmark-tls.js
index 40c14af8302..264fa08d396 100644
--- a/test/benchmark/test-benchmark-tls.js
+++ b/test/benchmark/test-benchmark-tls.js
@@ -19,9 +19,9 @@ runBenchmark('tls',
'concurrency=1',
'dur=0.1',
'n=1',
- 'size=2',
+ 'size=1024',
'securing=SecurePair',
- 'type=asc'
+ 'type=buf'
],
{
NODEJS_BENCHMARK_ZERO_ALLOWED: 1,