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
Any other ideas? Is there any reason why this load time has jumped from 1.9
to 1.12?
Thanks,
Travis
On Tue, May 20, 2008 at 1:50 PM, Roan Kattouw <roan.kattouw(a)home.nl> wrote:
Simetrical schreef:
On Tue, May 20, 2008 at 12:32 PM, Travis
(wikiHow) <travis(a)wikihow.com>
wrote:
Hi,
We're in the process of upgrading from 1.9 to 1.12 (I know I know I
know...), and it seems that the including of extensions is taking a long
time.
You may want to try asking Domas about this. I know there have been
performance problems in loading extensions caused by extremely
thorough localization in recent versions (e.g., Cite's
internationalization file is 117 KB in 64 languages), but I'm pretty
sure those hits have at least been deferred until the messages are
needed.
You might wanna read serialized/README , it can improve performance in
this regard. Also, upgrade your extensions if you haven't done so
already. A few months ago, pretty much all extensions in our SVN
repository were changed to only load their messages when they actually
need them, rather than loading them for every request.
Roan Kattouw (Catrope)
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l