1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
'use strict';
require('../common');
const runBenchmark = require('../common/benchmark');
runBenchmark('url',
[
'method=legacy',
'e=0',
'loopMethod=forEach',
'accessMethod=get',
'type=short',
'searchParam=noencode',
'href=short',
'input=short',
'domain=empty',
'path=up',
'to=ascii',
'prop=href',
'n=1',
'param=one',
'withBase=false'
],
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|