Skip to content

Optimize creation of commit API by using Repository#commit instead of Repository#commits

Stan Hu requested to merge sh-optimize-project-commit-api into master

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 (closed)

Merge request reports