Bug 1856355
Summary: | Scrolling of pf4 tables is far less performant than the previous version | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Paul Weil <pweil> |
Component: | Management Console | Assignee: | Rastislav Wagner <rawagner> |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.5 | CC: | aos-bugs, jcaiani, jhadvig, jokerman, spadgett, yapei |
Target Milestone: | --- | ||
Target Release: | 4.9.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | Scrubbed | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
Virtualized table passes new style prop on every scroll event which casues all visible rows to rerender
Consequence:
bad performance sice too many elements have to rerender
Fix:
table row content was wrapped in React.memo
Result:
table row content does not rerender on scroll event
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-10-18 17:28:52 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Paul Weil
2020-07-13 13:01:30 UTC
A bug to fix the table filter has been fixed and the issue that relates to this has also been closed. adding a separate issue for table latency in the pf repo. We did not have time to fix this issue this sprint. Will reevaluate and try to fix in next sprint. We are working on a new table in https://github.com/openshift/console/pull/8829#issuecomment-830248046 and might be able to look at improving scrolling performance there. We are blocked until this is fixed in PatternFly. Goes to pods list page with 'All Projects' selected /k8s/all-namespaces/pods, scrolling up and down, notice the performance, no big performance issue here. Verified on 4.9.0-0.nightly-2021-08-22-070405 Let me know if there is more functions need to be checked Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759 |