Mattias Andrée <maand...@kth.se> wrote: > On Linux, the performance of cat(1) can be doubled > when cat(1):ing from one pipe to another, by compiling > with -DBUFSIZ=(1<<16) (the default pipe capacity). > This is close to optimial for a read(3)/write(3) > implementation.
I have seen people mentioning how is GNU yes fast: https://www.reddit.com/r/unix/comments/6gxduc/how_is_gnu_yes_so_fast/