#107921CPU spikes when scrolling the module body (page module, list module and any other)
Description
Steps to reproduce:
- Use Google Chrome
- Ideally use Linux with subpixel font rendering activated (default in modern linux distributions like Fedora)
- Use devicePixelRatio=1 (e.g. 100% Zoom in display settings, not 125%, or 150% or any other setting)
- Open Inspector
- Press Escape
- Press bottom left three dot menu
- Enable Rendering tab and select it
- Select in Rendering Tab: “Paint flashing”, “Scrolling performance issues” and “Frame Rendering stats”
- Press bottom left three dot menu again
- Enable “Performance monitor”
- Scroll throw the module and see CPU spikes and a green layer promoted over the entire module body while scrolling (which means an entire re-render is triggered)
scroll-performance-bad.png
See scroll-performance-bad.mp4 for slow scrolling and scroll-performance-expected.mp4 for how fast scrolling looks like.