Skip to content

Re-use issue/MR counts for the pagination system

Yorick Peterse requested to merge mr-index-page-performance into master

What does this MR do?

This MR changes the issue and MR index pages so the pagination re-uses the COUNT(*) query used to count rows per state, removing the need for an additional COUNT(*) query. This in turn reduces the page loading times by roughly 30 milliseconds.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

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

Edited by Sean McGivern

Merge request reports