8000 Document `asyncio` performance improvement in What's New (#103370) · python/cpython@63dc969 · GitHub
[go: up one dir, main page]

Skip to content

Commit 63dc969

Browse files
Document asyncio performance improvement in What's New (#103370)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent f329a8b commit 63dc969

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,11 @@ array
210210
asyncio
211211
-------
212212

213+
* The performance of writing to sockets in :mod:`asyncio` has been
214+
significantly improved. ``asyncio`` now avoids unnecessary copying when
215+
writing to sockets and uses :meth:`~socket.socket.sendmsg` if the platform
216+
supports it. (Contributed by Kumar Aditya in :gh:`91166`.)
217+
213218
* On Linux, :mod:`asyncio` uses :class:`~asyncio.PidfdChildWatcher` by default
214219
if :func:`os.pidfd_open` is available and functional instead of
215220
:class:`~asyncio.ThreadedChildWatcher`.

0 commit comments

Comments
 (0)
0