Skip to content

Commit

Permalink
test: add required settings to test-benchmark-buffer
Browse files Browse the repository at this point in the history
A benchmark was added but the appropriate settings were not added to
test-benchmark-buffer. These two additions make sure that the new
benchmark file only runs a single benchmark during testing.

PR-URL: #29163
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Yongsheng Zhang <[email protected]>
  • Loading branch information
Trott authored and targos committed Aug 19, 2019
1 parent ebfe636 commit aff1ef9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/benchmark/test-benchmark-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ runBenchmark('buffers',
'aligned=true',
'args=1',
'buffer=fast',
'bytes=0',
'byteLength=1',
'charsPerLine=6',
'encoding=utf8',
Expand All @@ -17,6 +18,7 @@ runBenchmark('buffers',
'linesCount=1',
'method=',
'n=1',
'partial=true',
'pieces=1',
'pieceSize=1',
'search=@',
Expand Down

0 comments on commit aff1ef9

Please sign in to comment.