Skip to content

Commit

Permalink
test: convert buffer benchmark to runBenchmark
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#15349
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
  • Loading branch information
maclover7 authored and Stephen Belanger committed Sep 21, 2017
1 parent e6590ff commit 1a1261d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions test/parallel/test-benchmark-buffer.js
Original file line number Diff line number Diff line change
@@ -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'

]);

0 comments on commit 1a1261d

Please sign in to comment.