Benchmarks

The benchmarks are done with the echo_* examples servers. The client connects and sends/receives as much data as possible within 10s. The result is the average MiB/s in that time, over all connections.

Single Connection

_images/benchmark-c1-d10.png

Multiple Connections

The client is run with 10 concurrent connections.

_images/benchmark-c10-d10.png

Note

There is no echo_sync here, as it supports only a single connection.

Warning

Don’t interpret too much into these benchmarks: A real server would do much more than just echoing everything back. The low-level I/O work is likely to be dominated by parsing or some computation.

The plots were produced by the repository script echo/benchmark.sh on GitHub: benchmark.sh. Run the script locally to reproduce the PNGs.