Files
node/test/parallel/test-benchmark-misc.js
T
Rich Trott 5d4c5d3f71 test: run misc benchmark only once in tests
Prevent misc benchmark files from running more than one benchmark
during tests.

PR-URL: https://github.com/nodejs/node/pull/21046
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2018-06-19 10:37:36 -07:00

15 lines
252 B
JavaScript

'use strict';
require('../common');
const runBenchmark = require('../common/benchmark');
runBenchmark('misc', [
'concat=0',
'dur=0.1',
'method=',
'n=1',
'type=',
'val=magyarország.icom.museum',
], { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });