Skip to content

Commit

Permalink
test: add more settings to test-benchmark-dgram
Browse files Browse the repository at this point in the history
Add settings to test-benchmark-dgram such that it only runs benchmark
per benchmark file.

PR-URL: #17462
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
Trott authored and gibfahn committed Dec 20, 2017
1 parent 6dea0f8 commit e4e1212
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/parallel/test-benchmark-dgram.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']);

0 comments on commit e4e1212

Please sign in to comment.