added performance profiling to parsers