[wp-trac] Re: [WordPress Trac] #7147: Problems with 700+ categories
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 17 02:19:07 GMT 2008
#7147: Problems with 700+ categories
--------------------------+-------------------------------------------------
Reporter: bi0xid | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone: 2.6
Component: Optimization | Version: 2.5.1
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Comment (by DD32):
I'd say the main reason for the massive ammount of time is the fact your
web server is slower than my local machine.
I noticed sizeof() was being called 200,000 times.. I've made some
modifications which has pulled wp_list_categories() down from 36 seconds
to 18 seconds. modifying _get_term_children() pulled off another
0.5seconds (I suspect that was just the pass-by-reference call)
--
Ticket URL: <http://trac.wordpress.org/ticket/7147#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list