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