gitlab-org--gitlab-foss/changelogs/unreleased/sh-optimize-reload-diffs-service.yml
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

5 lines
126 B
YAML

---
title: Significantly cut memory usage and SQL queries when reloading diffs
merge_request: 22725
author:
type: performance