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 |
---|---|---|
.. | ||
groups | Loading commit data... | |
import | Loading commit data... | |
profiles | Loading commit data... | |
projects | Loading commit data... | |
application_controller_spec.rb | Loading commit data... | |
autocomplete_controller_spec.rb | Loading commit data... | |
blob_controller_spec.rb | Loading commit data... | |
branches_controller_spec.rb | Loading commit data... | |
commit_controller_spec.rb | Loading commit data... | |
commits_controller_spec.rb | Loading commit data... | |
help_controller_spec.rb | Loading commit data... | |
namespaces_controller_spec.rb | Loading commit data... | |
profile_keys_controller_spec.rb | Loading commit data... | |
projects_controller_spec.rb | Loading commit data... | |
root_controller_spec.rb | Loading commit data... | |
tree_controller_spec.rb | Loading commit data... | |
uploads_controller_spec.rb | Loading commit data... | |
users_controller_spec.rb | Loading commit data... |