Skip to content

Commit

Permalink
benchmark: lower URL.canParse runs
Browse files Browse the repository at this point in the history
PR-URL: #47351
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
KhafraDev authored and RafaelGSS committed Apr 8, 2023
1 parent 7a80312 commit 6a4076a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/url/whatwgurl-canParse.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) {
Expand Down

0 comments on commit 6a4076a

Please sign in to comment.