[wp-trac] [WordPress Trac] #10964: Improving query_posts performance

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 5 01:52:37 UTC 2011


#10964: Improving query_posts performance
-------------------------------------+-----------------------------
 Reporter:  buch0090                 |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Performance              |     Version:  2.8.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------------

Comment (by prettyboymp):

 Replying to [comment:78 scribu]:
 > Please test [attachment:simple.10964.diff]. Posting back specific
 timings along with as many details as possible would be awesome.

 I don't have time to write a patch at the moment, but I would like to
 suggest checking if the found_posts_query was empty before running the
 get_var.  I've been playing around with caching the found posts results
 and have been seeing major performance improvements.

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


More information about the wp-trac mailing list