MediaWiki
REL1_24
|
The least sophisticated profiler output class possible, view your source! :) More...
Public Member Functions | |
__construct ($profileConfig) | |
logData () | |
Log the data to some store or even the page output. | |
Static Public Member Functions | |
static | format ($item, $key, $totalReal) |
static | sort ($a, $b) |
Public Attributes | |
$visible = false | |
Protected Member Functions | |
collateOnly () | |
Whether to internally just track aggregates and ignore the full stack trace. | |
Static Private Attributes | |
static | $out |
The least sophisticated profiler output class possible, view your source! :)
Put the following 2 lines in StartProfiler.php:
$wgProfiler['class'] = 'ProfilerSimpleText'; $wgProfiler['visible'] = true;
Definition at line 34 of file ProfilerSimpleText.php.
ProfilerSimpleText::__construct | ( | $ | profileConfig | ) |
Definition at line 38 of file ProfilerSimpleText.php.
ProfilerSimpleText::collateOnly | ( | ) | [protected] |
Whether to internally just track aggregates and ignore the full stack trace.
Only doing collation saves memory overhead but limits the use of certain features like that of graph generation for the debug toolbar.
Reimplemented from ProfilerStandard.
Definition at line 45 of file ProfilerSimpleText.php.
static ProfilerSimpleText::format | ( | $ | item, |
$ | key, | ||
$ | totalReal | ||
) | [static] |
Definition at line 77 of file ProfilerSimpleText.php.
Log the data to some store or even the page output.
Reimplemented from ProfilerStandard.
Definition at line 49 of file ProfilerSimpleText.php.
References $out, array(), ProfilerStandard\close(), ProfilerStandard\getContentType(), and print.
static ProfilerSimpleText::sort | ( | $ | a, |
$ | b | ||
) | [static] |
Definition at line 73 of file ProfilerSimpleText.php.
ProfilerSimpleText::$out [static, private] |
Definition at line 36 of file ProfilerSimpleText.php.
ProfilerSimpleText::$visible = false |
Definition at line 35 of file ProfilerSimpleText.php.