[wp-trac] [WordPress Trac] #15459: Need Better Page Hierarchy Display Algo

WordPress Trac noreply at wordpress.org
Mon Feb 24 16:14:52 UTC 2014


#15459: Need Better Page Hierarchy Display Algo
--------------------------------+------------------------------------------
 Reporter:  truthmedia          |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Future Release
Component:  Posts, Post Types   |     Version:  3.0.1
 Severity:  normal              |  Resolution:
 Keywords:  has-patch dev-      |     Focuses:  performance, administration
  feedback                      |
--------------------------------+------------------------------------------
Changes (by rodrigosprimo):

 * keywords:  has-patch => has-patch dev-feedback


Comment:

 Thanks for your comment McBoof but I can't think of an easy way to
 implement your suggestion for pages other than the first. When building
 the second page how could we tell which posts have already been used to
 build the first page? Maybe I'm missing something.

 Anyway, at least in my case, the solution proposed by Nacin and
 implemented in the patch I sent is good enough and is a huge improvement
 compared with the current algorithm.

 Just to give an example, in one of the sites I run with about 4000
 hierarchical posts, without this patch the page takes around 25 seconds to
 load and uses 320MB of memory. After applying the patch the page loads in
 9 seconds and uses 68MB of memory.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/15459#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list