Skip to content

Update the Releases page to make use of startup queries

What does this MR do?

Improves the performance of the Releases page by making use of a startup query.

Screenshots

This MR makes no visual changes. It only speeds up the loading of the initial query.

Performance improvements

Before

Average LCP1: 2540 ms

After

Average LCP1: 1809 ms ≈ 29% improvement in performance

1How I measured LCP: In my local GDK, I created 10 releases with the content of the first 10 GitLab releases. I loaded the Releases page in Google Chrome 5 times and averaged the reported LCP times. This is not very scientific - and my local GDK performs very differently than GitLab.com - but hopefully this gives a general idea of the performance impact. This will need to be tested on GitLab.com to understand its real impact.

Other side effects

While working on this, I ended up needing to restructure some of the feature specs which had previous been quarantined in #329301 (closed) and #329302 (closed). So these tests should now be faster and not flaky 👍

Related to #330784 (closed)

Edited by Nathan Friend

Merge request reports