Actions
Patch #8301
closedqueries/_filters.rhtml inefficient.
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2011-05-05
Due date:
% Done:
0%
Estimated time:
Description
On my system ( fairly complex, ~30 projects, several hundred versions etc.) The issue list page is slow to load. Almost no time is reported in the DB, most of the time is spent in the view, most of which is spent rendering the filters.
This patch reduces some of that load by avoiding ( I think ) an un-neccessary sort of the filter options, I suspect the loop traversal could occur just once instead of twice.
Patch attached. For me this shaves ~33% of the render time off!
Files
Updated by Go MAEDA almost 7 years ago
- Status changed from New to Closed
The successor app/views/queries/_filters.html.erb
uses JavaScript to collect available filters since r10162 and unnecessary query and sort was removed.
Thank you for your contribution.
Actions