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

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 10 19:26:35 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        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 This patch uses foreach to reduce the time it takes to execute
 apply_filters (on my box) from an average of 120,694 ticks/standard
 deviation 33,038 ticks, to an average of 99,149 ticks/standard deviation
 20,636 ticks. The sample size was 20 runs each, before and after.

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


More information about the wp-trac mailing list