chore: fix flaky `integration::bench::multifile_summary` test
@@ -8,11 +8,8 @@ Deno.bench("parse url 2x", { group: "url", baseline: true }, () => {
new URL("https://deno.land/std/http/server.ts");
});
-Deno.bench("parse url 6x", { group: "url" }, () => {
- new URL("https://deno.land/std/http/server.ts");
- new URL("https://deno.land/std/http/server.ts");
- new URL("https://deno.land/std/http/server.ts");
- new URL("https://deno.land/std/http/server.ts");
- new URL("https://deno.land/std/http/server.ts");
+Deno.bench("parse url 200x", { group: "url" }, () => {
+ for (let i = 0; i < 200; i++) {
new URL("https://deno.land/std/http/server.ts");
+ }
});
