cpython/Lib/test/test_asyncio
Tony Solomonik 568fb0ff4a
bpo-41273: asyncio's proactor read transport's better performance by using recv_into instead of recv (#21442)
* bpo-41273: Proactor transport read loop to use recv_into

By using recv_into instead of recv we do not allocate a new buffer each
time _loop_reading calls recv.

This betters performance for any stream using proactor (basically any
asyncio stream on windows).

* bpo-41273: Double proactor read transport buffer size

By doubling the read buffer size we get better performance.
2020-07-14 12:41:24 -07:00
..
__init__.py bpo-40275: Use new test.support helper submodules in tests (GH-20824) 2020-06-25 14:15:40 +02:00
__main__.py
echo.py
echo2.py
echo3.py
functional.py
test_base_events.py bpo-40275: Use new test.support helper submodules in tests (GH-20824) 2020-06-25 14:15:40 +02:00
test_buffered_proto.py
test_context.py bpo-39794: Add --without-decimal-contextvar (#18702) 2020-02-29 19:43:42 +01:00
test_events.py bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (GH-20944) 2020-06-18 14:53:19 +02:00
test_futures.py bpo-31033: Add a msg argument to Future.cancel() and Task.cancel() (GH-19979) 2020-05-15 16:55:50 -07:00
test_locks.py
test_pep492.py
test_proactor_events.py bpo-41273: asyncio's proactor read transport's better performance by using recv_into instead of recv (#21442) 2020-07-14 12:41:24 -07:00
test_protocols.py
test_queues.py
test_runners.py
test_selector_events.py
test_sendfile.py bpo-40275: Use new test.support helper submodules in tests (GH-20824) 2020-06-25 14:15:40 +02:00
test_server.py bpo-40443: Remove unused imports in tests (GH-19804) 2020-04-30 02:21:30 +02:00
test_sock_lowlevel.py bpo-30064: Fix slow asyncio sock test (GH-20868) 2020-06-14 00:43:57 -07:00
test_sslproto.py bpo-40443: Remove unused imports in tests (GH-19804) 2020-04-30 02:21:30 +02:00
test_streams.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
test_subprocess.py bpo-40275: Use new test.support helper submodules in tests (GH-20824) 2020-06-25 14:15:40 +02:00
test_tasks.py bpo-40967: Remove deprecated asyncio.Task.current_task() and asyncio.Task.all_tasks() (GH-20874) 2020-07-01 20:41:21 -07:00
test_threads.py bpo-32309: Add support for contextvars in asyncio.to_thread() (GH-20278) 2020-05-20 22:20:43 -07:00
test_transports.py
test_unix_events.py bpo-40275: Use new test.support helper submodules in tests (GH-20824) 2020-06-25 14:15:40 +02:00
test_windows_events.py
test_windows_utils.py
utils.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +02:00