1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/tests/specs/bench/exit_sanitizer/exit_sanitizer.ts

11 lines
170 B
TypeScript

Deno.bench("exit(0)", function () {
Deno.exit(0);
});
Deno.bench("exit(1)", function () {
Deno.exit(1);
});
Deno.bench("exit(2)", function () {
Deno.exit(2);
});