gitlab-org--gitlab-foss/spec
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
..
controllers Merge branch 'rs-dev-issue-2355' into 'master' 2015-06-22 09:48:49 +00:00
factories Simplify Note model specs 2015-05-11 00:01:16 -04:00
features Add 2FA status to Admin::Users#show 2015-06-19 15:04:47 -04:00
finders Set milestone on new issue when creating issue from index with milestone filter active. 2015-05-27 14:22:11 +02:00
fixtures Add ExternalLinkFilter to Markdown pipeline 2015-05-27 15:39:08 -04:00
helpers Fix timezone-based time_ago_with_tooltip spec failures 2015-06-19 16:49:52 -04:00
javascripts Merge branch 'rs-dev-issue-2355' into 'master' 2015-06-22 09:48:49 +00:00
lib Add init test for ProjectSearchResults 2015-06-18 10:35:48 -07:00
mailers Update ffaker gem 2015-05-20 19:22:00 -04:00
models Merge branch 'rs-dev-issue-2355' into 'master' 2015-06-22 09:48:49 +00:00
requests/api Change `foo.should` syntax to `expect(foo).to` in specs 2015-06-13 18:37:30 -04:00
routing Add RootController 2015-06-13 17:59:11 -04:00
services Merge branch 'fix-ext-issue-webbased-hooks' into 'master' 2015-06-16 11:36:31 +00:00
support Fix Error 500 when one user attempts to access a personal, internal snippet 2015-06-19 21:23:46 -07:00
tasks/gitlab Merge branch 'fix-backup-spec-regexp' into 'master' 2015-04-03 08:49:47 +00:00
workers CI forking: tests 2015-04-06 19:45:16 +03:00
factories.rb Add convenience methods to User for getting and setting 2FA status 2015-06-19 14:59:42 -04:00
factories_spec.rb Remove the invalid key factories 2015-04-11 17:12:10 -04:00
spec_helper.rb Fix shoulda-matchers require 2015-06-10 01:38:36 -04:00
teaspoon_env.rb teaspoon install 2015-05-28 18:22:32 -04:00