Skip to content

chore: add benchmark to create and destroy an instance#1317

Merged
bdraco merged 1 commit into
masterfrom
create_destory_bench
Nov 16, 2023
Merged

chore: add benchmark to create and destroy an instance#1317
bdraco merged 1 commit into
masterfrom
create_destory_bench

Conversation

@bdraco

@bdraco bdraco commented Nov 16, 2023

Copy link
Copy Markdown
Member

Its recently come up that many consumers create and destroy zeroconf instances frequently because of their application design so create/destroy time is important.

It turns out most of the time is spent in ifaddr

ifaddr/ifaddr#58 will reduce ipv6 related startup time

@codecov

codecov Bot commented Nov 16, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cd28476) 99.77% compared to head (4c821ba) 99.77%.
Report is 1 commits behind head on master.

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

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

@bdraco bdraco merged commit 72fed78 into master Nov 16, 2023
@bdraco bdraco deleted the create_destory_bench branch November 16, 2023 20:44
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