Prepare on OKR for improving SpeedIndex on a benchmark of URLs compared to similar URLs on GitHub

Sprung from this thread: https://gitlab.slack.com/archives/CB3LSMEJV/p1586969821004600

Which in turn was sprung from this HN thread: https://news.ycombinator.com/item?id=22878917

GitLab lags behind GitHub on various performance metrics, particularly on visual performance metrics.

For example, comparing https://github.com/gnachman/iTerm2/tree/master/tools to https://gitlab.com/gnachman/iterm2/-/tree/master/tools, differences in FirstVisualChange are fairly small (16%), but these stretch out with additional changes, with fullyLoaded being 300% slower.

Overall, the SpeedIndex of the GitHub page is 854 and the GitLab page is 1679.

GitHub GitLab Difference
FirstVisualChange 833 967 16.09%
LastVisualChange 1076 4375 306.60%
PerceptualSpeedIndex 839 1346 60.43%
SpeedIndex 854 1679 96.60%
VisualComplete85 833 2117 154.14%
fullyLoaded 1216 3925 222.78%

Comparing the first 8 seconds of page load

GitHub

image

GitLab

image

Proposed OKR

Make GitLab.com faster. KR: Get speed index below 1000 for gitlab.com/gnachman/iterm2/-/tree/master/tools

Edited by silv