benchmark the throughput of a pipe
