title: Optimized/faster wikitext parsing in Mediawiki extension?
body: <p>I'm currently working on a Mediawiki extension that needs to parse the wikitext on a page. Currently I use Parser::preprocess. This adds a few seconds to page load time.</p>
  
  <p>Is there any faster way to do this? In particular, it has to parse wikitext, expand all templates and parser functions, and check for specific strings in the result.</p>