Content deleted Content added
Dinoguy1000 (talk | contribs) →Special:Expandtemplates: update safesubst code to avoid "|=foo" bug |
Dinoguy1000 (talk | contribs) →How can you find out?: update sample comment and explanatory text |
||
Line 21:
===How can you find out?===
Once the page body is processed, an HTML comment is added towards the end of the HTML code of the page with the final values of the various counters. For example, the page [[HIV/AIDS]] (on
<syntaxhighlight lang="html">
<!--
NewPP limit report
Parsed by mw1416
Preprocessor node count: 173488/1000000▼
Cached time: 20231227101515
Post-expand include size: 1557895/2048000 bytes▼
Cache expiry: 2592000
Template argument size: 561438/2048000 bytes▼
Reduced expiry: false
Highest expansion depth: 29/40▼
Complications: [vary‐revision‐sha1, show‐toc]
Expensive parser function count: 7/500▼
Real time usage: 3.151 seconds
Unstrip recursion depth: 1/20
Unstrip post‐expand size: 1121339/5000000 bytes
Lua time usage: 1.705/10.000 seconds
Lua Profile:
MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::preprocess 180 ms 10.6%
? 160 ms 9.4%
MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::callParserFunction 140 ms 8.2%
MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::plain 140 ms 8.2%
MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::gsub 80 ms 4.7%
MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::find 80 ms 4.7%
dataWrapper <mw.lua:672> 80 ms 4.7%
select_one <Module:Citation/CS1/Utilities:426> 80 ms 4.7%
recursiveClone <mwInit.lua:41> 80 ms 4.7%
<mwInit.lua:41> 60 ms 3.5%
[others] 620 ms 36.5%
Number of Wikibase entities loaded: 0/400
-->
</syntaxhighlight>
(Some items may not be present on other wikis, depending on which extensions they have installed; for example, the "Lua" items are added by [[mw:Extension:Scribunto|Extension:Scribunto]].)
Because of the way the counters are increased, the
▲Lua time usage: 0.331s
▲Lua memory usage: 1.25 MB
Click "Parser profiling data" at the bottom of a preview to see similar data for the preview without saving it.
|