gitlab-org--gitlab-foss/changelogs/unreleased/sh-optimize-project-commit-api.yml
Stan Hu 2a9c2fec4e Optimize creation of commit API by using Repository#commit instead of Repository#commits
Repository#commits is expensive because it has to use Rugged to walk the Git
tree as opposed to doing a direct ref lookup.

Improves performance in #34533
2017-07-03 15:48:13 -07:00

4 lines
123 B
YAML

---
title: Optimize creation of commit API by using Repository#commit instead of Repository#commits
merge_request:
author: