Merge "Revert "Measure commitMasterChanges() run time""
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 12 Apr 2016 21:18:56 +0000 (21:18 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 12 Apr 2016 21:18:56 +0000 (21:18 +0000)
includes/db/loadbalancer/LBFactory.php

index a484bb4..f39596b 100644 (file)
@@ -247,11 +247,7 @@ abstract class LBFactory {
                        } );
                } );
 
-               $start = microtime( true );
                $this->forEachLBCallMethod( 'commitMasterChanges', [ $fname ] );
-               $timeMs = 1000 * ( microtime( true ) - $start );
-
-               RequestContext::getMain()->getStats()->timing( "db.commit-masters", $timeMs );
        }
 
        /**