[wp-trac] [WordPress Trac] #41305: Add lazily evaluated translations

WordPress Trac noreply at wordpress.org
Mon Apr 30 08:34:05 UTC 2018


#41305: Add lazily evaluated translations
------------------------------------------+--------------------------------
 Reporter:  schlessera                    |       Owner:  jnylen0
     Type:  enhancement                   |      Status:  assigned
 Priority:  normal                        |   Milestone:  5.0
Component:  I18N                          |     Version:  4.8
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch early dev-feedback  |     Focuses:  rest-api,
                                          |  performance
------------------------------------------+--------------------------------

Comment (by schlessera):

 I think the way I profiled the command above does mess somewhat with the
 processing.

 The following screenshots show another way of timing the changes, using
 `curl` to retrieve the same REST API request.

 **Wall time without this patch: ~0.49s**

 **Wall time with this patch: ~0.35s**

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/41305#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list