1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-04 08:54:20 -05:00
denoland-deno/cli/bench/stdio
David Sherret 10e4b2e140
chore: update copyright year to 2023 (#17247)
Yearly tradition of creating extra noise in git.
2023-01-02 21:00:42 +00:00
..
README.md perf: use fast api for io read/write sync (#15863) 2022-12-02 11:35:18 +05:30
stdio.c chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
stdio.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00

stdio benchmarks

Compile the C baseline and run the benchmark:

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