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 authored and Gibson Fahnestock committed 2017-12-20 01:59:44 +00:00
1 parent 6c6635dd2e
commit 977eb5aa06
1 file changed
+7 -1
+7 -1
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']);