Log execution time.