aio-libs
aiohttp
BlogDocsChangelog

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

#9836Merged
Comparing
patchback/backports/3.10/32ccfc9a19c63041c3e0f3166f9e14ba16b113e6/pr-9835
(
3a277ff
) with
3.10
(
f3dd0f9
)
CodSpeed Performance Gauge
0%
Untouched
17
New
5
Dropped
6
(
6
)
Ignored
1

Benchmarks

New

test_one_hundred_get_requests_with_30000_chunked_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
N/A
N/A53.5 ms
test_one_hundred_get_requests_with_1024_chunked_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
N/A
N/A44.3 ms
test_one_hundred_get_requests_with_512kib_content_length_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
N/A
N/A175.2 ms
test_one_hundred_get_requests_with_1024_content_length_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
N/A
N/A44.1 ms
test_one_hundred_get_requests_with_30000_content_length_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
N/A
N/A48 ms

Passed

test_one_thousand_large_round_trip_websocket_text_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
+5%
35.6 ms33.8 ms
test_client_request_update_cookies[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
+1%
174.6 µs173.5 µs
test_create_client_request_with_headers[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
0%
75 µs74.7 µs
test_serialize_headers
tests/test_benchmarks_http_writer.py
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
test_one_hundred_simple_post_requests[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
44.9 ms44.9 ms
test_one_hundred_simple_get_requests[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
41.3 ms41.3 ms
test_send_one_hundred_large_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
664.6 µs664.8 µs
test_send_client_request_one_hundred[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
0%
4.5 ms4.5 ms
test_send_one_hundred_websocket_compressed_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
3.3 ms3.3 ms
test_one_thousand_round_trip_websocket_binary_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
0%
28.4 ms28.4 ms
test_one_thousand_round_trip_websocket_text_messages[pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
0%
28.8 ms28.9 ms
test_create_client_request_with_cookies[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
0%
135.1 µs135.3 µs
test_send_one_hundred_websocket_text_messages_with_mask[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
809.6 µs811.2 µs
test_load_cookies_into_temp_cookiejar
tests/test_benchmarks_cookiejar.py
CodSpeed Performance Gauge
0%
213.3 µs213.8 µs
test_read_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
test_send_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
565.4 µs568 µs
test_read_large_binary_websocket_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
-1%
21.7 ms21.8 ms
test_one_hundred_get_requests_with_2048_chunked_payload[pyloop]
tests/test_benchmarks_client.py
Missing
CodSpeed Performance Gauge
N/A
44.4 msN/A
test_one_hundred_get_requests_with_32768_chunked_payload[pyloop]
tests/test_benchmarks_client.py
Missing
CodSpeed Performance Gauge
N/A
54.4 msN/A
test_one_hundred_get_requests_with_1mib_chunked_payload[pyloop]
tests/test_benchmarks_client.py
Missing
CodSpeed Performance Gauge
N/A
325.3 msN/A
test_one_hundred_get_requests_with_1mib_content_length_payload[pyloop]
tests/test_benchmarks_client.py
Missing
CodSpeed Performance Gauge
N/A
305.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
48.4 msN/A
test_one_hundred_get_requests_with_2048_content_length_payload[pyloop]
tests/test_benchmarks_client.py
Missing
CodSpeed Performance Gauge
N/A
44.2 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/A267.8 ms

Commits

Click on a commit to change the comparison range
Base
3.10
f3dd0f9
+0.24%
Adjust client payload benchmarks to better represent real world cases (#9835) (cherry picked from commit 32ccfc9a19c63041c3e0f3166f9e14ba16b113e6)
3a277ff
1 year ago
by bdraco
© 2025 CodSpeed Technology
Home Terms Privacy Docs