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

Fix WebSocket reader flow control calculations

#9685Merged
Comparing
websocket_flow_control
(
6c174e2
) with
master
(
e85db24
)
CodSpeed Performance Gauge
+1%
Untouched
14

Benchmarks

14 total
test_one_thousand_round_trip_websocket_binary_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
+7%
17.5 ms16.4 ms
test_one_thousand_round_trip_websocket_text_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
+6%
17.9 ms16.9 ms
test_read_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
+5%
321.7 µs307.4 µs
test_send_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
+1%
567.6 µs560.6 µs
test_send_one_hundred_large_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
+1%
667.8 µs662.9 µs
test_send_one_hundred_websocket_text_messages_with_mask[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
+1%
812.4 µs806.4 µs
test_one_hundred_simple_get_requests[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
38.7 ms38.7 ms
test_serialize_headers
tests/test_benchmarks_http_writer.py
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
test_send_client_request_one_hundred[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
0%
4.4 ms4.4 ms
test_create_client_request_with_cookies[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
0%
133.2 µs133.5 µs
test_client_request_update_cookies[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
0%
174.8 µs175.1 µs
test_create_client_request_with_headers[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
0%
72.8 µs73 µs
test_load_cookies_into_temp_cookiejar
tests/test_benchmarks_cookiejar.py
CodSpeed Performance Gauge
-1%
204.5 µs205.9 µs
test_one_thousand_large_round_trip_websocket_text_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
-4%
22.8 ms23.7 ms

Commits

Click on a commit to change the comparison range
Base
master
e85db24
-1.41%
Update aiohttp/_websocket/reader_py.py
539ff38
1 year ago
by bdraco
+0.02%
Update aiohttp/web_ws.py
7cbe329
1 year ago
by bdraco
-0.09%
cleanup
a1b54ed
1 year ago
by bdraco
+1.1%
fix benchmark
2b661c2
1 year ago
by bdraco
-0.1%
more fixes
9726051
1 year ago
by bdraco
-0.06%
fixes
763ec7e
1 year ago
by bdraco
+0.28%
preen
328738d
1 year ago
by bdraco
-0.34%
lint
effafee
1 year ago
by bdraco
+0.93%
cache prop
b271554
1 year ago
by bdraco
+1.17%
preen
4cf1b69
1 year ago
by bdraco
-0.42%
dry
4773d89
1 year ago
by bdraco
-0.05%
compare data.size to tuple access
080d39a
1 year ago
by bdraco
-0.16%
[pre-commit.ci] auto fixes from pre-commit.com hooks
b4f60eb
1 year ago
by pre-commit-ci[bot]
+0.1%
Revert "Apply suggestions from code review"
af16201
1 year ago
by bdraco
-0.09%
changelog
7fb47a2
1 year ago
by bdraco
+0.1%
Update CHANGES/9685.breaking.rst
9e839d8
1 year ago
by bdraco
+0.09%
Merge branch 'master' into websocket_flow_control
6c174e2
1 year ago
by bdraco
© 2026 CodSpeed Technology
Home Terms Privacy Docs