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: https://github.com/nodejs/node/pull/29163 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
This commit is contained in:
parent
791409a9ce
commit
b9ff6a3fb1
@ -9,6 +9,7 @@ runBenchmark('buffers',
|
|||||||
'aligned=true',
|
'aligned=true',
|
||||||
'args=1',
|
'args=1',
|
||||||
'buffer=fast',
|
'buffer=fast',
|
||||||
|
'bytes=0',
|
||||||
'byteLength=1',
|
'byteLength=1',
|
||||||
'charsPerLine=6',
|
'charsPerLine=6',
|
||||||
'encoding=utf8',
|
'encoding=utf8',
|
||||||
@ -17,6 +18,7 @@ runBenchmark('buffers',
|
|||||||
'linesCount=1',
|
'linesCount=1',
|
||||||
'method=',
|
'method=',
|
||||||
'n=1',
|
'n=1',
|
||||||
|
'partial=true',
|
||||||
'pieces=1',
|
'pieces=1',
|
||||||
'pieceSize=1',
|
'pieceSize=1',
|
||||||
'search=@',
|
'search=@',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user