aboutsummaryrefslogtreecommitdiff
path: root/bench/async/node.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'bench/async/node.mjs')
-rw-r--r--bench/async/node.mjs7
1 files changed, 7 insertions, 0 deletions
diff --git a/bench/async/node.mjs b/bench/async/node.mjs
new file mode 100644
index 000000000..51d0d119b
--- /dev/null
+++ b/bench/async/node.mjs
@@ -0,0 +1,7 @@
+import { run, bench } from "mitata";
+
+bench("sync", () => {});
+bench("async", async () => {});
+bench("await 1", async () => await 1);
+
+await run();