[wp-trac] [WordPress Trac] #17805: "Child of a child" Theme: Convert include(functions.php) to include_once().

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 15 19:35:40 UTC 2011


#17805: "Child of a child" Theme: Convert include(functions.php) to include_once().
--------------------------+------------------------------
 Reporter:  5ubliminal    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  3.2
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by 5ubliminal):

 * keywords:  has-patch close => has-patch


Comment:

 On my setup (Windows 7 x64, PHP 5.3.6, Apach 2.2+ VC9):

 - include_once = 0.023 - 0.025
 - include = 0.024 - 0.026

 170 get_included_files() before I reach this line.
 Not really the holly grail of performance in my opinion considering it's
 just one lousy call.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17805#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list