BigW Consortium Gitlab
MergeRequest#show performance improvements This is a first pass on improving the performance of the `MergeRequests#show` page. Notable changes: - The "Commits" tab is loaded lazily, so the initial page load should be much faster for MRs with many commits. - Relative timestamps via `timeago` are only initialized once per load instead of `O(n^2)`. This greatly improves frontend rendering times for a large number of commits. - Refactored `User.find_for_commit` to use a single ARel-generated SQL query instead of the old method which resulted in one query, and could result in up to three. See merge request !838
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
extensions | Loading commit data... | |
fixtures | Loading commit data... | |
issue_spec.js.coffee | Loading commit data... | |
line_highlighter_spec.js.coffee | Loading commit data... | |
merge_request_spec.js.coffee | Loading commit data... | |
merge_request_tabs_spec.js.coffee | Loading commit data... | |
notes_spec.js.coffee | Loading commit data... | |
shortcuts_issuable_spec.js.coffee | Loading commit data... | |
spec_helper.coffee | Loading commit data... | |
stat_graph_contributors_graph_spec.js | Loading commit data... | |
stat_graph_contributors_util_spec.js | Loading commit data... | |
stat_graph_spec.js | Loading commit data... | |
zen_mode_spec.js.coffee | Loading commit data... |