Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU usage #39

Open
orange-87 opened this issue Apr 21, 2020 · 14 comments
Open

High CPU usage #39

orange-87 opened this issue Apr 21, 2020 · 14 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest 'hacktoberfest’ eligible hacktoberfest-accepted

Comments

@orange-87
Copy link

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 orange-87 changed the title Hich CPU usage High CPU usage Apr 21, 2020
@mountainash
Copy link
Owner

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 mountainash added enhancement New feature or request good first issue Good for newcomers hacktoberfest 'hacktoberfest’ eligible labels Oct 8, 2020
@mountainash
Copy link
Owner

@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.

@animanoir
Copy link

Mixclog uses a lot of CPU still.

@mountainash
Copy link
Owner

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

@animanoir
Copy link

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.

@mountainash
Copy link
Owner

Also reported in #105

@xGeorgeV
Copy link

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

@maxbatur
Copy link

maxbatur commented Nov 7, 2023

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

@xGeorgeV
Copy link

xGeorgeV commented Nov 8, 2023

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

@mountainash
Copy link
Owner

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).

@xGeorgeV
Copy link

xGeorgeV commented Nov 8, 2023

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.

@mountainash
Copy link
Owner

mountainash commented Nov 8, 2023

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

@xGeorgeV
Copy link

xGeorgeV commented Nov 9, 2023

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?

@mountainash
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest 'hacktoberfest’ eligible hacktoberfest-accepted
Projects
None yet
Development

No branches or pull requests

5 participants