Mixcloud-Play icon indicating copy to clipboard operation
Mixcloud-Play copied to clipboard

High CPU usage

Open orange-87 opened this issue 5 years ago • 14 comments

Another issue: app is using between 30 till 57% of CPU. Same usage if on mainscreen or minimized, working on it or leave it on second place. Is there any option to reduce it to preserve more CPU for others apps? My laptop is MacBook Pro Mid-2010 using Mac OS X 10.11.6

Thanks!

Captura de pantalla 2020-04-22 a las 0 18 46

orange-87 avatar Apr 21 '20 22:04 orange-87

There's definitely a few optimisations that can be done* but unfortunately the Mixcloud website + streaming web audio is a CPU taxing task.

Even on my 4 GHz Quad-Core Intel Core i7 iMac, mixcloud.com in a recent version of Chrome [Version 81.0.4044.113] directly (not the old version of Electron this project is currently using), about 25% of the CPU is being used - so there's not a lot that this project can do to improve that.

Mixcloud.com in Chrome Task Manager
  * one such is that the lookups for song info stop while audio is paused.

mountainash avatar Apr 21 '20 22:04 mountainash

@orange-87 Could you please try this app (from version 0.16.0) again using the latest release which is running on a much newer version of Electron which should be more performant.

mountainash avatar Apr 06 '21 11:04 mountainash

Mixclog uses a lot of CPU still.

animanoir avatar Jan 31 '22 01:01 animanoir

@orange-87 & @animanoir - I've now built an Apple Silicon version, if you have a recent Mac, you could try it again.

mountainash avatar Mar 03 '22 21:03 mountainash

Thanks my friend. I don't have a Mac. I in fact thought this was the official Github of Mixcloud. I stopped using their service since it makes my CPU unnecessarily hot.

animanoir avatar Mar 03 '22 23:03 animanoir

Also reported in #105

mountainash avatar Oct 31 '22 18:10 mountainash

Win10 Mixcloud with Google Chrome: High CPU usage: 38% Win10 Mixcloud with Microsoft Edge: Low CPU usage: 2%

xGeorgeV avatar Nov 16 '22 09:11 xGeorgeV

Mixcloud CPU utilization on minimized windows 45% Maximized focused window consumes 10%

maxbatur avatar Nov 07 '23 21:11 maxbatur

I use Vivaldi browser instead of Goggle Chrome for listening Mixcloud. Win10 Mixcloud with Vivaldi browser: CPU Usage: 3%

xGeorgeV avatar Nov 08 '23 10:11 xGeorgeV

Thanks for the input @xGeorgeV, but how that compare to using the Mixcloud-play App?

A percentage doesn’t mean much unless it’s compared to something constant (aka the same CPUs on the same machine setup).

mountainash avatar Nov 08 '23 17:11 mountainash

I use Mixcloud with a Win10 browser. CPU usage with Google Chrome is high: 38% and constantly running out of memory. With Vivaldi browser the CPU usage is 3% and the free memory size is constant. Both browsers run on the same machine: Dell Precision 17" Laptop with Win10, Intel Core i7, nVidia RTX 3000, 2TB SSD, 16 GB RAM.

xGeorgeV avatar Nov 08 '23 17:11 xGeorgeV

That’s interesting; but this project is not Chrome, Vivaldi or the Mixcloud website… or am I missing the point of your comments? 🤷🤷

mountainash avatar Nov 08 '23 21:11 mountainash

That’s interesting; but this project is not Chrome, Vivaldi or the Mixcloud website… or am I missing the point of your comments? 🤷🤷

### Your first comment:

" . . . Mixcloud website . . . " " . . . mixcloud.com... ...Chrome [Version 81.0.4044.113] directly . . . " " . . . Mixcloud.com in Chrome Task Manager" . . . "

Do you have memory problems?

xGeorgeV avatar Nov 09 '23 18:11 xGeorgeV

Hello @orange-87 - please try the latest release and see if that improves things for you. On my M1 Pro I'm seeing ~15-16% CPU Usage when playing music and less that 1% when not.

Screenshot showing CPU usage

mountainash avatar Mar 08 '24 16:03 mountainash