aio-libs
aiohttp
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Avoid constructing headers mulitidict twice for ``web.Response``
#10043
Merged
Comparing
avoid_double_headers_copy
(
21753f6
) with
master
(
6f4e961
)
CodSpeed Performance Gauge
+15%
Improvement
1
Untouched
42
Ignored
1
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Ignored
44 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_web_response_with_headers
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
+15%
1.3 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_web_response
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
+8%
722.5 µs
671.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
+7%
949.8 µs
887 µ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
+7%
815.5 µs
762.8 µ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
+1%
4.9 ms
4.9 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
+1%
38.1 ms
37.9 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.1 ms
2.1 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%
35.2 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
0%
35 ms
34.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%
174.5 µs
173.7 µ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
0%
38.3 ms
38.1 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%
42.1 ms
42 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%
39.6 ms
39.5 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%
43.5 ms
43.3 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%
261.2 ms
260.2 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%
40 ms
39.9 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
0%
16.4 ms
16.4 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
0%
1.1 ms
1.1 ms
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.6 ms
2.6 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
0%
16.8 ms
16.8 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%
169.3 ms
169.1 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
0%
206.8 µs
206.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_serialize_headers
tests/test_benchmarks_http_writer.py
CodSpeed Performance Gauge
0%
1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_get_request_with_251308_compressed_chunked_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
465.2 ms
465.1 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.7 ms
3.7 ms
1
2
Commits
Click on a commit to change the comparison range
Base
master
6f4e961
+13.73%
Avoid constructing headers mulitidict twice for web.Response
8538ac4
1 year ago
by bdraco
+0.98%
changelog
21753f6
1 year ago
by bdraco
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs