I did some profiling in Brave/Chrome DevTools on the forum homepage because Brave Task Manager was showing 20-40% CPU usage while the page appeared idle.
Findings:
- The CPU usage does not appear to be primarily caused by animated avatars/GIFs.
- Performance Monitor showed roughly 50-80 style recalculations/sec and 50-80 layouts/sec while the page was idle.
- JavaScript execution was very low; most of the time was spent in Rendering and Painting.
- The issue disappears when the tab is not active (background tab throttling).
I inspected the active page animations and found 4 animations running. Pausing them individually produced the following results:
- ap-s3-animatedUsernameGlow-1 (admin/staff username glow effect): noticeable CPU reduction.
- float animation on an element with class legal-content: larger CPU reduction.
With both animations paused, CPU usage dropped from roughly
10-30%+ to around
0-2% and layout/style recalculations dropped from about
50-80/sec to near zero.
Based on the profiling data, the main contributors appear to be CSS animations (especially the username glow and the legal-content float animation) rather than image decoding or animated avatars.
It may be worth checking whether those animations are forcing frequent repaints/reflows on the active tab.