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
46
Ignored
2
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Ignored
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_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_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_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_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_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_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
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_get_requests_with_30000_chunked_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
40.5 ms
40.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_get_requests_with_1024_content_length_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
35.1 ms
35 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_get_requests_with_30000_content_length_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
39.4 ms
39.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_web_stream_response
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
0%
241.3 µs
241.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_serialize_headers
tests/test_benchmarks_http_writer.py
CodSpeed Performance Gauge
0%
803.8 µs
803.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_simple_post_requests[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
36.7 ms
36.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_root_route[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
0%
880.9 µs
880.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_web_response_with_text_body
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
0%
657.2 µs
656.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_single_fixed_url_with_many_routes[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
0%
884.1 µs
884 µs
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