diff options
author | 2022-04-06 01:52:15 -0700 | |
---|---|---|
committer | 2022-04-06 01:53:05 -0700 | |
commit | 81eb47de0eb08081ed0677b71aa47e9a2b473cab (patch) | |
tree | 051df34c66832ab2f0986370d5c8fbb3e12058fc /bench/snippets/cat.mjs | |
parent | 57cf035a73187439fbcd8703d7f4358463ee8314 (diff) | |
download | bun-81eb47de0eb08081ed0677b71aa47e9a2b473cab.tar.gz bun-81eb47de0eb08081ed0677b71aa47e9a2b473cab.tar.zst bun-81eb47de0eb08081ed0677b71aa47e9a2b473cab.zip |
[bun.js] Add stdout, stderr, stdin to Bun and support sendfile() + splice()
Diffstat (limited to 'bench/snippets/cat.mjs')
-rw-r--r-- | bench/snippets/cat.mjs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bench/snippets/cat.mjs b/bench/snippets/cat.mjs index 7e4f3da54..ca6dfe838 100644 --- a/bench/snippets/cat.mjs +++ b/bench/snippets/cat.mjs @@ -1,3 +1,4 @@ +// 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); |