[wp-trac] [WordPress Trac] #17128: POMO library performance considerations
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 13 20:21:19 UTC 2011
#17128: POMO library performance considerations
-------------------------+-----------------------------
Reporter: wet | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
Profiling a localized WordPress instance with WPLANG defined as 'de_DE' on
my testbed shows that loading the .PO files for WP core and TwentyTen
increases the frontend runtime by about 45 percent and the backend runtime
by about 30 percent.
This is the profiling environment:
* WordPress 3.2-bleeding r17633
* TwentyTen 1.1
* No active Plugins
* Idling webserver on localhost
* Apache 2.2.9
* PHP 5.2.6
* MySQL 5.0.67
* Xdebug 2.1.1
* webgrind 1.1
* Windows 7 SP1
Without WPLANG defined, runtimes for various code paths are as follows:
* Front page with 10 simple posts: 2300 ms
* Admin Dashboard: 3000 ms
* RSS XML feed output: 1130 ms
With the de_DE l10n in effect, runtimes increase as such:
* Front page with 10 simple posts: 4300 ms
* Admin Dashboard: 4280 ms
* RSS XML feed output: 2950 ms
I wonder whether anyone is able to reproduce this grave performance
degradation. A sample output from webgrind showing various POMO functions
as the top offenders is attached.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17128>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list