Index: branches/wmf/1.17wmf1/extensions/Gadgets/Gadgets_body.php |
— | — | @@ -363,6 +363,7 @@ |
364 | 364 | $struct = self::loadStructuredList(); |
365 | 365 | if ( !$struct ) { |
366 | 366 | $gadgets = $struct; |
| 367 | + wfProfileOut( __METHOD__ ); |
367 | 368 | return $gadgets; |
368 | 369 | } |
369 | 370 | |
— | — | @@ -494,4 +495,4 @@ |
495 | 496 | public function getDependencies() { |
496 | 497 | return $this->dependencies; |
497 | 498 | } |
498 | | -} |
\ No newline at end of file |
| 499 | +} |
Index: branches/wmf/1.17wmf1/includes/resourceloader/ResourceLoaderFileModule.php |
— | — | @@ -353,6 +353,7 @@ |
354 | 354 | // If a module is nothing but a list of dependencies, we need to avoid |
355 | 355 | // giving max() an empty array |
356 | 356 | if ( count( $files ) === 0 ) { |
| 357 | + wfProfileOut( __METHOD__ ); |
357 | 358 | return $this->modifiedTime[$context->getHash()] = 1; |
358 | 359 | } |
359 | 360 | |