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-05-06 12:58:27 -04:00
2015-06-19 04:31:24 -04:00
2014-10-20 23:03:33 +02:00
2015-06-02 20:32:07 -04:00
2013-03-19 15:54:58 +02:00
2014-12-16 18:15:48 +02:00
2014-10-20 23:03:33 +02:00
2015-03-26 19:13:49 -07:00
2015-06-17 16:37:10 -04:00
2015-02-21 22:01:27 -08:00
2015-03-07 11:27:39 +01:00
2015-04-20 09:52:03 +02:00
2015-06-11 22:52:21 +02:00
2014-10-20 23:03:33 +02:00
2014-10-20 23:03:33 +02:00
2015-04-20 12:46:02 -07:00
2015-03-10 13:27:58 -07:00
2015-03-24 19:00:00 -07:00
2015-06-19 04:31:24 -04:00
2015-06-05 12:13:02 +02:00
2014-10-20 23:03:33 +02:00
2015-06-05 12:07:13 +02:00
2014-10-21 10:46:55 +02:00
2014-12-30 11:46:48 +02:00
2014-10-21 10:46:55 +02:00
2015-03-12 10:04:09 -07:00
2015-02-25 12:52:37 +01:00
2015-05-28 18:22:32 -04:00
2015-03-12 16:20:58 -07:00
2014-10-20 23:03:33 +02:00
2015-06-19 16:43:09 -04:00
2015-06-21 22:57:32 -04:00
2015-06-11 18:49:34 +02:00
2015-06-17 16:59:50 -04:00
2015-03-12 16:20:58 -07:00
2015-03-06 14:08:40 +01:00
2014-10-21 22:54:22 +02:00
2014-09-01 11:49:17 +02:00
2015-06-16 06:11:59 -07:00
2014-06-24 18:01:36 +04:00
2015-06-13 17:58:17 -04:00
2015-01-24 18:51:16 +01:00
2014-11-14 16:06:39 +02:00
2014-10-20 23:03:33 +02:00
2015-03-15 13:55:57 +01:00
2015-01-26 15:59:40 -08:00
2015-03-06 01:41:47 -08:00
2015-02-13 14:44:42 +01:00
2015-03-04 17:22:55 -08:00
2015-03-25 22:45:58 -07:00
2014-10-20 23:03:33 +02:00
2015-04-07 11:03:48 -04:00
2015-05-28 18:22:32 -04:00
2015-04-07 11:03:48 -04:00
2014-09-01 11:49:17 +02:00
2014-09-01 11:49:17 +02:00
2015-04-22 16:48:39 +03:00
2015-06-11 23:00:38 +02:00
2015-05-25 15:43:22 +02:00
2015-05-28 18:22:32 -04:00
2014-10-20 23:03:33 +02:00
2015-03-17 17:11:57 +02:00
2014-10-20 23:03:33 +02:00
2015-03-04 17:22:55 -08:00
2015-04-14 12:08:10 +02:00
2015-05-26 19:01:11 +02:00
2015-06-02 20:32:07 -04:00