mirror of
https://github.com/nodejs/node.git
synced 2025-05-07 19:56:48 +00:00

Benchmark different types of operations and make results comparable by normalizing process.env for enumeartion. PR-URL: https://github.com/nodejs/node/pull/29188 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
13 lines
273 B
JavaScript
13 lines
273 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
|
|
const runBenchmark = require('../common/benchmark');
|
|
|
|
runBenchmark('process',
|
|
[
|
|
'n=1',
|
|
'type=raw',
|
|
'operation=enumerate',
|
|
], { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|