Skip to content

Commit

Permalink
benchmark: lower URL.canParse runs
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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 Trott committed Apr 1, 2023
1 parent 4204c5c commit 39a08ee
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 39a08ee

Please sign in to comment.