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 |
---|---|---|
.. | ||
behaviors | Loading commit data... | |
blob | Loading commit data... | |
commit | Loading commit data... | |
extensions | Loading commit data... | |
lib | Loading commit data... | |
activities.js.coffee | Loading commit data... | |
admin.js.coffee | Loading commit data... | |
api.js.coffee | Loading commit data... | |
application.js.coffee | Loading commit data... | |
aside.js.coffee | Loading commit data... | |
autosave.js.coffee | Loading commit data... | |
branch-graph.js.coffee | Loading commit data... | |
calendar.js.coffee | Loading commit data... | |
commit.js.coffee | Loading commit data... | |
commits.js.coffee | Loading commit data... | |
confirm_danger_modal.js.coffee | Loading commit data... | |
dashboard.js.coffee | Loading commit data... | |
diff.js.coffee | Loading commit data... | |
dispatcher.js.coffee | Loading commit data... | |
dropzone_input.js.coffee | Loading commit data... | |
flash.js.coffee | Loading commit data... | |
gfm_auto_complete.js.coffee | Loading commit data... | |
group_avatar.js.coffee | Loading commit data... | |
groups.js.coffee | Loading commit data... | |
groups_select.js.coffee | Loading commit data... | |
importer_status.js.coffee | Loading commit data... | |
issuable_form.js.coffee | Loading commit data... | |
issue.js.coffee | Loading commit data... | |
issues.js.coffee | Loading commit data... | |
labels.js.coffee | Loading commit data... | |
line_highlighter.js.coffee | Loading commit data... | |
merge_request.js.coffee | Loading commit data... | |
merge_request_tabs.js.coffee | Loading commit data... | |
merge_request_widget.js.coffee | Loading commit data... | |
merge_requests.js.coffee | Loading commit data... | |
milestone.js.coffee | Loading commit data... | |
namespace_select.js.coffee | Loading commit data... | |
network.js.coffee | Loading commit data... | |
notes.js.coffee | Loading commit data... | |
pager.js.coffee | Loading commit data... | |
profile.js.coffee | Loading commit data... | |
project.js.coffee | Loading commit data... | |
project_avatar.js.coffee | Loading commit data... | |
project_fork.js.coffee | Loading commit data... | |
project_import.js.coffee | Loading commit data... | |
project_members.js.coffee | Loading commit data... | |
project_new.js.coffee | Loading commit data... | |
project_show.js.coffee | Loading commit data... | |
projects_list.js.coffee | Loading commit data... | |
protected_branches.js.coffee | Loading commit data... | |
search_autocomplete.js.coffee | Loading commit data... | |
shortcuts.js.coffee | Loading commit data... | |
shortcuts_dashboard_navigation.js.coffee | Loading commit data... | |
shortcuts_issuable.coffee | Loading commit data... | |
shortcuts_navigation.coffee | Loading commit data... | |
shortcuts_network.js.coffee | Loading commit data... | |
sidebar.js.coffee | Loading commit data... | |
stat_graph.js.coffee | Loading commit data... | |
stat_graph_contributors.js.coffee | Loading commit data... | |
stat_graph_contributors_graph.js.coffee | Loading commit data... | |
stat_graph_contributors_util.js.coffee | Loading commit data... | |
subscription.js.coffee | Loading commit data... | |
tree.js.coffee | Loading commit data... | |
user.js.coffee | Loading commit data... | |
users_select.js.coffee | Loading commit data... | |
wikis.js.coffee | Loading commit data... | |
zen_mode.js.coffee | Loading commit data... |