Profiling bits from live site
[lhc/web/wiklou.git] / includes / SpecialRecentchanges.php
index 543422c..ac4a8c5 100644 (file)
@@ -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 );
 }
 
 /**