summaryrefslogtreecommitdiff
path: root/test/parallel/test-benchmark-dns.js
blob: 27c3271c74d86d9e5842150b0b1f8933c1dc83be (plain)
1
2
3
4
5
6
7
8
9
10
'use strict';

require('../common');

const runBenchmark = require('../common/benchmark');

const env = Object.assign({}, process.env,
                          { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

runBenchmark('dns', ['n=1', 'all=false', 'name=127.0.0.1'], env);