[wp-trac] [WordPress Trac] #10852: improve get_page_children

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 24 12:19:06 UTC 2009

#10852: improve get_page_children
 Reporter:  hailin        |       Owner:  westi    
     Type:  enhancement   |      Status:  reviewing
 Priority:  normal        |   Milestone:  2.9      
Component:  Optimization  |     Version:  2.9      
 Severity:  normal        |    Keywords:  has-patch

Comment(by mihai):

 Replying to [comment:11 hailin]:
 > So my patch improves the load time from 3 min to 1 min. That is the
 purpose of my patch - to speed things up algorithmically.
 Actually my patch did that, I didn't try yours yet, but it seems somehow
 similar so yeah I guess it could do that too.

 > update_page_cache is indeed another bigger issue, which I will leave it
 to lead core WP devs.
 > The tests I did was with 5000 pages, about a year ago, on a live blog.
 > removing update_post_caches($this->posts) saves about 17 sec out of 33
 sec total time.
 On my 7000 pages test it saved more then 40 seconds. it may not seem like
 a lot but it's not the same to wait 20 seconds or one minute to load the
 page list.

Ticket URL: <http://core.trac.wordpress.org/ticket/10852#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list