[wp-trac] [WordPress Trac] #58321: `_load_textdomain_just_in_time()` firing too often for en_US sites

WordPress Trac noreply at wordpress.org
Tue May 30 15:28:27 UTC 2023


#58321: `_load_textdomain_just_in_time()` firing too often for en_US sites
--------------------------------------+--------------------------
 Reporter:  swissspidy                |       Owner:  swissspidy
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.3
Component:  I18N                      |     Version:  6.2
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by swissspidy):

 Tested this change using `npm run research benchmark-server-timing -- -n
 100 -c 2 -u http://localhost:8889/` using en_US locale.

 Before this change:

 `wp-total` (median): 397.24

 After this change:

 `wp-total` (median): 387.65

 So that's a ~2.5% improvement

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


More information about the wp-trac mailing list