aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bench/log/bun.js4
-rw-r--r--bench/log/deno.mjs4
-rw-r--r--bench/log/node.mjs4
3 files changed, 12 insertions, 0 deletions
diff --git a/bench/log/bun.js b/bench/log/bun.js
new file mode 100644
index 000000000..70ba6ccab
--- /dev/null
+++ b/bench/log/bun.js
@@ -0,0 +1,4 @@
+import { bench, run } from "mitata";
+
+bench("console.log", () => console.log("hello"));
+await run();
diff --git a/bench/log/deno.mjs b/bench/log/deno.mjs
new file mode 100644
index 000000000..e980f07cc
--- /dev/null
+++ b/bench/log/deno.mjs
@@ -0,0 +1,4 @@
+import { bench, run } from "../../node_modules/mitata/src/cli.mjs";
+
+bench("console.log", () => console.log("hello"));
+await run();
diff --git a/bench/log/node.mjs b/bench/log/node.mjs
new file mode 100644
index 000000000..70ba6ccab
--- /dev/null
+++ b/bench/log/node.mjs
@@ -0,0 +1,4 @@
+import { bench, run } from "mitata";
+
+bench("console.log", () => console.log("hello"));
+await run();