mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
098b5b6ee3
Add settings to test-benchmark-dgram such that it only runs benchmark per benchmark file. PR-URL: https://github.com/nodejs/node/pull/17462 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
14 lines
332 B
JavaScript
14 lines
332 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
|
|
const runBenchmark = require('../common/benchmark');
|
|
|
|
runBenchmark('dgram', ['address=true',
|
|
'chunks=2',
|
|
'dur=0.1',
|
|
'len=1',
|
|
'n=1',
|
|
'num=1',
|
|
'type=send']);
|