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

Change-Id: I598f98dd0e2232ac9741585c14096e763dcab91e

includes/Revision.php

index 40daf3d..0e45b25 100644 (file)
@@ -1553,7 +1553,6 @@ class Revision implements IDBAccessObject {
                        }
                        $text = $cache->get( $key );
                        if ( is_string( $text ) ) {
-                               wfDebug( __METHOD__ . ": got id $textId from cache\n" );
                                $processCache->set( $key, $text );
                                return $text;
                        }