Adding ping-pong benchmark to compute the latency.