Skip to content

Commit

Permalink
Document asyncio performance improvement in What's New (python#103370)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
kumaraditya303 and AlexWaygood committed Apr 9, 2023
1 parent f329a8b commit 63dc969
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ array
asyncio
-------

* The performance of writing to sockets in :mod:`asyncio` has been
significantly improved. ``asyncio`` now avoids unnecessary copying when
writing to sockets and uses :meth:`~socket.socket.sendmsg` if the platform
supports it. (Contributed by Kumar Aditya in :gh:`91166`.)

* On Linux, :mod:`asyncio` uses :class:`~asyncio.PidfdChildWatcher` by default
if :func:`os.pidfd_open` is available and functional instead of
:class:`~asyncio.ThreadedChildWatcher`.
Expand Down

0 comments on commit 63dc969

Please sign in to comment.