r81897 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81896‎ | r81897 | r81898 >
Date:16:40, 10 February 2011
Author:platonides
Status:ok
Tags:
Comment:
Add profiling to DjVuImage::retrieveMetaData
Modified paths:
  • /trunk/phase3/includes/DjVuImage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DjVuImage.php
@@ -226,6 +226,8 @@
227227 */
228228 function retrieveMetaData() {
229229 global $wgDjvuToXML, $wgDjvuDump, $wgDjvuTxt;
 230+ wfProfileIn( __METHOD__ );
 231+
230232 if ( isset( $wgDjvuDump ) ) {
231233 # djvudump is faster as of version 3.5
232234 # http://sourceforge.net/tracker/index.php?func=detail&aid=1704049&group_id=32953&atid=406583
@@ -272,6 +274,7 @@
273275 $xml = $xml . $txt. '</mw-djvu>' ;
274276 }
275277 }
 278+ wfProfileOut( __METHOD__ );
276279 return $xml;
277280 }
278281

Follow-up revisions

RevisionCommit summaryAuthorDate
r819211.17wmf1: MFT r81729, r81890, r81891, r81892, r81893, r81894, r81896, r81897,...catrope22:42, 10 February 2011
r85148MFT: r80495, r80610, r80765, r81177, r81490, r81692, r81707, r81729, r81765, ...demon20:11, 1 April 2011

Status & tagging log