[wp-trac] [WordPress Trac] #31188: Very slow query in comments_template -> get_comments -> WP_Comment_Query->query
WordPress Trac
noreply at wordpress.org
Wed Sep 30 00:22:39 UTC 2015
#31188: Very slow query in comments_template -> get_comments ->
WP_Comment_Query->query
--------------------------+---------------------------
Reporter: archon810 | Owner: boonebgorges
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.4
Component: Comments | Version: 4.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance
--------------------------+---------------------------
Comment (by stevenkword):
Replying to [comment:5 archon810]:
> Replying to [comment:4 boonebgorges]:
> > archon810 - Can you tell me where this query is coming from? Is this a
query you see when viewing post 87814 on the frontend?
>
> I can't be 100% sure anymore, but looking at the query, it just looks
like the post page comments.
If memory serves correctly, its worth taking a look at the comments
walker. I did some testing a while back with 100+ nested comments and it
beat up the PHP process pretty badly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31188#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list