feat: reduce overhead to enumerate ip addresses in ServiceInfo by bdraco · Pull Request #1181 · python-zeroconf/python-zeroconf

Conversation

@bdraco

Most of the reply overhead was because of the enums which happens A LOT if there are homekit devices on the network

Screenshot 2023-06-12 at 11 43 26 AM

Most of the reply overhead was because of the enums

@codecov

@bdraco

@bdraco

This is nearly a 70% speed up to fetching the ips. That enum overhead is really suprising but we had the same issue with dbus-fast so it shouldn't be.

@bdraco bdraco marked this pull request as ready for review

June 13, 2023 00:17

@bdraco bdraco deleted the enum_overhead_py311 branch

June 13, 2023 00:18

1 participant

@bdraco