Skip to content

Commit be3ac44

Browse files
CharlesWallBridgeAR
authored andcommitted
test: create benchmark test for misc and module
PR-URL: #16044 Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 6a9fd06 commit be3ac44

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

test/parallel/test-benchmark-misc.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
'use strict';
2+
3+
require('../common');
4+
5+
const runBenchmark = require('../common/benchmark');
6+
7+
runBenchmark('misc', [
8+
'n=1',
9+
'val=magyarország.icom.museum',
10+
'millions=.000001',
11+
'type=extend',
12+
'concat=0'
13+
]);
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
'use strict';
2+
3+
require('../common');
4+
5+
const runBenchmark = require('../common/benchmark');
6+
7+
runBenchmark('module', [
8+
'thousands=.001',
9+
'useCache=true',
10+
'fullPath=true'
11+
]);

0 commit comments

Comments
 (0)