Skip to content

fix: improve performance of ServiceInfo.async_request#1205

Merged
bdraco merged 6 commits into
masterfrom
many_requests
Aug 2, 2023
Merged

fix: improve performance of ServiceInfo.async_request#1205
bdraco merged 6 commits into
masterfrom
many_requests

Conversation

@bdraco

@bdraco bdraco commented Aug 1, 2023

Copy link
Copy Markdown
Member

When there are many lookups at once, this can overload the system. Refactor to use faster primitives

Screenshot 2023-08-01 at 1 18 10 PM

This block disappears from the profile after this change

When there are many lookups at once, this can overload the
system. Refactor to use faster primitives
@codecov

codecov Bot commented Aug 1, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (d92aad2) 99.78% compared to head (82b5721) 99.78%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1205   +/-   ##
=======================================
  Coverage   99.78%   99.78%           
=======================================
  Files          22       22           
  Lines        2733     2740    +7     
  Branches      473      475    +2     
=======================================
+ Hits         2727     2734    +7     
  Misses          3        3           
  Partials        3        3           
Files Changed Coverage Δ
src/zeroconf/_services/info.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bdraco bdraco marked this pull request as ready for review August 2, 2023 00:35
@bdraco bdraco merged commit 8019a73 into master Aug 2, 2023
@bdraco bdraco deleted the many_requests branch August 2, 2023 00:35
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

Successfully merging this pull request may close these issues.

1 participant