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

Improved server performances and memory consumption on error #385

Merged
merged 3 commits into from
Nov 23, 2024

Conversation

francis-clairicia
Copy link
Owner

What's changed

  • Clear traceback frames saved by transports implemented with asyncio.
  • Improved AsyncStreamReadTransport.recv_into() implementation for asyncio transports.
  • Fixed byte buffers not deallocated until garbage collection if transport.close() or transport.aclose() raises an exception.

@francis-clairicia francis-clairicia added topic-server Relative to server implementations topic-tcp Relative to TCP sockets labels Nov 23, 2024
@francis-clairicia francis-clairicia self-assigned this Nov 23, 2024
Copy link

codecov bot commented Nov 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (1956c23) to head (2f685e5).
Report is 2 commits behind head on main.

Additional details and impacted files
Flag Coverage Δ
OS-FreeBSD 78.08% <74.32%> (+0.09%) ⬆️
OS-Linux 81.50% <77.02%> (+0.08%) ⬆️
OS-Windows 81.24% <74.32%> (+0.08%) ⬆️
OS-macOS 81.48% <74.32%> (+0.08%) ⬆️
Py-3.11 81.92% <77.02%> (+0.08%) ⬆️
Py-3.12 81.93% <77.02%> (+0.08%) ⬆️
Py-3.13 81.96% <77.02%> (+0.08%) ⬆️
test-functional 81.96% <77.02%> (+0.08%) ⬆️
test-unit 89.32% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

---- 🚨 Try these New Features:

@francis-clairicia francis-clairicia merged commit e9364e3 into main Nov 23, 2024
20 checks passed
@francis-clairicia francis-clairicia deleted the fix/servers/performances branch November 23, 2024 18:06
@francis-clairicia francis-clairicia added the enhancement New feature or request label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request topic-server Relative to server implementations topic-tcp Relative to TCP sockets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant