[wp-trac] [WordPress Trac] #58560: Performance issues with `wp_common_block_scripts_and_styles`

WordPress Trac noreply at wordpress.org
Mon Jun 26 21:50:21 UTC 2023


#58560: Performance issues with `wp_common_block_scripts_and_styles`
--------------------------------------+---------------------------
 Reporter:  spacedmonkey              |       Owner:  spacedmonkey
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.3
Component:  Script Loader             |     Version:  5.0
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+---------------------------
Changes (by spacedmonkey):

 * version:   => 5.0
 * milestone:  Future Release => 6.3


Comment:

 Benchmarks, 1000 runs on TT2.

 || || Trunk || PR ||
 || Response Time (median)|| 126.62|| 114.16 ||
 || wp-load-alloptions-query (median)|| 1.42|| 1.41 ||
 || wp-before-template (median)|| 47.75|| 48.31 ||
 || wp-before-template-db-queries (median)|| 6.45|| 6.43 ||
 || wp-template (median)|| 73.97|| 61.42 ||
 || wp-total (median)|| 121.88|| 109.85 ||
 || wp-template-db-queries (median)|| 3.95|| 3.91 ||

 The theme has to have `add_theme_support( 'wp-block-styles' );` to see the
 benefit, so using TT2 for the benchmarks is important.

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


More information about the wp-trac mailing list