On Tue, Jun 24, 2008 at 8:57 PM, Travis (wikiHow) travis@wikihow.com wrote:
Removing the kaltura extension though doesn't make any significant improvements, pages still take on average 0.5 seconds to generate. I'm still seeing a lot of time being spent in those other areas like Parser::parse, outputWikiText, etc.
If anyone has any suggestions, it'd be appreciated!
Tim Starling would be the most knowledgeable, I guess. The major change in the 1.12 parser is the addition of the new preprocessor, and that specifically revamps replaceVariables() et al. However, on Wikimedia it showed a considerable *decrease* in the time taken to render pages. Perhaps there's a configuration difference, or it might be something else entirely that's causing it. You could try switching to Parser_OldPP, which should work correctly in 1.12, to see if that makes a difference. However, Parser_OldPP appears to no longer be maintained to any significant extent, so it probably isn't advisable to use it indefinitely, at least not in 1.13. The ParserDiffTest extension can be used to systematically compare the performance (and output) of the old and new parsers.