It is 16% of an enwiki Main Page parser cache hit, under HHVM.
Change-Id: Ifb2ce7592fa5b5cb9c7fb5af5949c43fecf18ca3
global $wgExtraLanguageNames;
static $coreLanguageNames;
+ wfProfileIn( __METHOD__ );
+
if ( $coreLanguageNames === null ) {
global $IP;
include "$IP/languages/Names.php";
}
if ( $include === 'all' ) {
+ wfProfileOut( __METHOD__ );
return $names;
}
}
}
+ wfProfileOut( __METHOD__ );
return $namesMwFile;
}
# 'mw' option; default if it's not one of the other two options (all/mwfile)
+ wfProfileOut( __METHOD__ );
return $returnMw;
}