aio-libs
aiohttp
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
[PR #10713/8d74e26 backport][3.12] Avoid fetching loop time on each request unless logging is enabled
#10739
Merged
Comparing
patchback/backports/3.12/8d74e26c70adeabda54c963d4744672c1874cb06/pr-10713
(
9364ed0
) with
3.12
(
cc4b8c5
)
CodSpeed Performance Gauge
0%
Untouched
55
Ignored
3
Benchmarks
Passed
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_web_response
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
+1%
460.7 µs
455.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_web_response_with_bytes_body
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
+1%
559.8 µs
555.5 µs
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%
692.3 µs
687.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_send_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
+1%
559.4 µs
555.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_send_one_hundred_large_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
+1%
548 µs
544.8 µ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%
673.5 µs
671.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_send_one_hundred_websocket_compressed_messages[isal.isal_zlib-pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_get_request_with_251308_compressed_chunked_payload[zlib_ng.zlib_ng-pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
236.4 ms
235.9 ms
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
0%
68.6 µs
68.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_send_client_request_one_hundred[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
0%
2.4 ms
2.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_serialize_headers
tests/test_benchmarks_http_writer.py
CodSpeed Performance Gauge
0%
848.6 µs
848 µs
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
0%
24.2 ms
24.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_send_one_hundred_websocket_compressed_messages[zlib-pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
3.1 ms
3.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_thousand_round_trip_websocket_binary_messages[pyloop-small]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
0%
16.6 ms
16.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_send_one_hundred_websocket_compressed_messages[zlib_ng.zlib_ng-pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
2.1 ms
2.1 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%
254.7 µs
254.6 µs
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
0%
17 ms
17 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_get_request_with_251308_compressed_chunked_payload[zlib-pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
425.9 ms
425.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_ten_streamed_responses_iter_chunked_65536[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
22.9 ms
22.9 ms
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
0%
9 ms
9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_ten_streamed_responses_iter_chunked_4096[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
28 ms
28 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_ten_streamed_responses_iter_chunks[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
16.1 ms
16.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_thousand_round_trip_websocket_binary_messages[pyloop-large]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
0%
134.7 ms
134.8 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.8 µs
169 µs
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
0%
258.2 µs
258.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_web_file_response[pyloop]
tests/test_benchmarks_web_fileresponse.py
CodSpeed Performance Gauge
0%
77.9 ms
78 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_get_requests_with_512kib_content_length_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
164.3 ms
164.7 ms
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%
882.2 µs
884.3 µs
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.8 µs
791.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_get_request_with_251308_compressed_chunked_payload[isal.isal_zlib-pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
70.4 ms
70.6 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.3 ms
38.4 ms
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.5 ms
36.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_web_file_response_not_modified[pyloop]
tests/test_benchmarks_web_fileresponse.py
CodSpeed Performance Gauge
0%
54.8 ms
55 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_dynamic_resource_url_with_many_dynamic_routes[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
0%
3.5 ms
3.6 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
0%
3.6 ms
3.6 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.4 ms
40.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%
34.9 ms
35.1 ms
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
0%
245.3 ms
246.4 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 ms
39.2 ms
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
0%
83.7 ms
84.1 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
0%
296.2 ms
297.7 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
-1%
32.2 ms
32.3 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
-1%
35.4 ms
35.6 ms
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
-1%
972.9 µs
978.2 µs
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
-1%
34.8 ms
35 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
-1%
31.9 ms
32.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_gitapi[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
-1%
293.1 ms
295.1 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
-1%
874.4 µs
881.8 µs
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%
126.1 µs
127.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_multiple_fixed_url_with_many_routes[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
-1%
2.2 ms
2.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_gitapi_root[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
-1%
2 ms
2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_root_route_with_many_fixed_routes[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
-1%
872 µs
881.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_resolve_multiple_level_fixed_url_with_many_routes[pyloop]
tests/test_benchmarks_web_urldispatcher.py
CodSpeed Performance Gauge
-1%
8.5 ms
8.6 ms
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
-1%
4.9 ms
4.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_load_cookies_into_temp_cookiejar
tests/test_benchmarks_cookiejar.py
CodSpeed Performance Gauge
-2%
200.5 µs
204.5 µs
Ignored
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_get_requests_iter_chunks_on_512kib_chunked_payload[pyloop]
tests/test_benchmarks_client.py
Ignored
CodSpeed Performance Gauge
0%
119.3 ms
119.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_get_requests_with_512kib_chunked_payload[pyloop]
tests/test_benchmarks_client.py
Ignored
CodSpeed Performance Gauge
0%
166 ms
166.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_ten_streamed_responses_iter_any[pyloop]
tests/test_benchmarks_client.py
Ignored
CodSpeed Performance Gauge
0%
21.6 ms
21.7 ms
Commits
Click on a commit to change the comparison range
Base
3.12
cc4b8c5
-0.26%
Avoid fetching loop time on each request unless logging is enabled (#10713) Co-authored-by: Sam Bull <git@sambull.org> (cherry picked from commit 8d74e26c70adeabda54c963d4744672c1874cb06)
9364ed0
9 months ago
by bdraco
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs