Add compilation performance logging.