Skip to content

Draft: POC: blame page streaming

Stanislav Lashmanov requested to merge slashmanov/blame-streaming-poc into master

What does this MR do and why?

This MR implements streaming for the Blame page to improve Core Web Vitals metrics and allow to display full blame file.

Screenshots or screen recordings

Firefox profile comparison

This MR Full page render (no pagination)
Screenshot_2022-09-12_at_06.13.43 Screenshot_2022-09-12_at_06.13.29

The number highlighted here is the approximate time for the first meaningful paint.

How to set up and validate locally

  1. Open any large blame file (example: gitlab/fixtures/emojis/index.json)

The page should have no pagination and the blame file should display all the lines.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Stanislav Lashmanov

Merge request reports