-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Travis (wikiHow) wrote:
I updated all of our extensions, and redesigned our custom extensions so that they lazy load messages and classes, it seemed to help, but didn't address Setup.php, and is still fairly slow:
152.432 WebStart.php-conf 0.011 WebStart.php-ob_start 236.918 Setup.php 53.863 Setup.php-includes 9.218 Setup.php-misc1 6.839 __autoload 9.986 Setup.php-memcached 0.713 __autoload 0.608 Setup.php-SetupSession 0.212 Setup.php-globals 0.053 Setup.php-User 0.029 Setup.php-misc2 153.725 Setup.php-extensions
Is there any reason why the Cite extension takes 60ms to load every time?
61.447 Setup.php-extensions-wfCite
Cite is triggering an unstub of the parser for its initialization (and thus a bunch of other code gets loaded, making the profiling lopsided).
I've just broken out the setHook() calls to ParserFirstCallInit hooks for Cite and several other extensions we use (in r35980). This has already been done in a number of other extensions.
- -- brion vibber (brion @ wikimedia.org)