aio-libs
aiohttp
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
[PR #11085/51698fb1 backport][3.13] Replace expensive isinstance checks with faster alternatives
#11087
Merged
Comparing
patchback/backports/3.13/51698fb1a00a2f632158a5db170a488c6bdf0063/pr-11085
(
21d2a05
) with
3.13
(
6bf919a
)
CodSpeed Performance Gauge
0%
Untouched
66
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
66 total
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
+4%
126.5 µs
121.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_client_receive_large_websocket_compressed_messages[isal.isal_zlib-pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
+3%
19.8 ms
19.2 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
+3%
189.3 µs
183.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_client_send_large_websocket_compressed_messages[isal.isal_zlib-pyloop]
tests/test_benchmarks_client_ws.py
CodSpeed Performance Gauge
+3%
19.8 ms
19.2 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
+2%
165.8 µs
161.9 µ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%
703.1 µs
695.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_web_stream_response
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
+1%
256.5 µs
254.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_web_response
tests/test_benchmarks_web_response.py
CodSpeed Performance Gauge
+1%
464.4 µs
460.7 µ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
+1%
36 ms
35.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
+1%
563.3 µs
560.4 µs
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%
41 ms
40.8 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%
33 ms
32.8 ms
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%
679.3 µs
676.1 µ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%
798.9 µs
795.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
0%
35.5 ms
35.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_simple_get_requests_alternating_clients[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
33.9 ms
33.7 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%
37 ms
36.9 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%
33.2 ms
33.1 ms
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
0%
560.9 µs
558.6 µs
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%
23 ms
22.9 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%
40.7 ms
40.6 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%
56 ms
55.8 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.4 ms
16.3 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.8 ms
38.7 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%
35.8 ms
35.6 ms
1
2
3
Commits
Click on a commit to change the comparison range
Base
3.13
6bf919a
+0.27%
Replace expensive isinstance checks with faster alternatives (#11085)
21d2a05
1 year ago
by bdraco
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs