summaryrefslogtreecommitdiff
path: root/tests/specs/bench/multifile_summary/multiple_group.ts
blob: 165b5e201fdd12616c83dc5442f0a8e0668d5b1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Deno.bench("noop", { group: "noop" }, () => {});
Deno.bench("noop2", { group: "noop", baseline: true }, () => {});

Deno.bench("noop3", { group: "url" }, () => {});

Deno.bench("parse url 2x", { group: "url", baseline: true }, () => {
  new URL("https://jsr.io/@std/http/0.221.0/file_server.ts");
  new URL("https://jsr.io/@std/http/0.221.0/file_server.ts");
});

Deno.bench("parse url 200x", { group: "url" }, () => {
  for (let i = 0; i < 200; i++) {
    new URL("https://jsr.io/@std/http/0.221.0/file_server.ts");
  }
});