Files
gitlabhq/app/models
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
..
2015-06-10 01:38:45 -04:00
2015-05-21 23:48:16 -04:00
2015-05-03 13:38:27 -07:00
2011-10-09 00:36:38 +03:00
2015-05-03 13:38:27 -07:00
2015-04-03 12:28:47 +02:00
2015-06-03 16:15:58 +02:00
2015-04-11 17:56:45 +03:00
2015-05-03 13:38:27 -07:00
2014-08-25 12:25:02 +03:00
2015-05-03 13:38:27 -07:00
2014-10-09 18:22:20 +03:00
2015-05-03 13:38:27 -07:00
2014-10-09 18:22:20 +03:00
2015-05-03 13:38:27 -07:00
2015-06-20 01:06:57 +02:00
2015-03-16 21:38:41 +02:00
2015-05-18 22:51:56 +02:00
2014-08-25 12:25:02 +03:00