[wp-trac] [WordPress Trac] #59279: Unnecessarily check to see site is using a child theme in the theme functions.

WordPress Trac noreply at wordpress.org
Tue Sep 5 10:01:49 UTC 2023


#59279: Unnecessarily check to see site is using a child theme in the theme
functions.
--------------------------+--------------------------
 Reporter:  spacedmonkey  |       Owner:  (none)
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  6.4
Component:  Themes        |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+--------------------------

Comment (by spacedmonkey):

 Brenchmark data.

 PHP 7.4.33, WordPress develop docker env. Trunk - [56512].

 Theme - 2021

 || || Trunk || PR ||
 || Response Time (median)|| 54.37|| 54.08||
 || wp-load-alloptions-query (median)|| 0.56|| 0.55||
 || wp-before-template (median)|| 20.24|| 20.1||
 || wp-template (median)|| 29.57|| 29.29||
 || wp-total (median)|| 49.86|| 49.56||

 Theme 2022

 || || Trunk || PR ||
 || Response Time (median)|| 131.74|| 128.89||
 || wp-load-alloptions-query (median)|| 0.59|| 0.58||
 || wp-before-template (median)|| 82.09|| 79.87||
 || wp-template (median)|| 44.99|| 44.79||
 || wp-total (median)|| 127.35|| 124.57||

 Blackfire see a 6% improvement ( on 2022 theme )
 https://blackfire.io/profiles/compare/3caa6f25-0dea-
 4cd7-a545-4fef945deb0f/graph

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


More information about the wp-trac mailing list