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