1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/tests/specs/bench/overloads/overloads.ts

6 lines
263 B
TypeScript

Deno.bench("bench0", () => {});
Deno.bench(function bench1() {});
Deno.bench({ name: "bench2", fn: () => {} });
Deno.bench("bench3", { permissions: "none" }, () => {});
Deno.bench({ name: "bench4" }, () => {});
Deno.bench({ ignore: true }, function bench5() {});