gitlab-org--gitlab-foss/app
Stan Hu 0844ba04b5 Significantly cut memory usage and SQL queries when reloading diffs
By preloading certain models with the diff, we can eliminate many N+1
queries. For a push to the staging GitLab.com www-gitlab-com repository,
this eliminates over 3000 SQL queries and appears to bring down the RSS
usage by several gigabytes.

Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/49703
2018-11-01 07:19:54 -07:00
..
assets Resolve "Create new group: Rename form fields and update UI" 2018-10-30 16:23:47 +00:00
controllers Merge branch 'add-language-param-to-highlight' into 'master' 2018-10-30 20:44:03 +00:00
finders Merge remote-tracking branch 'origin/master' into dev-master 2018-10-29 14:37:19 -07:00
graphql Make GitLab pages support access control 2018-10-05 13:41:11 +00:00
helpers Move :plain option to Highlight class 2018-10-30 15:44:55 +08:00
mailers Add IID headers to E-Mail notifications 2018-10-16 14:54:18 +02:00
models Merge branch 'add-language-param-to-highlight' into 'master' 2018-10-30 20:44:03 +00:00
policies Make GitLab pages support access control 2018-10-05 13:41:11 +00:00
presenters Centralize loading blob data before highlighting 2018-10-30 15:44:55 +08:00
serializers post merge pipeline and environments status 2018-10-29 11:34:41 +00:00
services Significantly cut memory usage and SQL queries when reloading diffs 2018-11-01 07:19:54 -07:00
uploaders Backport of "Use Geo log to remove files when migrated to object storage" 2018-10-03 15:09:16 +00:00
validators
views Merge branch 'add-language-param-to-highlight' into 'master' 2018-10-30 20:44:03 +00:00
workers Removes idenfitication by commit from Gitlab::Identifier 2018-10-25 11:36:26 +01:00