Measure time for parsing