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

fix(client_reqrep): clear _traces in close/release to break session reference cycle

#12669
Comparing
prshant70:fix/client-response-circular-ref-cleanup
(
277c56a
) with
master
(
a0a03ca
)
CodSpeed Performance Gauge
0%
Untouched
72
Skipped
72

Benchmarks

144 total
test_client_send_large_websocket_compressed_messages[zlib_ng.zlib_ng]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
+7%
30 ms28 ms
test_resolve_gitapi_subapps
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+2%
181 ms177.9 ms
test_web_response_with_bytes_body
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
+1%
540.2 µs533.1 µs
test_create_client_request_with_headers
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
+1%
66.7 µs66.1 µs
test_one_hundred_simple_post_requests
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
39.8 ms39.4 ms
test_one_hundred_get_requests_with_1024_chunked_payload
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
38.6 ms38.2 ms
test_ten_web_middlewares
tests/test_benchmarks_web_middleware.py
CodSpeed Performance Gauge
+1%
38 ms37.7 ms
test_one_hundred_simple_get_requests_multiple_methods_route
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
35.1 ms34.8 ms
test_one_hundred_json_post_requests
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
41.9 ms41.6 ms
test_ten_streamed_responses_iter_any
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
21.8 ms21.6 ms
test_one_hundred_get_requests_with_1024_content_length_payload
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
38.1 ms37.8 ms
test_one_hundred_simple_get_requests_alternating_clients
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
36 ms35.7 ms
test_one_hundred_get_requests_with_30000_chunked_payload
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
43.7 ms43.4 ms
test_one_hundred_simple_get_requests
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
35.3 ms35 ms
test_one_hundred_get_requests_with_30000_content_length_payload
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
43.1 ms42.8 ms
test_resolve_dynamic_resource_url_with_many_dynamic_routes
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+1%
3.7 ms3.7 ms
test_resolve_dynamic_resource_url_with_many_dynamic_routes_with_common_prefix
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+1%
149.7 ms148.6 ms
test_simple_web_response
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
+1%
447.2 µs444.3 µs
test_simple_web_file_response_not_modified
tests/test_benchmarks_web_fileresponse.py
CodSpeed Performance Gauge
0%
58.3 ms58.1 ms
test_web_response_with_headers
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
0%
689.3 µs686.3 µs
test_one_hundred_simple_get_requests_no_session
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
90.1 ms89.8 ms
test_simple_web_stream_response
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
0%
238.6 µs237.7 µs
test_resolve_root_route
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
0%
946.7 µs943.4 µs
test_get_request_with_251308_compressed_chunked_payload[isal.isal_zlib]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
74 ms73.7 ms
test_send_client_request_one_hundred
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms

Commits

Click on a commit to change the comparison range
Base
master
a0a03ca
-0.05%
fix: clear _traces in ClientResponse._cleanup_writer to break circular ref
9f1b471
7 hours ago
by prshant70
-0.02%
Merge branch 'master' into fix/client-response-circular-ref-cleanup
277c56a
6 hours ago
by prshant70
© 2026 CodSpeed Technology
Home Terms Privacy Docs