Branches search is slow on projects with many branches
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
On gitlab-org/gitlab
, searching for a branch takes a long time.
At the time of this writing, the project has over 17,000 branches and this search is implemented as an O(n) search in GitRefsFinder
, which could be the reason behind the slowness. This could potentially be optimized.
Edited by 🤖 GitLab Bot 🤖