[buddypress-trac] [BuddyPress] #2985: Performance Tune Loops by Removing Functions from Their Declarations

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Feb 18 01:05:54 UTC 2011


#2985: Performance Tune Loops by Removing Functions from Their Declarations
-------------------------+-------------------------------------------------
  Reporter:  jeffsayre   |      Owner:
      Type:              |     Status:  new
  enhancement            |  Milestone:  Awaiting Review
  Priority:  normal      |    Version:  1.3
 Component:  Core        |   Keywords:  has-patch, needs-testing, dev-
Resolution:              |  feedback
-------------------------+-------------------------------------------------

Comment (by jeffsayre):

 Paul,

 See the very end of the page of this resource http://www.phpbench.com/

 It shows comparative results for both the count() and sizeof() functions
 using those functions within loop declarations and performing the
 calculations before the loop starts. The test was run with a loop
 processing only 1000 keys. This is well within range of even a small
 BuddyPress site.

 The results are very clear.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2985#comment:6>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list