diff options
Diffstat (limited to 'cli/bench/stdio/README.md')
-rw-r--r-- | cli/bench/stdio/README.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/bench/stdio/README.md b/cli/bench/stdio/README.md new file mode 100644 index 000000000..b2d4875ac --- /dev/null +++ b/cli/bench/stdio/README.md @@ -0,0 +1,9 @@ +## `stdio` benchmarks + +Compile the C baseline and run the benchmark: + +```bash +cc stdio.c -o stdio -O3 +time dd if=/dev/zero bs=65536 count=500000 | ./stdio +time dd if=/dev/zero bs=65536 count=500000 | deno run stdio.js +``` |