How fast are Linux pipes anyway?

We will begin with a simple program with a throughput of around 3.5GiB/and improve its performance twentyfold. The improvements will be informed by profiling the program using Linux’s perf tooling. The code is available on GitHub. The post was inspired by reading a highly optimized FizzBuzz program, which pushes output to a pipe at a rate of ~35GiB/s on my laptop.

Link: How fast are Linux pipes anyway?
via mazzo.li

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: