mirror of
https://github.com/denoland/deno.git
synced 2025-01-02 04:19:10 -05:00
19 lines
671 B
TypeScript
19 lines
671 B
TypeScript
|
Deno.bench("noop", () => {});
|
||
|
Deno.bench("noop2", { baseline: true }, () => {});
|
||
|
|
||
|
Deno.bench("noop3", { group: "url" }, () => {});
|
||
|
|
||
|
Deno.bench("parse url 2x", { group: "url", baseline: true }, () => {
|
||
|
new URL("https://deno.land/std/http/server.ts");
|
||
|
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");
|
||
|
new URL("https://deno.land/std/http/server.ts");
|
||
|
});
|