Measure time for game compilation