cosmic-comp icon indicating copy to clipboard operation
cosmic-comp copied to clipboard

High CPU usage when idling, low cpu usage when cursor is moving

Open hojjatabdollahi opened this issue 4 months ago • 0 comments

I have alacritty and firefox open. When idling and nothing is happening, cosmic-comp uses 5% of my cpu (which is 100% of core). But when I start wiggling the mouse cursor, cosmic-comp's cpu usage drops! Here is a screenshot, you can tell when exactly I started moving the cursor (I was trying to recreate the github issue that you see in the screenshot, but I experienced the opposite of that issue). screenshot-2024-03-14-03-52-31

Edit: after some more testing, this seems to be caused by Firefox trying to render a page! This does not happen with Google Chrome.

hojjatabdollahi avatar Mar 14 '24 04:03 hojjatabdollahi