Add benchmarking with latency support.