Theme editor

  • RequestStream Movies, TV shows and anime streaming • 1 week trial

Members page showing high CPU usage.

  • Thread starter Thread starter ontach
  • Start date Start date
  • Replies Replies 8
  • Views Views 119
Thread owner
After observing the behaviour for several days, I'm happy to report that the issue seems to have gone away. Not sure if it was fixed by the admins, or it was a Windows or Firefox issue that got fixed by an update, but it is no longer causing the high CPU usage that was bothering me earlier. :)
 
I just saw this, but 1: I dont think it was fixed on that day (I had it yesterday), and 2: I dont think its due to avatars or images because I was on the main page where there are almost no animated images. I was going to report it, but I already reported it a long time ago and I figured it was probably some new test he was doing and others would bitch about it and it would stop.
I have a pretty beefy 24 core CPU and it was holding it at 20% for at least 15 minutes (I heard the fans come on, which is what made me notice it).

My guess is some sort of js timer was running out of control. But I didnt really test it much. I will next time.

The last time it happened, it was weird. It seemed to happen on a single LC page at a time. I had about 5 LC pages open, and it only happened in one. If I closed that one, the cpu usage immediately moved to a different LC tab. I don't remember if I just ended up closing all LC tabs, or found something else out.
 
Thread owner
I just saw this, but 1: I dont think it was fixed on that day (I had it yesterday), and 2: I dont think its due to avatars or images because I was on the main page where there are almost no animated images. I was going to report it, but I already reported it a long time ago and I figured it was probably some new test he was doing and others would bitch about it and it would stop.
I have a pretty beefy 24 core CPU and it was holding it at 20% for at least 15 minutes (I heard the fans come on, which is what made me notice it).

My guess is some sort of js timer was running out of control. But I didnt really test it much. I will next time.

The last time it happened, it was weird. It seemed to happen on a single LC page at a time. I had about 5 LC pages open, and it only happened in one. If I closed that one, the cpu usage immediately moved to a different LC tab. I don't remember if I just ended up closing all LC tabs, or found something else out.
Thanks for the report. Could you please clarify which OS, browser you were using? Also, did you have Windows Task Manager or similar open before you noticed the fans come on, or did you start monitoring after you noticed?
 
Thanks for the report. Could you please clarify which OS, browser you were using? Also, did you have Windows Task Manager or similar open before you noticed the fans come on, or did you start monitoring after you noticed?
Windows 11, brave. I always have task manager open, but it was minimized. I heard the fans were on (didnt know how long) and that was unusual since nothign was running. I saw it was brave using the CPU, so I went to brave > menu > more tools > task manager. That shows you which tab or process is using the resources (ram, cpu, gpu, etc)
 
Just to give more info, it is happening again. This is on the lc homepage, with nothing CPU intensive visually. The only animated image is the red99 avatar

You must be registered to see attachments


You must be registered to see attachments


Also, as soon as I opened this page in a new tab to post this, the tab using the most CPU changed. The LC homepage tab went down to 0.1% and this tab is now:


Ive been sitting here before hitting post for about 5 minutes now, and it is not going down. A few tiny animated gifs should not be using that much CPU. Because I have hundreds of other tabs open and lots of them have animated gifs much larger and they are using 0-2%

So I did some digging in the perf profiler, and tossed it into chat GPT to narrow shit down.

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.

From what it explained, the 2 issues on THIS page is likely Jack of Blades purple username glow:

And something to do with a legal content box? I am guessing:


I dont see it moving much, but at one point when I hovered my cursor over it, the 2 red balls on the right moved (the left one moved up, like it was orbiting the bigger one). I dont get why or what that is, but that is the only thing I see with "legal" on it. Maybe the admins can figure it out if it is causing issues for people. It was just slightly annoying for me when it gets high and my cpu fans kick on, but I usually just close the tabs when that happens.
 

Attachments

You must be registered for see attachments list
Thread owner
Did you turn off Windows task Manager? Can you confirm that the high CPU usage still happens if the Task Manager is not running? There might be some wierd issue with it.
 
Did you turn off Windows task Manager? Can you confirm that the high CPU usage still happens if the Task Manager is not running? There might be some wierd issue with it.
Im not quite sure what you mean, or why you think the windows task manager (taskmgr.exe) would cause a chrome/brave tab to have higher CPU usage, but I can confidently say that it does not. Also, the screenshots I showed above were from the brave task manager, which is different. And yes, the CPU usage shown in the windows taskmgr stays higher even if the brave task manager is closed.
 
Back
Top Bottom