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 #9

Closed
devbis opened this issue Mar 1, 2021 · 2 comments
Closed

High CPU usage #9

devbis opened this issue Mar 1, 2021 · 2 comments

Comments

@devbis
Copy link
Owner

devbis commented Mar 1, 2021

ble2mqtt running on Xiaomi Gateway with OpenWrt consumes a lot of CPU time.
Investigation shows that it is an internal https://github.com/hbldh/bleak/ problem with unmarshalling DBUS messages.
Consider using/creating another backend for bleak.

hbldh/bleak#500

@ashirchkov
Copy link

ashirchkov commented Jun 5, 2023

@devbis hi! Is this problem fixed? The bleak developers have stated that the performance issue has been resolved in this patch https://github.com/hbldh/bleak/releases/tag/v0.15.0. (hbldh/bleak#902)

@devbis
Copy link
Owner Author

devbis commented Jun 6, 2023

Looks like that. I saw CPU load got lower, but didn't make additional tests. Let's close the issue.

@devbis devbis closed this as completed Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants