mirror of
https://github.com/nodejs/node.git
synced 2025-05-16 15:41:42 +00:00

This reverts commit 78aa348f4e
.
Refs: https://github.com/nodejs/node/pull/31396
PR-URL: https://github.com/nodejs/node/pull/31722
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
26 lines
642 B
JavaScript
26 lines
642 B
JavaScript
'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 });
|