BugZilla ticket: https://bugzilla.redhat.com/show_bug.cgi?id=1965984
Epic Goal
- Improve the Console UI's Observe > Dashboards page performance to an acceptable level.
Why is this important?
- There is still a significant performance difference between Grafana and our Console dashboards. While we don't aim to equal Grafana's performance, it is inevitable that people will compare the two, so we want to get closer. We should look into what causes the difference and investigate what else we can do to speed up our dashboards.
- Depending on the user's machine and which browser they are using, the render time could be long enough for the browser to become momentarily unresponsive.
Scenarios
- ...
Acceptance Criteria
- Verify that dashboards considerably faster to load in 4.9 vs 4.8. Benchmark before and after using React developer tools.
- Benchmark how Dashboard view performs in other browser.
Dependencies (internal and external)
- ...
Previous Work
- https://github.com/openshift/console/pull/6749
- https://github.com/openshift/console/pull/6685
- https://github.com/openshift/console/pull/3012
- Results of 4.6 optimization work: https://docs.google.com/spreadsheets/d/1-IEnu2hGCvoHYTSAhG1jBGn_op_GkdbZnry2YJo1hGM/edit#gid=0
- Comparing 4.5 and 4.6 performance before optimization work: https://docs.google.com/spreadsheets/d/1I6wuDP8SmaMwA9qc6BRwnAcaMO0RPKgSOb9j0DF05D0/edit#gid=0
Open questions
- Are we making too many parallel HTTP requests, causing timeouts?
Done Checklist
- CI - CI is running, tests are automated and merged.
- Release Enablement <link to Feature Enablement Presentation>
- DEV - Upstream code and tests merged: <link to meaningful PR or GitHub Issue>
- DEV - Upstream documentation merged: <link to meaningful PR or GitHub Issue>
- DEV - Downstream build attached to advisory: <link to errata>
- QE - Test plans in Polarion: <link or reference to Polarion>
- QE - Automated tests merged: <link or reference to automated tests>
- DOC - Downstream documentation merged: <link to meaningful PR>