Index: trunk/extensions/FeaturedFeeds/ApiFeaturedFeeds.php |
— | — | @@ -15,6 +15,8 @@ |
16 | 16 | } |
17 | 17 | |
18 | 18 | public function execute() { |
| 19 | + wfProfileIn( __METHOD__ ); |
| 20 | + |
19 | 21 | $params = $this->extractRequestParams(); |
20 | 22 | |
21 | 23 | global $wgFeedClasses; |
— | — | @@ -37,6 +39,8 @@ |
38 | 40 | ); |
39 | 41 | |
40 | 42 | ApiFormatFeedWrapper::setResult( $this->getResult(), $feedClass, $ourFeed['entries'] ); |
| 43 | + |
| 44 | + wfProfileOut( __METHOD__ ); |
41 | 45 | } |
42 | 46 | |
43 | 47 | |
Index: trunk/extensions/FeaturedFeeds/FeaturedFeeds.body.php |
— | — | @@ -58,6 +58,7 @@ |
59 | 59 | private static function getFeedsInternal( $langCode ) { |
60 | 60 | global $wgFeaturedFeeds, $wgFeaturedFeedsDefaults, $wgContLang; |
61 | 61 | |
| 62 | + wfProfileIn( __METHOD__ ); |
62 | 63 | $feedDefs = $wgFeaturedFeeds; |
63 | 64 | wfRunHooks( 'FeaturedFeeds::getFeeds', array( &$feedDefs ) ); |
64 | 65 | |
— | — | @@ -121,6 +122,7 @@ |
122 | 123 | |
123 | 124 | $feeds[$name] = $feed; |
124 | 125 | } |
| 126 | + wfProfileOut( __METHOD__ ); |
125 | 127 | |
126 | 128 | return $feeds; |
127 | 129 | } |