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: #16044
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
CharlesWall authored and MylesBorins committed Oct 11, 2017
1 parent e9f6a62 commit 5d63c10
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 5d63c10

Please sign in to comment.