[wp-trac] [WordPress Trac] #17268: Use native gettext library when available
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 17 14:14:13 UTC 2012
#17268: Use native gettext library when available
-------------------------------+-----------------------------
Reporter: linushoppe | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Performance | Version:
Severity: normal | Resolution:
Keywords: early needs-patch |
-------------------------------+-----------------------------
Changes (by noah.williamsson):
* cc: noah.williamsson (added)
Comment:
I ran into the l10n performance issue initially reported in #17128 on an
Ubuntu 10.04 LTS (PHP 5.3.2, APC 3.1.3) system running Wordpress 3.3.1.
I did some testing and meassured the response time for serving a single
post page.
Here are my numbers for Wordpress 3.3.1.
|| Feature || Response time || Performance hit ||
|| Stock 3.3.1, WPLANG not set || 139ms || 0% ||
|| WPLANG set to 'sv_SE' || 255ms || 45% slower ||
|| WPLANG set + patch from #17268 || 145ms || 4% slower ||
As can be seen, the patch (native_gettext.patch) improved page response
times by 43% compared to a stock Wordpress 3.3.1 installation where WPLANG
is used.
I would like to see this patch merged for 3.4.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17268#comment:35>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list