1'use strict'; 2 3const common = require('../common'); 4 5if (!common.hasCrypto) 6 common.skip('missing crypto'); 7 8if (!common.enoughTestMem) 9 common.skip('Insufficient memory for TLS benchmark test'); 10 11// Because the TLS benchmarks use hardcoded ports, this should be in sequential 12// rather than parallel to make sure it does not conflict with tests that choose 13// random available ports. 14 15const runBenchmark = require('../common/benchmark'); 16 17runBenchmark('tls', { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 }); 18