Skip to content

Memoize commit lookups between ChangeAccess calls

James Edwards-Jones requested to merge jej/memoize-change-access-commits into master

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?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/44679

Merge request reports