Add latency/time graph.

Have a look, probably should be optional and behind a flag.