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