mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
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>
15 lines
252 B
JavaScript
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 });
|