Skip to content

Commit

Permalink
Add a console.log bench
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jul 13, 2022
1 parent 54b03f6 commit 9bba471
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bench/log/bun.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { bench, run } from "mitata";

bench("console.log", () => console.log("hello"));
await run();
4 changes: 4 additions & 0 deletions bench/log/deno.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { bench, run } from "../../node_modules/mitata/src/cli.mjs";

bench("console.log", () => console.log("hello"));
await run();
4 changes: 4 additions & 0 deletions bench/log/node.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { bench, run } from "mitata";

bench("console.log", () => console.log("hello"));
await run();

0 comments on commit 9bba471

Please sign in to comment.