Profiling bits from live site
authorDomas Mituzas <midom@users.mediawiki.org>
Mon, 26 Dec 2005 13:03:10 +0000 (13:03 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Mon, 26 Dec 2005 13:03:10 +0000 (13:03 +0000)
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 );
 }
 
 /**