mirror of https://github.com/nodejs/node.git
benchmark: lower URL.canParse runs
PR-URL: https://github.com/nodejs/node/pull/47351 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: James M Snell <jasnell@gmail.com>pull/47356/head
parent
4204c5cffe
commit
39a08ee8b8
|
@ -3,7 +3,7 @@ const common = require('../common.js');
|
|||
|
||||
const bench = common.createBenchmark(main, {
|
||||
type: Object.keys(common.urls),
|
||||
n: [25e6],
|
||||
n: [1e6],
|
||||
});
|
||||
|
||||
function main({ type, n }) {
|
||||
|
|
Loading…
Reference in New Issue