From 1dd2e57717ad3450595d79e061de2469e6b92991 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 12 Nov 2006 10:47:10 +0000 Subject: [PATCH] profiling --- includes/Parser.php | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.20.1