* @ingroup Maintenance
*/
-$initialTime = microtime( true );
$wgProfiler = array( 'class' => 'ProfilerSimpleText' );
error_reporting( E_ALL );
$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 ) {