X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FfileOpPerfTest.php;h=4b6c619414f11850f1e3e2df3d46da1455d233c0;hb=49a1b9d9f3b2cea66d5babd77a96dcc00469fba7;hp=92547ca7869e45b1bec82b60d0b4fab838040c5f;hpb=58cb1f824ac75c3b58ba19d1e88c1b38f9dc1fab;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/fileOpPerfTest.php b/maintenance/fileOpPerfTest.php index 92547ca786..4b6c619414 100644 --- a/maintenance/fileOpPerfTest.php +++ b/maintenance/fileOpPerfTest.php @@ -42,8 +42,6 @@ class TestFileOpPerformance extends Maintenance { } public function execute() { - Profiler::setInstance( new ProfilerSimpleText( [] ) ); // clear - $backend = FileBackendGroup::singleton()->get( $this->getOption( 'b1' ) ); $this->doPerfTest( $backend ); @@ -51,9 +49,6 @@ class TestFileOpPerformance extends Maintenance { $backend = FileBackendGroup::singleton()->get( $this->getOption( 'b2' ) ); $this->doPerfTest( $backend ); } - - Profiler::instance()->setTemplated( true ); - // NOTE: as of MW1.21, $profiler->logData() is called implicitly by doMaintenance.php. } protected function doPerfTest( FileBackend $backend ) {