diff options
Diffstat (limited to 'bench/cat.node.js')
-rw-r--r-- | bench/cat.node.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bench/cat.node.js b/bench/cat.node.js new file mode 100644 index 000000000..d38d7c537 --- /dev/null +++ b/bench/cat.node.js @@ -0,0 +1,4 @@ +const path = require("path"); +const fs = require("fs"); +const input = path.resolve(process.argv[process.argv.length - 1]); +fs.createReadStream(input).pipe(process.stdout); |