[wp-trac] [WordPress Trac] #12009: Add support for HTML 5 "async" and "defer" attributes

WordPress Trac noreply at wordpress.org
Thu Jun 22 16:33:44 UTC 2023


#12009: Add support for HTML 5 "async" and "defer" attributes
-------------------------------------------------+-------------------------
 Reporter:  Otto42                               |       Owner:  10upsimon
     Type:  enhancement                          |      Status:  assigned
 Priority:  high                                 |   Milestone:  6.3
Component:  Script Loader                        |     Version:  4.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  2nd-opinion                                    |  performance
-------------------------------------------------+-------------------------

Comment (by spacedmonkey):

 Benchmarks done - TT theme, theme data, PHP 8.2.4, 1000 runs.

 || || Trunk - 55990|| PR - 365f232 ||
 || Response Time (median)|| 123.1|| 123.21 ||
 || wp-load-alloptions-query (median)|| 0.56|| 1.03 ||
 || wp-before-template (median)|| 20.84 || 21.11 ||
 || wp-before-template-db-queries (median)|| 3.15|| 3.14 ||
 || wp-template (median)|| 92.63|| 92.43 ||
 || wp-total (median)|| 113.56|| 113.71 ||
 || wp-template-db-queries (median)|| 10.14|| 10.05 ||

 Blackfire profiles show around 1.5% decrease in server time performance.
 https://blackfire.io/profiles/compare/f0725970-0a76-432e-802c-
 ba8f14682cf9/graph

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


More information about the wp-trac mailing list