test: add more settings to test-benchmark-dgram

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>
This commit is contained in:
Rich Trott
2017-12-04 16:55:07 -08:00
committed by Gibson Fahnestock
parent 6c6635dd2e
commit 977eb5aa06

View File

@@ -4,4 +4,10 @@ require('../common');
const runBenchmark = require('../common/benchmark');
runBenchmark('dgram', ['dur=0.1', 'chunks=2']);
runBenchmark('dgram', ['address=true',
'chunks=2',
'dur=0.1',
'len=1',
'n=1',
'num=1',
'type=send']);