summaryrefslogtreecommitdiff
path: root/test/sequential/test-benchmark-dgram.js
blob: 8c93cd5a0c923990f6317020e187e744ae5be086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'use strict';

require('../common');

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

// Because the dgram benchmarks use hardcoded ports, this should be in
// sequential rather than parallel to make sure it does not conflict with
// tests that choose random available ports.

runBenchmark('dgram', ['address=true',
                       'chunks=2',
                       'dur=0.1',
                       'len=1',
                       'n=1',
                       'num=1',
                       'type=send']);