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

Refactoring: Improve RAM/CPU usage #229

Closed
nodeful opened this issue Apr 19, 2020 · 3 comments
Closed

Refactoring: Improve RAM/CPU usage #229

nodeful opened this issue Apr 19, 2020 · 3 comments

Comments

@nodeful
Copy link
Collaborator

nodeful commented Apr 19, 2020

Description:

Requested in #203 #148 #113

Currently eqMac is using:
RAM:

  • ~100MB of RAM for Audio Processing
  • ~150MB of RAM for for UI Rendering
  • ~50MB for UI offline cache
  • ~30MB for Network activity

CPU:

  • 2-3% for Audio Processing
  • ~1% for other stuff

Battery:
Here's how it stands compared to other apps:
image

Probably not much to be gained on the CPU side, unless one with lower level language implementation like C++, but I'm not doing that 😄Maybe somehow de-rendering the UI, but I think that should be handled by the OS.

In terms of RAM:
UI offline caching can go out of RAM completely once I move away from using Service Workers.
UI Rendering can probably be cut in 2 at least.
Not sure why there's so much network activity RAM usage, only collecting anonymous Analytics data at the moment.
Audio processing can probably be cut down in 2 as well.

Battery:
Not sure how much can be done there, I guess would need to see how other improvements/fixes will improve this metric.

@nodeful
Copy link
Collaborator Author

nodeful commented Apr 28, 2020

image
I have release a new update v0.1.0 where I substantially improved RAM usage
So I'm considering this issue solved. Please reopen thee issue if you feel like there can still be improvements made.
Thanks

@nodeful nodeful closed this as completed Apr 28, 2020
@GumbyTheGreen1
Copy link

eqMac plus audiocored are using close to 5% of my CPU at all times when idle - even when I have no other apps open! Why would it need to use so much when it's not doing anything? This is unacceptable and makes me think I probably shouldn't be using this app at all. I'd really like to be able to keep using it though. Is there anything that can be done about this? There's clearly a problem somewhere.
eqMac CPU Usage When Idle

@ashinlaurel
Copy link

image
This is the energy impact I'm facing. I'm using Monterey Version: 12.2. Hope there is some solution to reduce the battery drain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants