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

[Improvement] Reduce cpu usage #53

Closed
GioF71 opened this issue Apr 23, 2024 · 1 comment · Fixed by #54
Closed

[Improvement] Reduce cpu usage #53

GioF71 opened this issue Apr 23, 2024 · 1 comment · Fixed by #54
Assignees
Labels
enhancement New feature or request

Comments

@GioF71
Copy link
Owner

GioF71 commented Apr 23, 2024

CPU usage is not excessively high, but it is not as low as I would like it to be, especially when connecting to many players, as some might (and will be) offline.
Maybe we can put let the algorithm skip a few iterations when a device appears to be offline. That should reduce the cpu load, we'll see by how much.

@GioF71 GioF71 self-assigned this Apr 23, 2024
@GioF71 GioF71 added the enhancement New feature or request label Apr 23, 2024
@GioF71
Copy link
Owner Author

GioF71 commented Apr 23, 2024

This should be already implemented using MPD_IMPOSED_SLEEP_ITERATION_COUNT, but looks like there is room for improvement

GioF71 added a commit that referenced this issue Apr 23, 2024
- Reduce cpu usage #53
@GioF71 GioF71 mentioned this issue Apr 23, 2024
@GioF71 GioF71 linked a pull request Apr 23, 2024 that will close this issue
GioF71 added a commit that referenced this issue Apr 23, 2024
- Reduce cpu usage #53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant