add API to Parser to set profiling on or off.
add API to Parser to set profiling on or off. crap; changes from previous commit here. intellij git screwed me again.