aio-libs
aiohttp
BlogDocsChangelog

[PR #9835/32ccfc9a backport][3.11] Adjust client payload benchmarks to better represent real world cases

#9837Merged
Comparing
patchback/backports/3.11/32ccfc9a19c63041c3e0f3166f9e14ba16b113e6/pr-9835
(
47a6d36
) with
3.11
(
9ef7902
)
CodSpeed Performance Gauge
0%
Untouched
17
New
5
Dropped
6
(
6
)
Ignored
1

Benchmarks

New

test_one_hundred_get_requests_with_30000_content_length_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
N/A
N/A42.1 ms
test_one_hundred_get_requests_with_1024_content_length_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
N/A
N/A38.3 ms
test_one_hundred_get_requests_with_30000_chunked_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
N/A
N/A47.6 ms
test_one_hundred_get_requests_with_1024_chunked_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
N/A
N/A38.4 ms
test_one_hundred_get_requests_with_512kib_content_length_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
N/A
N/A169.2 ms

Passed

test_create_client_request_with_headers[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
+1%
72.4 µs71.4 µs
test_create_client_request_with_cookies[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
+1%
133.4 µs132.1 µs
test_client_request_update_cookies[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
+1%
175.4 µs174 µs
test_one_hundred_simple_get_requests[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
35.5 ms35.3 ms
test_read_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
311.3 µs310.4 µs
test_send_client_request_one_hundred[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
0%
3.1 ms3.1 ms
test_send_one_hundred_websocket_compressed_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
3.3 ms3.2 ms
test_one_hundred_simple_post_requests[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
40.4 ms40.3 ms
test_send_one_hundred_websocket_text_messages_with_mask[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
809 µs807.7 µs
test_serialize_headers
tests/test_benchmarks_http_writer.py
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
test_send_one_hundred_large_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
539.8 µs539.5 µs
test_one_thousand_large_round_trip_websocket_text_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
0%
23.4 ms23.4 ms
test_read_large_binary_websocket_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
9.1 ms9.1 ms
test_send_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
561.1 µs562 µs
test_one_thousand_round_trip_websocket_binary_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
0%
16.5 ms16.6 ms
test_one_thousand_round_trip_websocket_text_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
0%
16.9 ms17 ms
test_load_cookies_into_temp_cookiejar
tests/test_benchmarks_cookiejar.py
CodSpeed Performance Gauge
0%
207.6 µs208.4 µs
test_one_hundred_get_requests_with_2048_chunked_payload[pyloop]
tests/test_benchmarks_client.py
Missing
CodSpeed Performance Gauge
N/A
38.6 msN/A
test_one_hundred_get_requests_with_32768_content_length_payload[pyloop]
tests/test_benchmarks_client.py
Missing
CodSpeed Performance Gauge
N/A
42.6 msN/A
test_one_hundred_get_requests_with_1mib_content_length_payload[pyloop]
tests/test_benchmarks_client.py
Missing
CodSpeed Performance Gauge
N/A
299.6 msN/A
test_one_hundred_get_requests_with_32768_chunked_payload[pyloop]
tests/test_benchmarks_client.py
Missing
CodSpeed Performance Gauge
N/A
48.5 msN/A
test_one_hundred_get_requests_with_2048_content_length_payload[pyloop]
tests/test_benchmarks_client.py
Missing
CodSpeed Performance Gauge
N/A
38.4 msN/A
test_one_hundred_get_requests_with_1mib_chunked_payload[pyloop]
tests/test_benchmarks_client.py
Missing
CodSpeed Performance Gauge
N/A
319.3 msN/A

Ignored

test_one_hundred_get_requests_with_512kib_chunked_payload[pyloop]
tests/test_benchmarks_client.py
Ignored
CodSpeed Performance Gauge
N/A
N/A261.9 ms

Commits

Click on a commit to change the comparison range
Base
3.11
9ef7902
+0.22%
Adjust client payload benchmarks to better represent real world cases (#9835) (cherry picked from commit 32ccfc9a19c63041c3e0f3166f9e14ba16b113e6)
47a6d36
1 year ago
by bdraco
© 2025 CodSpeed Technology
Home Terms Privacy Docs