diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-08-03 19:21:56 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-08-03 19:21:56 +0000 |
commit | 6a9283600cd4a11b97fe26772e68095d8dc854bd (patch) | |
tree | cdaff320c3dbcbd14dab3d627119056155fbbebb /.gitlab-ci.yml | |
parent | f7c360cad6973331b046140acf799427463c0857 (diff) | |
parent | 08c1dd348273df67bf14172e9082308e12f94784 (diff) | |
download | gitlab-ce-6a9283600cd4a11b97fe26772e68095d8dc854bd.tar.gz |
Merge branch 'fix/speed-up-commit-repo-changes' into 'master'
Speed up methods that depend on diff stats only
## What does this MR do?
Speeds up and reduces memory usage of `Commit#repo_changes`loop, `Repository#expire_avatar_cache` and `IrkerWorker`. It's a WIP because it need a new version of `gitlab_git` released with [these changes](https://gitlab.com/gitlab-org/gitlab_git/merge_requests/109).
## Are there points in the code the reviewer needs to double check?
N/A
## Why was this MR needed?
For large files committed, this method ends up loading them in memory which can consume lots of memory.
## What are the relevant issue numbers?
https://gitlab.com/gitlab-org/gitlab-ce/issues/19441#note_13425892
## Screenshots (if relevant)
N/A
## Does this MR meet the acceptance criteria?
- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [ ] ~~[Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)~~
- [ ] ~~API support added~~
- ~~Tests~~
- [ ] ~~Added for this feature/bug~~
- [ ] ~~All builds are passing~~
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
See merge request !5568
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions