8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ba6ec commit 31ec443Copy full SHA for 31ec443
benchmark/tls/secure-pair.js
@@ -3,7 +3,7 @@ const common = require('../common.js');
3
const bench = common.createBenchmark(main, {
4
dur: [5],
5
securing: ['SecurePair', 'TLSSocket', 'clear'],
6
- size: [2, 100, 1024, 1024 * 1024]
+ size: [100, 1024, 1024 * 1024]
7
});
8
9
const fixtures = require('../../test/common/fixtures');
benchmark/tls/throughput.js
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]
test/benchmark/test-benchmark-tls.js
@@ -19,9 +19,9 @@ runBenchmark('tls',
19
'concurrency=1',
20
'dur=0.1',
21
'n=1',
22
- 'size=2',
+ 'size=1024',
23
'securing=SecurePair',
24
- 'type=asc'
+ 'type=buf'
25
],
26
{
27
NODEJS_BENCHMARK_ZERO_ALLOWED: 1,