From: Tim Starling Date: Sun, 12 Nov 2006 10:47:10 +0000 (+0000) Subject: profiling X-Git-Tag: 1.31.0-rc.0~55213 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=1dd2e57717ad3450595d79e061de2469e6b92991;p=lhc%2Fweb%2Fwiklou.git profiling --- diff --git a/includes/Parser.php b/includes/Parser.php index 36e112a2b1..bf5c73309d 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -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; }