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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
  • 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.