profiling
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 12 Nov 2006 10:47:10 +0000 (10:47 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 12 Nov 2006 10:47:10 +0000 (10:47 +0000)
includes/Parser.php

index 36e112a..bf5c733 100644 (file)
@@ -276,6 +276,7 @@ class Parser
 
                global $wgUseTidy, $wgAlwaysUseTidy, $wgContLang;
                $fname = 'Parser::parse-' . wfGetCaller();
+               wfProfileIn( __METHOD__ );
                wfProfileIn( $fname );
 
                if ( $clearState ) {
@@ -374,6 +375,7 @@ class Parser
                $this->mOutput->setText( $text );
                $this->mRevisionId = $oldRevisionId;
                wfProfileOut( $fname );
+               wfProfileOut( __METHOD__ );
 
                return $this->mOutput;
        }