Skip to content

removes n+1 query from tags and branches indexes

What does this MR do?

Fixes N+1 queries for both BranchesController#index and TagsController#index

Relevant Screenshots

Branches

Before Screen_Shot_2017-03-16_at_16.00.45

Screen_Shot_2017-03-16_at_16.01.03

After Screen_Shot_2017-03-16_at_15.57.59

Screen_Shot_2017-03-16_at_15.58.12

Tags

Before Screen_Shot_2017-03-16_at_16.04.37

Screen_Shot_2017-03-16_at_16.04.43

After Screen_Shot_2017-03-16_at_16.08.04

Screen_Shot_2017-03-16_at_16.08.20

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

#27379 (closed) #27378 (closed) are partially fixed although some work in Gitaly is still being done to improve these pages even more

Merge request reports