MediaWiki
REL1_24
|
$wgProfiler['class'] = 'ProfilerSimpleDB'; More...
Public Member Functions | |
isPersistent () | |
Return whether this profiler stores data. | |
logData () | |
Log the whole profiling data into the database. | |
Protected Member Functions | |
collateOnly () | |
Whether to internally just track aggregates and ignore the full stack trace. |
$wgProfiler['class'] = 'ProfilerSimpleDB';
Definition at line 29 of file ProfilerSimpleDB.php.
ProfilerSimpleDB::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 30 of file ProfilerSimpleDB.php.
Return whether this profiler stores data.
Reimplemented from ProfilerStandard.
Definition at line 34 of file ProfilerSimpleDB.php.
Log the whole profiling data into the database.
Reimplemented from ProfilerStandard.
Definition at line 41 of file ProfilerSimpleDB.php.
References $e, $name, array(), as, ProfilerStandard\collateData(), global, wfGetDB(), wfHostname(), and wfReadOnly().