[wp-trac] [WordPress Trac] #26638: [Patch] Performance Increase in l10n (9-12%)
WordPress Trac
noreply at wordpress.org
Mon Dec 16 10:00:28 UTC 2013
#26638: [Patch] Performance Increase in l10n (9-12%)
-------------------------+------------------------------
Reporter: dshafik | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: trunk
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by dshafik):
Replying to [comment:1 nacin]:
In this case, when using the domain `default` — which is the only time I
skip it — only the `NOOP_Translations` is used. Note that I'm still
calling the `gettext` filter, just with the same text that would get
returned by `NOOP_Translations`.
These numbers are from xhprof profiling, I've done it on a couple of
machines now, several months apart, we're saving 1500+ function calls on a
standard index.php alone (I'm using a based WP install, just my DB), and
the instantiation of the object too.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26638#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list