0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/parallel/test-benchmark-misc.js
Anatoli Papirovski 6af4f5ebb0
test: reduce duration in misc benchmark
PR-URL: https://github.com/nodejs/node/pull/20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2018-04-22 11:06:57 +02:00

15 lines
257 B
JavaScript

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