feat: small speed up to writing outgoing packets by bdraco · Pull Request #1316 · python-zeroconf/python-zeroconf

Conversation

@bdraco

This is ~ 6.5 % speed up

before: Construction 100000 outgoing messages took 1.9130162500077859 seconds
after: Construction 100000 outgoing messages took 1.7759123329306021 second

@codecov

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (55cf4cc) 99.77% compared to head (fb4f2ff) 99.77%.
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1316   +/-   ##
=======================================
  Coverage   99.77%   99.77%           
=======================================
  Files          29       29           
  Lines        3053     3084   +31     
  Branches      513      518    +5     
=======================================
+ Hits         3046     3077   +31     
  Misses          5        5           
  Partials        2        2           

☔ 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

November 15, 2023 06:27

@bdraco bdraco deleted the outgoing_speed_up branch

November 15, 2023 06:27

1 participant

@bdraco