[wp-trac] [WordPress Trac] #42513: WP_Theme::get_post_templates() is extremely inefficient for large themes

WordPress Trac noreply at wordpress.org
Sat Nov 11 15:36:24 UTC 2017


#42513: WP_Theme::get_post_templates() is extremely inefficient for large themes
--------------------------+------------------------------------------
 Reporter:  gschoppe      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  4.8.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration, performance
--------------------------+------------------------------------------

Comment (by gschoppe):

 To make it easier to review the issue without having to create a server
 and simulate high load, I've created a pathological theme that, when
 activated, should demonstrate the increased loading time. The file size
 was too large to upload directly to this ticket, so I have hosted it on
 google drive:
 https://drive.google.com/open?id=1t0S_yErQXQJZGlgDBu_Uo9UP3xIJvVJb

 The load time should be significant.

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


More information about the wp-trac mailing list