Add logging of iteration timings