wowgamr / animated-weather-card

Animated icons for default Home Assistant weather card
24 stars 3 forks source link

High CPU usage #8

Open pawelros opened 2 years ago

pawelros commented 2 years ago

Hey there!

Nice work, animated weather card looks so much nicer! Although I had to remove your theme by re-downloading my theme. I use old laptop with Intel i3, 16GB of RAM that I have connected to touch screen / control panel and it runs chromium with home assistant dashboard 24/7. I noticed that after adding animated weather card to my dashboard, the laptop has started being noisy (cpu cooler). I checked CPU usage and it turned out while usually my CPU load was oscillating between 15-30%, after using your theme it jumped to 40-60%. I re-downloaded my original theme, that operation replaced your animated svgs and that fixed the issue - CPU load is again back to normal.

image

wowgamr commented 2 years ago

Hello! It's because of the SVGs. Such animations load the processor more than GIFs. But the GIFs don't look that clear. I tried to clean the animations as much as possible from unnecessary elements, but it is still impossible to achieve zero CPU usage :(