segment parsing benchmark