Avatar for the aio-libs user
aio-libs
aiohttp
BlogDocsChangelog

Add aiofastnet dependency to speedups extra (faster TLS and native kernel TLS support)

#12744
Comparing
tarasko:feature/aiofastnet_extra
(
2961341
) with
master
(
59d55d5
)
CodSpeed Performance Gauge
+21%
Improvement
4
Untouched
68
Skipped
72

Benchmarks

144 total
test_one_thousand_round_trip_websocket_text_messages
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
+25%
16.8 ms13.5 ms
test_one_thousand_round_trip_websocket_binary_messages[small]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
+24%
16.3 ms13.2 ms
test_simple_web_file_sendfile_fallback_response
tests/test_benchmarks_web_fileresponse.py
CodSpeed Performance Gauge
+23%
88.2 ms71.8 ms
test_simple_web_file_response
tests/test_benchmarks_web_fileresponse.py
CodSpeed Performance Gauge
+14%
81.3 ms71.5 ms
test_ten_streamed_responses_iter_any
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+8%
21.6 ms20.1 ms
test_one_thousand_round_trip_websocket_binary_messages[large]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
+6%
101.7 ms95.6 ms
test_one_hundred_get_requests_with_30000_chunked_payload
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+5%
43.4 ms41.2 ms
test_one_hundred_get_requests_with_30000_content_length_payload
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+5%
42.9 ms40.8 ms
test_ten_streamed_responses_iter_chunked_4096
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+3%
36.2 ms35.1 ms
test_one_thousand_large_round_trip_websocket_text_messages
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
+3%
21 ms20.4 ms
test_ten_streamed_responses_iter_chunks
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+3%
122 ms118.7 ms
test_one_hundred_simple_get_requests_multiple_methods_route
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
34.8 ms34 ms
test_one_hundred_simple_get_requests
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
35 ms34.2 ms
test_one_hundred_get_requests_with_1024_content_length_payload
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
37.8 ms37 ms
test_one_hundred_get_requests_with_1024_chunked_payload
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
38.2 ms37.4 ms
test_one_hundred_simple_get_requests_alternating_clients
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
35.6 ms34.9 ms
test_ten_web_middlewares
tests/test_benchmarks_web_middleware.py
CodSpeed Performance Gauge
+2%
37.7 ms36.9 ms
test_one_hundred_simple_post_requests
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
39.3 ms38.5 ms
test_one_hundred_json_post_requests
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
41.3 ms40.5 ms
test_one_hundred_simple_get_requests_no_session
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
89.9 ms88.2 ms
test_one_hundred_get_requests_iter_chunks_on_1mb_chunked_payload
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+2%
148.1 ms145.3 ms
test_resolve_gitapi_subapps
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+2%
181.6 ms178.2 ms
test_load_cookies_into_temp_cookiejar
tests/test_benchmarks_cookiejar.py
CodSpeed Performance Gauge
+2%
189.3 µs186.2 µs
test_ten_compressed_responses_iter_chunked_1mb[zlib]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
286.2 ms283 ms
test_simple_web_file_response_not_modified
tests/test_benchmarks_web_fileresponse.py
CodSpeed Performance Gauge
+1%
58 ms57.4 ms

Commits

Click on a commit to change the comparison range
Base
master
59d55d5
+18.58%
[pre-commit.ci] auto fixes from pre-commit.com hooks
194cead
6 hours ago
by pre-commit-ci[bot]
+0.35%
Update changes file name
41bc07d
6 hours ago
-0.09%
[pre-commit.ci] auto fixes from pre-commit.com hooks
4e37b41
4 hours ago
by pre-commit-ci[bot]
+0.34%
[pre-commit.ci] auto fixes from pre-commit.com hooks
27b94d4
4 hours ago
by pre-commit-ci[bot]
-0.34%
[pre-commit.ci] auto fixes from pre-commit.com hooks
7914294
4 hours ago
by pre-commit-ci[bot]
+2.43%
Fix spelling in faq.rst
b1237e5
3 hours ago
-2.49%
Fix race between multiple threads mocking a function in net_helpers module
9c11a92
3 hours ago
-0.1%
Fix incorrect dependencies after merge
96c1dbe
3 hours ago
+0.24%
Fix tests on python 3.10
e46d184
2 hours ago
-0.39%
Fix tests on 3.10
3e5f308
2 hours ago
+2.73%
Fix flake8 complains, honestly false-positive, but let's pacify it anyway
2961341
2 hours ago
© 2026 CodSpeed Technology
Home Terms Privacy Docs