FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: speed up parsing NSEC records by bdraco · Pull Request #1169 · python-zeroconf/python-zeroconf · GitHub

feat: speed up parsing NSEC records - #1169

Merged
bdraco merged 1 commit into
masterfrom
nsec_records
May 3, 2023
Merged

feat: speed up parsing NSEC records#1169
bdraco merged 1 commit into
masterfrom
nsec_records

Conversation

bdraco commented May 3, 2023
edited
Loading

Copy link
Copy Markdown
Member

Benchmark before
Parsing 100000 incoming messages took 3.846316208015196 seconds

Benchmark after
Parsing 100000 incoming messages took 2.7343544159957673 seconds

Almost a 39% improvement

codecov Bot commented May 3, 2023
edited
Loading

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (fbaaf7b) 99.81% compared to head (5f8404e) 99.81%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1169   +/-   ##
=======================================
  Coverage   99.81%   99.81%           
=======================================
  Files          22       22           
  Lines        2667     2671    +4     
  Branches      464      464           
=======================================
+ Hits         2662     2666    +4     
  Misses          3        3           
  Partials        2        2           
Impacted Files Coverage Δ
src/zeroconf/__init__.py 100.00% <100.00%> (ø)
src/zeroconf/_protocol/incoming.py 98.96% <100.00%> (+0.02%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

bdraco marked this pull request as ready for review May 3, 2023 20:05
bdraco merged commit 06fa94d into master May 3, 2023
bdraco deleted the nsec_records branch May 3, 2023 20:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL