Remove wfDebug() from getInterwikiCacheEntry()
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 10 May 2016 05:40:31 +0000 (22:40 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 10 May 2016 05:40:31 +0000 (22:40 -0700)
This is uses a fair amount of time according to flamegraphs.

Change-Id: I178a590ab5de2f6fb9366ad59434d8b27dad710d

includes/interwiki/Interwiki.php

index f68651b..5a0dd36 100644 (file)
@@ -171,7 +171,6 @@ class Interwiki {
                global $wgInterwikiScopes, $wgInterwikiFallbackSite;
                static $site;
 
-               wfDebug( __METHOD__ . "( $prefix )\n" );
                $value = false;
                try {
                        // Resolve site name