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

feat: speed up unpacking TXT record data in ServiceInfo #1318

Merged
merged 7 commits into from Dec 2, 2023

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Dec 2, 2023

This is ~43% speed up

before
Processing 100000 properties took 0.1892200000002049 seconds

after
Processing 100000 properties took 0.10781029199961267 seconds

Copy link

codecov bot commented Dec 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cd28476) 99.77% compared to head (42af9a0) 99.77%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1318   +/-   ##
=======================================
  Coverage   99.77%   99.77%           
=======================================
  Files          29       29           
  Lines        3084     3087    +3     
  Branches      518      518           
=======================================
+ Hits         3077     3080    +3     
  Misses          5        5           
  Partials        2        2           

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

@bdraco bdraco changed the title feat: speed up unpacking TXT in ServiceInfo feat: speed up unpacking TXT record data in ServiceInfo Dec 2, 2023
@bdraco bdraco marked this pull request as ready for review December 2, 2023 23:15
@bdraco bdraco merged commit a200842 into master Dec 2, 2023
32 of 34 checks passed
@bdraco bdraco deleted the refactor__unpack_text_into_properties branch December 2, 2023 23:16
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.

None yet

1 participant