digimezzo / dopamine-windows

Audio player which tries to make organizing and listening to music as simple and pretty as possible.
https://digimezzo.github.io/site/
GNU General Public License v3.0
1.88k stars 266 forks source link

Wastes significant CPU power when idle #1418

Open Chealer opened 12 months ago

Chealer commented 12 months ago

I have been using Dopamine for a few years, and have noticed it several times using surprising computing power when it's idle. This happened again on Sunday, so I checked a little. While consumption is variable, it can reach 4.5% of a high-end modern CPU (Intel Core i7 8565U). It only took me 4 minutes to see multiple increases and decreases, from 0.0 to 4.5%. Consumption varies each minute.

I noted CPU time then, which was 01:04:44 and then let Dopamine idle (minimized and not playing any track), until now. The comparison with current CPU time (1:34:30) shows that over 81 hours, Dopamine used 29 minutes and 46 seconds of CPU time, which would mean an average of 0.6% of my CPU. However, it seems Task Manager's CPU time doesn't consider multithreading, so this would rather be 0.15% or even 0.1% of my CPU's total capacity (4 cores and 8 threads).

I am not concerned about the impact this has on my OS's performance, but this is distracting when trying to debug a CPU usage problem, and certainly causes significant energy waste.

I'm using these versions