bugid:98460 - added instrumentation in parser to collect performance stats