aboutsummaryrefslogtreecommitdiff
path: root/bench/snippets/cat.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'bench/snippets/cat.mjs')
-rw-r--r--bench/snippets/cat.mjs6
1 files changed, 0 insertions, 6 deletions
diff --git a/bench/snippets/cat.mjs b/bench/snippets/cat.mjs
deleted file mode 100644
index ca6dfe838..000000000
--- a/bench/snippets/cat.mjs
+++ /dev/null
@@ -1,6 +0,0 @@
-// works in both bun & node
-import { readFileSync } from "node:fs";
-const count = parseInt(process.env.ITERATIONS || "1", 10) || 1;
-const arg = process.argv.slice(1);
-for (let i = 0; i < count; i++)
- console.log(arg.map((file) => readFileSync(file, "utf8")).join(""));