• Stan Hu's avatar
    Reduce overhead and optimize ProjectTeam#max_member_access performance · 1f990efc6a9b
    Stan Hu authored
    The previous implementation would load the entire team member list and their
    respective attributes. Now we only search for the user's specific
    access level.
    In gitlab-com/operations#42, this reduces the overall overhead of rendering
    the issue from 28% to 20%.
    First step of optimizing #19273
member.rb 5.58 KB