Skip to content

feat: cythonize _listener.py to improve incoming message processing performance#1220

Merged
bdraco merged 5 commits into
masterfrom
basic_cython_engine
Aug 14, 2023
Merged

feat: cythonize _listener.py to improve incoming message processing performance#1220
bdraco merged 5 commits into
masterfrom
basic_cython_engine

Conversation

@bdraco

@bdraco bdraco commented Aug 14, 2023

Copy link
Copy Markdown
Member

No pxd file yet. This will be the next PR. Doing this in small steps

@codecov

codecov Bot commented Aug 14, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.11% ⚠️

Comparison is base (12560a7) 99.81% compared to head (10ae1cb) 99.71%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1220      +/-   ##
==========================================
- Coverage   99.81%   99.71%   -0.11%     
==========================================
  Files          23       25       +2     
  Lines        2776     2787      +11     
  Branches      480      480              
==========================================
+ Hits         2771     2779       +8     
- Misses          3        5       +2     
- Partials        2        3       +1     
Files Changed Coverage Δ
src/zeroconf/_core.py 100.00% <100.00%> (ø)
src/zeroconf/_engine.py 100.00% <100.00%> (ø)
src/zeroconf/_listener.py 100.00% <100.00%> (ø)
src/zeroconf/_transport.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

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

@bdraco bdraco changed the title feat: cythonize _engine.py to improve performance feat: cythonize _engine.py to improve incoming message processing performance Aug 14, 2023
@bdraco

bdraco commented Aug 14, 2023

Copy link
Copy Markdown
Member Author

Looks like I need to move the listener into a separate file since we still have a problem with old pypy + cython + coros

@bdraco bdraco marked this pull request as draft August 14, 2023 16:32
@bdraco bdraco changed the title feat: cythonize _engine.py to improve incoming message processing performance feat: cythonize _listener.py to improve incoming message processing performance Aug 14, 2023
@bdraco bdraco marked this pull request as ready for review August 14, 2023 16:59
@bdraco

bdraco commented Aug 14, 2023

Copy link
Copy Markdown
Member Author

The split solved the coro + cython issue

@bdraco bdraco merged commit 9efde8c into master Aug 14, 2023
@bdraco bdraco deleted the basic_cython_engine branch August 14, 2023 17:02
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