aio-libs
aiohttp
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Defer creation of SimpleCookie objects in the web server until needed
#9895
Merged
Comparing
web_cookies_lazy
(
8ae15f7
) with
master
(
9ca1a58
)
CodSpeed Performance Gauge
+18%
Improvement
4
Untouched
37
Ignored
1
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Ignored
42 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_web_stream_response
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
+18%
560.8 µs
477.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_web_response
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
+12%
813.7 µs
727.5 µ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
+11%
907.6 µs
818.5 µ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
+9%
1,037.8 µs
953.4 µ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
+6%
1.4 ms
1.3 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
+1%
175.9 µs
174.6 µ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%
23.5 ms
23.4 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
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%
207.7 µs
206.7 µ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%
808.1 µs
805.2 µ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
0%
260.7 ms
259.8 ms
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
0%
565.9 µs
564.1 µ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%
16.9 ms
16.9 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
0%
4.9 ms
4.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%
39.9 ms
39.9 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.5 ms
35.5 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%
38.6 ms
38.5 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.7 ms
35.7 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
0%
133.5 µs
133.4 µ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%
38.6 ms
38.6 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.4 ms
42.4 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.7 ms
43.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_send_one_hundred_websocket_compressed_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
3.3 ms
3.3 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%
464.9 ms
464.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_serialize_headers
tests/test_benchmarks_http_writer.py
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
1
2
Commits
Click on a commit to change the comparison range
Base
master
9ca1a58
+19.8%
coverage
f4035da
1 year ago
by bdraco
-1.52%
coverage
c91a0bf
1 year ago
by bdraco
+1.18%
drop unrelated changes
d8f7f99
1 year ago
by bdraco
-1.93%
remove unreachable code, there is no way to set a cookie with a coded_value of ""
8ae15f7
1 year ago
by bdraco
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs