Memoize commit lookups between ChangeAccess calls
What
Caches commits between pushes to different branches/refs
Why
We were duplicating a lot of nfs/disk lookup by re-fetching commits for each branch when pushing a large number of refs.
Performance analysis
Timings
Memory usage
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Tests added for this feature/bug - Conform to the code review guidelines
-
Has been reviewed by a Backend maintainer
-
-
Conforms to the merge request performance guidelines -
End-to-end tests pass ( package-and-qa
manual pipeline job)