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

Refactor connection waiters to be cancellation safe

#9671Merged
Comparing
race_safe_waiter
(
72c1cba
) with
master
(
5b654d5
)
CodSpeed Performance Gauge
0%
Untouched
13

Benchmarks

13 total
test_one_hundred_simple_get_requests[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
+1%
39.5 ms39 ms
test_create_client_request_with_cookies[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
+1%
133.6 µs132.6 µs
test_client_request_update_cookies[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
+1%
175.3 µs174 µs
test_send_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
+1%
558.5 µs554.9 µs
test_send_one_hundred_large_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
665.7 µs662.5 µs
test_send_one_hundred_websocket_text_messages_with_mask[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
806 µs804 µs
test_load_cookies_into_temp_cookiejar
tests/test_benchmarks_cookiejar.py
CodSpeed Performance Gauge
0%
204 µs203.6 µs
test_one_thousand_round_trip_websocket_text_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
0%
18.6 ms18.6 ms
test_serialize_headers
tests/test_benchmarks_http_writer.py
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
test_one_thousand_large_round_trip_websocket_text_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
0%
22.9 ms22.9 ms
test_one_thousand_round_trip_websocket_binary_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
0%
18.1 ms18.1 ms
test_read_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
-1%
320.4 µs322.2 µs
test_create_client_request_with_headers[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
-2%
72.8 µs73.9 µs

Commits

Click on a commit to change the comparison range
Base
master
5b654d5
+0.08%
Refactor connection waiters to be race safe
d48e287
1 year ago
by bdraco
-0.11%
lint
12ac757
1 year ago
by bdraco
-0.28%
naming
b86ba15
1 year ago
by bdraco
+0.54%
avoid linear search to remove keys
b106f75
1 year ago
by bdraco
+0.12%
fix race
8be5f85
1 year ago
by bdraco
-0.55%
almost passing
5448ad3
1 year ago
by bdraco
+0.09%
more fixes
3299175
1 year ago
by bdraco
-0.32%
more cleanups
1589609
1 year ago
by bdraco
+0.31%
more cleanups
3174c83
1 year ago
by bdraco
-0.21%
still a race
550d7ce
1 year ago
by bdraco
+0.58%
one more race
32d7383
1 year ago
by bdraco
-0.18%
remove redundant done check
5a5260c
1 year ago
by bdraco
-0.03%
loop until one is available
7a47d3e
1 year ago
by bdraco
-0.62%
safer
0a0777e
1 year ago
by bdraco
+0.71%
make sure it still cleans up
f3de5a4
1 year ago
by bdraco
+0.2%
more debug
e9e43a5
1 year ago
by bdraco
-0.5%
fix thread safety issue
39d4cb4
1 year ago
by bdraco
+0.21%
preen
d1f6d36
1 year ago
by bdraco
-0.21%
preen
d6c0578
1 year ago
by bdraco
+0.6%
Update aiohttp/connector.py
8dbb84e
1 year ago
by bdraco
-0.26%
Merge remote-tracking branch 'upstream/race_safe_waiter' into race_safe_waiter
d7072e9
1 year ago
by bdraco
-0.41%
lint
c862e7f
1 year ago
by bdraco
+0.25%
refactor to fix performance issue
b2f6cb6
1 year ago
by bdraco
+0.02%
fix
82365f2
1 year ago
by bdraco
+0.26%
preen
f989ef8
1 year ago
by bdraco
-0.57%
more coverage
e3daafa
1 year ago
by bdraco
-0.01%
more coverage
5c00256
1 year ago
by bdraco
-0.18%
preen
18ddc94
1 year ago
by bdraco
+0.26%
Update CHANGES/9671.bugfix.rst
362be31
1 year ago
by bdraco
-0.19%
Merge remote-tracking branch 'upstream/race_safe_waiter' into race_safe_waiter
a272c2a
1 year ago
by bdraco
+0.14%
fix perf regression
5deb957
1 year ago
by bdraco
+0.44%
update tests
72c1cba
1 year ago
by bdraco
© 2026 CodSpeed Technology
Home Terms Privacy Docs