[wp-trac] [WordPress Trac] #18536: Improve performance of WP_Query core

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 29 19:20:51 UTC 2012


#18536: Improve performance of WP_Query core
--------------------------------------------------+------------------
 Reporter:  cheald                                |       Owner:
     Type:  task (blessed)                        |      Status:  new
 Priority:  normal                                |   Milestone:  3.4
Component:  Performance                           |     Version:
 Severity:  normal                                |  Resolution:
 Keywords:  early has-patch commit needs-testing  |
--------------------------------------------------+------------------

Comment (by darioj):

 I think you really should! Forgive me if this might look inappropriate,
 but the improvements I'm seeing are so drastic that I just can't resist.

 The following table shows the difference of two xhprof runs, one with the
 original wp-3.2.1 code and the other with 18536.4.diff applied.
 ||      ||Run #wp-3.2.1.search.orig||Run
 #wp-3.2.1.search.18536.4||Diff||Diff%||
 ||Number of Function Calls||218,806||235,948||17,142||7.8%||
 ||'''Incl. Wall Time
 (microsec)'''||'''2,461,044'''||'''895,115'''||'''-1,565,929'''||'''-63.6%'''||
 ||Incl. CPU (microsecs)||840,872||886,865||45,993||5.5%||
 ||Incl. MemUse (bytes)||29,871,440||30,596,296||724,856||2.4%||
 ||Incl. PeakMemUse (bytes)||30,065,568||30,727,160||661,592||2.2%||

 This is really faster, my plugins all work :))

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


More information about the wp-trac mailing list