[wp-trac] [WordPress Trac] #57814: Use `wp_theme_has_theme_json` in `_wp_theme_json_webfonts_handler`

WordPress Trac noreply at wordpress.org
Wed Mar 15 12:52:12 UTC 2023


#57814: Use `wp_theme_has_theme_json` in `_wp_theme_json_webfonts_handler`
---------------------------+------------------------------
 Reporter:  spacedmonkey   |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:  6.0
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  performance
---------------------------+------------------------------

Comment (by spacedmonkey):

 @flixos90 I run the profiles again for [https://github.com/WordPress
 /wordpress-develop/pull/4185 #4185]

 Trunk
 Response Time (median),89.84
 wp-load-alloptions-query (median),0.65
 wp-before-template (median),32.92
 wp-template (median),47.91


 PR
 Response Time (median),87.94
 wp-load-alloptions-query (median),0.66
 wp-before-template (median),29.56
 wp-template (median),49.64

 REST API request.

 Trunk
 Response Time (median),58.5

 PR
 Response Time (median),57.8

 This is on 2021, 500 runs, I am seeing a positive impact on response time
 , what am I missing here.

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


More information about the wp-trac mailing list