Closed
Bug 847982
Opened 13 years ago
Closed 12 years ago
Reports with lots of comments are painfully slow
Categories
(Socorro :: Webapp, task)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
FIXED
78
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
Comment 1•12 years ago
|
||
<10 seconds for me just now. However, the comments tab has nothing. xref bug 892572
Has anything changed?
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → peterbe
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•12 years ago
|
||
I see 0 comments too
https://crash-stats.mozilla.com/report/list/partials/comments/?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
It has lots of reports but they're already paginated.
| Assignee | ||
Comment 3•12 years ago
|
||
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.
| Assignee | ||
Comment 4•12 years ago
|
||
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`.
Comment 5•12 years ago
|
||
Thanks for waiting for me on this Peter! :)
| Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
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
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•12 years ago
|
Target Milestone: --- → 78
You need to log in
before you can comment on or make changes to this bug.
Description
•