BigW Consortium Gitlab
In #37955,we see that the profile had a number of N+1 queries from repeated access to `cross_reference_not_visible_for?`. This was optimized in previous versions of GitLab by rendering all notes at once, counting the number of visible references, and then using that number to check whether a system note should be fully redacted. There was also another N+1 query calling `ProjectTeam#member?`, which did not take advantage of an optimization in prepare_notes_for_rendering that would preload the maximum access level per project. Closes #37955
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
admin | Loading commit data... | |
boards | Loading commit data... | |
concerns | Loading commit data... | |
dashboard | Loading commit data... | |
explore | Loading commit data... | |
groups | Loading commit data... | |
import | Loading commit data... | |
oauth | Loading commit data... | |
profiles | Loading commit data... | |
projects | Loading commit data... | |
snippets | Loading commit data... | |
abuse_reports_controller_spec.rb | Loading commit data... | |
application_controller_spec.rb | Loading commit data... | |
autocomplete_controller_spec.rb | Loading commit data... | |
dashboard_controller_spec.rb | Loading commit data... | |
groups_controller_spec.rb | Loading commit data... | |
health_check_controller_spec.rb | Loading commit data... | |
health_controller_spec.rb | Loading commit data... | |
help_controller_spec.rb | Loading commit data... | |
invites_controller_spec.rb | Loading commit data... | |
metrics_controller_spec.rb | Loading commit data... | |
notification_settings_controller_spec.rb | Loading commit data... | |
passwords_controller_spec.rb | Loading commit data... | |
profiles_controller_spec.rb | Loading commit data... | |
projects_controller_spec.rb | Loading commit data... | |
registrations_controller_spec.rb | Loading commit data... | |
root_controller_spec.rb | Loading commit data... | |
search_controller_spec.rb | Loading commit data... | |
sent_notifications_controller_spec.rb | Loading commit data... | |
sessions_controller_spec.rb | Loading commit data... | |
snippets_controller_spec.rb | Loading commit data... | |
uploads_controller_spec.rb | Loading commit data... | |
users_controller_spec.rb | Loading commit data... |