diff --git a/test/parallel/test-benchmark-buffer.js b/test/parallel/test-benchmark-buffer.js new file mode 100644 index 0000000000..73d8e0391d --- /dev/null +++ b/test/parallel/test-benchmark-buffer.js @@ -0,0 +1,24 @@ +'use strict'; + +require('../common'); + +const runBenchmark = require('../common/benchmark'); + +runBenchmark('buffers', + [ + 'aligned=true', + 'args=1', + 'encoding=utf8', + 'len=2', + 'method=', + 'n=1', + 'noAssert=true', + 'pieces=1', + 'pieceSize=1', + 'search=@', + 'size=1', + 'source=array', + 'type=', + 'withTotalLength=0' + + ]);