From b46ca75fedc355a4e1efed40c3d57d62df202d3e Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Mon, 26 Dec 2005 13:03:10 +0000 Subject: [PATCH] Profiling bits from live site --- includes/SpecialRecentchanges.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index 543422c4fc..ac4a8c5077 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -297,6 +297,8 @@ function rcOutputFeed( $rows, $feedFormat, $limit, $hideminor, $lastmod ) { function rcDoOutputFeed( $rows, &$feed ) { global $wgSitename, $wgFeedClasses, $wgContLanguageCode; + $fname = 'rcDoOutputFeed'; + wfProfileIn( $fname ); $feed->outHeader(); @@ -330,6 +332,7 @@ function rcDoOutputFeed( $rows, &$feed ) { $feed->outItem( $item ); } $feed->outFooter(); + wfProfileOut( $fname ); } /** -- 2.20.1