Closed Bug 847982 Opened 13 years ago Closed 12 years ago

Reports with lots of comments are painfully slow

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lonnen, Assigned: peterbe)

References

Details

Reports with lots of comments are painfully slow. We should consider pagination but there may be other solutions. By way of an example, this report has nearly 20k comments at the time of filing and takes a little over 20 seconds for the initial GET to load: https://crash-stats.mozilla.com/report/list?product=Firefox&query_search=signature&query_type=contains&reason_type=contains&date=03%2F05%2F2013%2017%3A05%3A27&range_value=4&range_unit=weeks&hang_type=crash&process_type=browser&do_query=1&signature=EMPTY%3A%20no%20crashing%20thread%20identified%3B%20corrupt%20dump filed on behalf of irc user Orphis
<10 seconds for me just now. However, the comments tab has nothing. xref bug 892572 Has anything changed?
Assignee: nobody → peterbe
Status: NEW → ASSIGNED
My bad. It was just an aging link. Going to a fresh Top Crasher and clicking that infamous signature. Now I get 818 comments for the past 7 days.
Depends on: 978098
Main a note-to-self; I've got a patch that works but I can't change the test_views.py because I know that's going to change significantly with https://bugzilla.mozilla.org/show_bug.cgi?id=978098 When that lands, edit test_report_list_partial_comments and make it pass in `page`.
Thanks for waiting for me on this Peter! :)
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/29230d78cadef6ecc76200f6d36a72d08b50a3aa fixes bug 847982 - paginate comments on report list, r=AdrianGaudebert
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 78
You need to log in before you can comment on or make changes to this bug.