gitlab-org--gitlab-foss/app/controllers/projects
Dmitriy Zaporozhets 29b6d465a7 Merge branch 'rs-dev-issue-2355' into 'master'
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
2015-06-22 09:48:49 +00:00
..
application_controller.rb Add a page title to every page. 2015-04-30 19:12:15 +02:00
avatars_controller.rb Add a page title to every page. 2015-04-30 19:12:15 +02:00
blame_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
blob_controller.rb Refactor web editor 2015-06-05 15:01:38 +02:00
branches_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
commit_controller.rb No longer needed to pass project argument to commit methods. 2015-04-24 12:29:36 +02:00
commits_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
compare_controller.rb Link Commits tab to current branch from Compare page. 2015-05-09 22:25:52 +02:00
deploy_keys_controller.rb Remove show actions from Admin and Project DeployKeys 2015-06-03 18:03:04 -04:00
forks_controller.rb Add a page title to every page. 2015-04-30 19:12:15 +02:00
graphs_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
hooks_controller.rb Add support for Webhook note events 2015-05-21 23:48:16 -04:00
imports_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
issues_controller.rb Add search issues/MR by number 2015-05-18 13:09:13 +06:00
labels_controller.rb Fix 403 Access Denied error messages when accessing Labels section in a project that has MRs disabled but issues enabled 2015-06-18 03:15:05 -07:00
merge_requests_controller.rb Load the Merge Request > Commits tab lazily 2015-06-17 16:59:51 -04:00
milestones_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
network_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
notes_controller.rb Support commenting on a diff in side-by-side view 2015-06-16 06:11:59 -07:00
project_members_controller.rb Move Project Members link from Settings to main menu. 2015-06-09 14:45:38 +02:00
protected_branches_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
raw_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
refs_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
repositories_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
services_controller.rb Add api version property on hipchat service 2015-04-27 21:14:04 +09:00
snippets_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
tags_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
tree_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
uploads_controller.rb Add a page title to every page. 2015-04-30 19:12:15 +02:00
wikis_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00