Performance Improvement Spike: Threat Monitoring Page
Time-box: TBD
Topic to Evaluate
Based on the LCP measurements reported by Sitespeed (report), the Threat Montioring Page does not meet our criteria for performance. The expected LCP average for a gitlab-org page is < 2.5 seconds, this page has the following LCP metrics:
| min | max | current | |
|---|---|---|---|
| TTFB | 380 ms | 414 ms | 414 ms |
| FirstVisualChange | 551 ms | 767 ms | 651 ms |
| Heading | 634 ms | 1.084 s | 651 ms |
| LastVisualChange | 3.867 s | 4.717 s | 3.867 s |
| SpeedIndex | 1.570 s | 2.019 s | 1.573 s |
| Fully Loaded | 4.396 s | 5.168 s | 4.396 s |
| LCP | 3.857 s | 4.668 s | 3.857 s |
* The date range of these measurements is 2021-03-10 through 2021-03-12 based on the date KAS was enabled on gitlab.com for the test project. The 'current' value was captured on 2021-03-12 at 1:30pm PST.
URL configured to be measured by Sitespeed: https://gitlab.com/gitlab-org/threat-management/defend/demos/network-policy-demo/-/threat_monitoring
Tasks to Evaluate
-
Identify opportunities for optimization on the frontend -
Identify opportunities for optimization on the backend -
Create issue(s) for implementation -
Set weight on implementation issue(s) -
If weight is greater than 5, break issue(s) into smaller issues
Risks and Implementation Considerations
Edited by Alexander Turinske