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: nodejs#17462
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
Trott committed Dec 6, 2017
1 parent 24ac1a4 commit 098b5b6
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 098b5b6

Please sign in to comment.