MediaWiki provides at least a dozen distinct ways that debug logs
can be generated, augmented and displayed, and even more ways
for profiling information can be collected. This makes it difficult
to reason about overall and isn't helping with on-boarding.
Reduce investments to only a few methods and make them great,
starting by removing possibly the least useful profiler we have
today (relative to the others we've developed since then),
which is the "relative timestamps and memory use" prepended
to wfDebug messages, which would presumably be used in conjuction
with $wgDebugComments, $wgDebugToolbar or $wgDebugLogFile of
which the latter two already includes timestamps and/or offsets.
If this is truly useful, I suggest we (unconditionally) make use
of offsets in (one of) those instead.
Originally introduced in r61582 (
|
||
|---|---|---|
| .. | ||
| GlobalTest.php | ||
| GlobalWithDBTest.php | ||
| README | ||
| WfExpandUrlTest.php | ||
| wfParseUrlTest.php | ||
| wfShellExecTest.php | ||
| wfThumbIsStandardTest.php | ||
This directory hold tests for includes/GlobalFunctions.php file which is a pile of functions.