Bluetooth-Devices / dbus-fast

A faster version of dbus-next
MIT License
35 stars 8 forks source link

feat: speed up first connection when using asyncio #251

Closed bdraco closed 12 months ago

bdraco commented 12 months ago

pre-compute the serialized hello message

codecov[bot] commented 12 months ago

Codecov Report

Patch coverage: 77.77% and project coverage change: +0.12% :tada:

Comparison is base (e4cae13) 83.29% compared to head (6e336de) 83.42%. Report is 1 commits behind head on main.

:exclamation: Current head 6e336de differs from pull request most recent head 1cd2ce2. Consider uploading reports for the commit 1cd2ce2 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #251 +/- ## ========================================== + Coverage 83.29% 83.42% +0.12% ========================================== Files 28 28 Lines 3263 3269 +6 Branches 677 678 +1 ========================================== + Hits 2718 2727 +9 + Misses 330 328 -2 + Partials 215 214 -1 ``` | [Files Changed](https://app.codecov.io/gh/Bluetooth-Devices/dbus-fast/pull/251?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bluetooth-Devices) | Coverage Δ | | |---|---|---| | [src/dbus\_fast/aio/message\_bus.py](https://app.codecov.io/gh/Bluetooth-Devices/dbus-fast/pull/251?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bluetooth-Devices#diff-c3JjL2RidXNfZmFzdC9haW8vbWVzc2FnZV9idXMucHk=) | `85.77% <77.77%> (-0.53%)` | :arrow_down: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/Bluetooth-Devices/dbus-fast/pull/251/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bluetooth-Devices)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.