0844ba04b5
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
5 lines
126 B
YAML
5 lines
126 B
YAML
---
|
|
title: Significantly cut memory usage and SQL queries when reloading diffs
|
|
merge_request: 22725
|
|
author:
|
|
type: performance
|