jenkins-bot has submitted this change and it was merged.

Change subject: Remove profiling code
......................................................................


Remove profiling code

* Do not use log->warn for profiling

Change-Id: I439a3759df438a50700fa3c61c2ffcc088128803
---
M MathObject.php
1 file changed, 0 insertions(+), 3 deletions(-)

Approvals:
  Physikerwelt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/MathObject.php b/MathObject.php
index fd8d5cd..7813115 100644
--- a/MathObject.php
+++ b/MathObject.php
@@ -77,10 +77,7 @@
                $res = $dbr->selectRow(
                        array( 'mathindex' ), self::dbIndexFieldsArray(), 
'mathindex_revision_id = ' . $pid
                        . ' AND mathindex_anchor= "' . $eid . '"' );
-               $start = microtime( true );
                $o = self::constructformpagerow( $res );
-               LoggerFactory::getInstance( 'MathSearch' )->warning( 'Fetched 
in ' . microtime( true ) -
-                       $start );
                return $o;
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/261628
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I439a3759df438a50700fa3c61c2ffcc088128803
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MathSearch
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>
Gerrit-Reviewer: Dyiop <[email protected]>
Gerrit-Reviewer: Hcohl <[email protected]>
Gerrit-Reviewer: Physikerwelt <[email protected]>
Gerrit-Reviewer: Whyameri <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to