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 bpo-38614: Use test.support.LOOPBACK_TIMEOUT constant (GH-17554) 2019-12-10 20:32:59 +01:00
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 bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) 2019-09-29 21:59:55 -07:00
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 bpo-34793: Drop old-style context managers in asyncio.locks (GH-17533) 2020-02-01 13:12:52 +02:00
test_pep492.py bpo-34793: Drop old-style context managers in asyncio.locks (GH-17533) 2020-02-01 13:12:52 +02:00
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 bpo-35394: Add empty slots to abstract asyncio protocols (#10889) 2018-12-11 19:07:05 +02:00
test_queues.py bpo-38107: Replace direct future and task contructor calls with factories in asyncio tests (GH-15928) 2019-09-11 16:07:37 +03:00
test_runners.py
test_selector_events.py bpo-38107: Replace direct future and task contructor calls with factories in asyncio tests (GH-15928) 2019-09-11 16:07:37 +03:00
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 bpo-38148: Add slots to asyncio transports (GH-16077) 2019-09-13 15:18:46 +03:00
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 bpo-34679: ProactorEventLoop only uses set_wakeup_fd() in main thread (GH-16901) 2019-10-23 17:25:29 +02:00
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