mirror of
https://github.com/nodejs/node.git
synced 2025-05-12 02:02:29 +00:00

This test uses hardcoded ports, it should not be located in parallel. PR-URL: https://github.com/nodejs/node/pull/21144 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
18 lines
523 B
JavaScript
18 lines
523 B
JavaScript
'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']);
|