Page MenuHomePhabricator

Include profiling information if a page cannot be rendered in the allotted time
Open, Needs TriagePublic

Description

Currently, if wikitext can not be rendered within the time limit of 60 seconds, an error message is displayed (WMFTimeoutException). Unfortunately there is no profiling information included in the return HTML in contrast to pages where the rendering completes.

It would be great if information similar to the one included in the HTML of pages that complete rendering could be added:

<!-- 
NewPP limit report
Parsed by mw1314
Cached time: 20191123104847
Cache expiry: 3600
Dynamic content: true
Complications: []
CPU time usage: 0.240 seconds
Real time usage: 0.335 seconds
Preprocessor visited node count: 1344/1000000
Preprocessor generated node count: 0/1500000
Post‐expand include size: 25316/2097152 bytes
Template argument size: 3647/2097152 bytes
Highest expansion depth: 11/40
Expensive parser function count: 3/500
Unstrip recursion depth: 0/20
Unstrip post‐expand size: 560/5000000 bytes
Number of Wikibase entities loaded: 0/400
Lua time usage: 0.016/10.000 seconds
Lua memory usage: 1.12 MB/50 MB
-->
<!--
Transclusion expansion time report (%,ms,calls,template)
100.00%  174.257      1 -total
 33.18%   57.824      1 Vorlage:Shortcut
 28.36%   49.426      1 Wikipedia:Löschprüfung/Intro
 12.16%   21.185      1 Vorlage:Autoarchiv
  7.38%   12.861      1 Vorlage:Unsigniert
  6.88%   11.987      8 Vorlage:Wiederherstellen
  5.99%   10.442      1 Vorlage:Wikipedia-Qualitätssteigerung
  5.80%   10.100      2 Vorlage:Neuer_Abschnitt
  5.50%    9.593      1 Vorlage:Vorlage
  5.36%    9.334     11 Vorlage:„
-->

Even some limited information would be helpful.