Previously, maintenance scripts did not log profiling info.
Change-Id: Ib63dd54b815cca774cd764f28505f9dbdfd02cfc
// Potentially debug globals
$maintenance->globals();
+
+ // log profiling info
+ wfLogProfilingData();
} catch ( MWException $mwe ) {
echo( $mwe->getText() );
exit( 1 );
$profiler = Profiler::instance();
$profiler->setTemplated( true );
- $profiler->logData(); // prints
+
+ //NOTE: as of MW1.21, $profiler->logData() is called implicitly by doMaintenance.php.
}
protected function doPerfTest( FileBackend $backend ) {