aio-libs
aiohttp
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
[PR #10601/f7cac7e6 backport][3.11] Reduce WebSocket buffer slicing overhead
#10639
Merged
Comparing
patchback/backports/3.11/f7cac7e63f18691e4261af353e84f9073b16624a/pr-10601
(
857a58e
) with
3.11
(
fca0897
)
CodSpeed Performance Gauge
+16%
Improvement
1
Untouched
48
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
49 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_read_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
+16%
306.3 µs
264.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_dynamic_resource_url_with_many_dynamic_routes_with_common_prefix[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+5%
255.5 ms
244.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_thousand_large_round_trip_websocket_text_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
-4%
23.2 ms
24.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_thousand_round_trip_websocket_text_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
+3%
17.5 ms
17.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_thousand_round_trip_websocket_binary_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
+3%
17.1 ms
16.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_gitapi[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+2%
296 ms
291.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_gitapi_subapps[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+1%
297.2 ms
293 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_dynamic_resource_url_with_many_static_routes[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
+1%
3.6 ms
3.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_create_client_request_with_cookies[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
+1%
127.1 µs
125.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_create_client_request_with_headers[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
-1%
69.3 µs
70 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_read_large_binary_websocket_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
+1%
9.1 ms
9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_web_response
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
-1%
446.8 µs
449.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_web_file_sendfile_fallback_response[pyloop]
tests/test_benchmarks_web_fileresponse.py
CodSpeed Performance Gauge
-1%
84.2 ms
84.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_web_response_with_headers
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
+1%
893.6 µs
889.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_load_cookies_into_temp_cookiejar
tests/test_benchmarks_cookiejar.py
CodSpeed Performance Gauge
0%
201.7 µs
202.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_static_root_route[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
0%
977.9 µs
974 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_gitapi_root[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_json_post_requests[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
38.6 ms
38.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_send_one_hundred_websocket_text_messages_with_mask[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
789.9 µs
792.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_prefix_resources_many_prefix_many_plain[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
0%
4.9 ms
4.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_client_request_update_cookies[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
0%
168.6 µs
169.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_ten_web_middlewares[pyloop]
tests/test_benchmarks_web_middleware.py
CodSpeed Performance Gauge
0%
35 ms
34.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_get_requests_with_1024_chunked_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
35.5 ms
35.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_simple_get_requests_multiple_methods_route[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
32 ms
31.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_simple_get_requests[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
32.2 ms
32.2 ms
1
2
Commits
Click on a commit to change the comparison range
Base
3.11
fca0897
+16.17%
Reduce WebSocket buffer slicing overhead (#10601)
0e583e9
1 year ago
by bdraco
-0.29%
Merge branch '3.11' into patchback/backports/3.11/f7cac7e63f18691e4261af353e84f9073b16624a/pr-10601
857a58e
1 year ago
by bdraco
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs