Skip to content
Permalink
Browse files

test: add required settings to test-benchmark-buffer

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 <cjihrig@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
  • Loading branch information...
Trott authored and targos committed Aug 16, 2019
1 parent ebfe636 commit aff1ef9d27b560106efefd7f42267d92aa7e5b90
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/benchmark/test-benchmark-buffer.js
@@ -9,6 +9,7 @@ runBenchmark('buffers',
'aligned=true',
'args=1',
'buffer=fast',
'bytes=0',
'byteLength=1',
'charsPerLine=6',
'encoding=utf8',
@@ -17,6 +18,7 @@ runBenchmark('buffers',
'linesCount=1',
'method=',
'n=1',
'partial=true',
'pieces=1',
'pieceSize=1',
'search=@',

0 comments on commit aff1ef9

Please sign in to comment.
You can’t perform that action at this time.