NewPP parser report
NewPP is an abbreviation for "New PreProcessor" (new at the time of Tim Starling's 2008 parser rewrite for MediaWiki 1.12, that is). One is most likely to find it at the bottom of the HTML source of wiki pages, referring to the preprocessor report that contains statistics on what resources were used to render the page, and usage of various parsing-related quotas (such as number of expensive calls, or number of preprocessor tree nodes).
On a Wikimedia site it will look something like this:
<!--
NewPP limit report
Parsed by mw1415
Cached time: 20211017101805
Cache expiry: 1814400
Reduced expiry: false
Complications: []
CPU time usage: 0.258 seconds
Real time usage: 0.323 seconds
Preprocessor visited node count: 1071/1000000
Postâexpand include size: 7262/2097152 bytes
Template argument size: 3243/2097152 bytes
Highest expansion depth: 13/40
Expensive parser function count: 21/500
Unstrip recursion depth: 0/20
Unstrip postâexpand size: 1524/5000000 bytes
Lua time usage: 0.039/10.000 seconds
Lua memory usage: 1448042/52428800 bytes
Number of Wikibase entities loaded: 0/400
-->
followed by a per-template Transclusion expansion time report and a debug message with the parser cache key.
It will also be available as the JavaScript configuration variable wgPageParseReport
, and displayed in edit preview mode under the edit window (as a dropdown under the name "Parser profiling data") when using the wikitext editor.
See w:Wikipedia:Template limits for details on what the lines mean.
See also
- Manual:Template limits
- Manual:$wgEnableParserLimitReporting
- ParserLimitReportPrepare and ParserLimitReportFormat hooks
- limit configuration variables:
- Manual:$wgMaxPPNodeCount
- Manual:$wgMaxPPExpandDepth
- Manual:$wgMaxArticleSize - used as the post-expand include size limit and template argument size limit
- Manual:$wgMaxTemplateDepth
- Manual:$wgExpensiveParserFunctionLimit
$wgScribuntoEngineConf[...]['cpuLimit']
and$wgScribuntoEngineConf[...]['memoryLimit']
in Extension:Scribunto
Parser
methodslimitationWarn
andincrementExpensiveFunctionCount
- Gadget and snippet for making the limit report visible
- Strip marker