2017-03-29 15:41:11 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const common = require('../common');
|
|
|
|
|
2017-06-30 23:29:09 +00:00
|
|
|
if (!common.enoughTestMem)
|
2017-03-29 15:41:11 +00:00
|
|
|
common.skip('Insufficient memory for HTTP benchmark test');
|
|
|
|
|
|
|
|
// Because the http benchmarks use hardcoded ports, this should be in sequential
|
|
|
|
// rather than parallel to make sure it does not conflict with tests that choose
|
|
|
|
// random available ports.
|
|
|
|
|
2017-08-24 07:15:55 +00:00
|
|
|
const runBenchmark = require('../common/benchmark');
|
|
|
|
|
2020-02-12 18:34:00 +00:00
|
|
|
runBenchmark('http', { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|