Skip to content

Commit

Permalink
test: create benchmark test for misc and module
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#16044
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
CharlesWall authored and addaleax committed Oct 11, 2017
1 parent dcfb948 commit db762a8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/parallel/test-benchmark-misc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict';

require('../common');

const runBenchmark = require('../common/benchmark');

runBenchmark('misc', [
'n=1',
'val=magyarország.icom.museum',
'millions=.000001',
'type=extend',
'concat=0'
]);
11 changes: 11 additions & 0 deletions test/parallel/test-benchmark-module.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

require('../common');

const runBenchmark = require('../common/benchmark');

runBenchmark('module', [
'thousands=.001',
'useCache=true',
'fullPath=true'
]);

0 comments on commit db762a8

Please sign in to comment.