[wp-trac] [WordPress Trac] #13085: Twenty Ten makes too many queries for index pages
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 22 20:17:29 UTC 2010
#13085: Twenty Ten makes too many queries for index pages
--------------------------+-------------------------------------------------
Reporter: demetris | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Performance | Version: 3.0
Severity: major | Keywords:
--------------------------+-------------------------------------------------
The testing environment is nothing fancy or excessive:
* Current trunk (r14186)
* Default widgets (Search, Categories, Meta)
* Four plugins (Markdown Extra, SQL Monitor, WP Console, WP-Syntax)
* Ten (10) posts per index page
In that humble setup, Twenty Ten makes thirty-four (34) queries to put
together the home page, archive pages, etc.
(If I replace {{{wp_nav_menu}}} with {{{wp_page_menu}}}, the number goes
down to 31.)
For reference, the Hybrid theme (with the same widgets) needs 11 queries
for the same job. Kubrick, if I remember correctly, used something in
that area too, 10 or 11 queries.
I only have the vaguest idea of where this might be coming from, so I’ll
leave the diagnosis to the experts, but over 30 queries for index pages in
a default install seems too much to me.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13085>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list