mirror of https://github.com/nodejs/node.git
benchmark: remove problematic tls params
These very small values can cause crashes/exceptions to occur on some systems because most time is spent in V8 GC or in parts of node core that are not being tested (e.g. streams). PR-URL: https://github.com/nodejs/node/pull/31816 Reviewed-By: James M Snell <jasnell@gmail.com>pull/31816/head
parent
c3c64a1034
commit
5cc0754090
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue