[wp-trac] Re: [WordPress Trac] #5335: Performance tweak for apply_filters loop

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 10 21:54:26 GMT 2007


#5335: Performance tweak for apply_filters loop
--------------------------+-------------------------------------------------
 Reporter:  Quandary      |        Owner:  anonymous
     Type:  defect        |       Status:  new      
 Priority:  normal        |    Milestone:  2.2.3    
Component:  Optimization  |      Version:  2.3      
 Severity:  normal        |   Resolution:           
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Comment (by Quandary):

 Stats on the second patch:

 ||||original||patched||
 ||total runtime (mean)||1,972,854||1,943,093||
 ||total runtime (std dev)||116,697||110,741||
 ||add_filter (mean)||14,424||14,592||
 ||add_filter (std dev)||5,458||3,224||
 ||apply_filters (mean)||120,694||103,971||
 ||apply_filters (std dev)||33,038||25,880||

 Sample size is still 20.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5335#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list