aio-libs
aiohttp
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Implement zero copy writes in `StreamWriter`
#9839
Merged
Comparing
zerocopy_writes
(
d482e66
) with
master
(
fabf388
)
CodSpeed Performance Gauge
+53%
Improvement
1
Untouched
22
Ignored
1
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Ignored
24 total
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
+9%
48.2 ms
44 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.5 µs
174.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_read_one_hundred_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
312.1 µs
310.7 µs
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%
36 ms
35.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_send_one_hundred_large_websocket_text_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
540 µs
538.6 µs
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.7 ms
42.6 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.8 ms
38.8 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.8 ms
40.8 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_one_hundred_get_requests_with_512kib_content_length_payload[pyloop]
tests/test_benchmarks_client.py
CodSpeed Performance Gauge
0%
170 ms
169.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_read_large_binary_websocket_messages[pyloop]
tests/test_benchmarks_http_websocket.py
CodSpeed Performance Gauge
0%
9.1 ms
9.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%
464.9 ms
464.9 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%
3.2 ms
3.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
0%
206.8 µs
207.1 µs
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%
560.2 µs
561.4 µ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
17 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_serialize_headers
tests/test_benchmarks_http_writer.py
CodSpeed Performance Gauge
-1%
1.3 ms
1.3 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
-1%
16.5 ms
16.6 ms
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
-1%
804.5 µs
812.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_create_client_request_with_headers[pyloop]
tests/test_benchmarks_client_request.py
CodSpeed Performance Gauge
-1%
72.3 µs
73.2 µs
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
-2%
131.6 µs
134.3 µs
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
-3%
38.9 ms
40 ms
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
-5%
23.7 ms
24.8 ms
The benchmarks below are ignored and won't be included in regression detection.
Learn more about ignoring benchmarks
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_one_hundred_get_requests_with_512kib_chunked_payload[pyloop]
tests/test_benchmarks_client.py
Ignored
CodSpeed Performance Gauge
+53%
262.5 ms
171.3 ms
Commits
Click on a commit to change the comparison range
Base
master
fabf388
+59.93%
add missing coverage
385f2de
1 year ago
by bdraco
-16.11%
preen
424a82f
1 year ago
by bdraco
+9.39%
payload compressed to well to end up with two chunks
285427f
1 year ago
by bdraco
-9.35%
Merge branch 'master' into zerocopy_writes
67b46d7
1 year ago
by bdraco
+9.26%
Merge remote-tracking branch 'upstream/zerocopy_writes' into zerocopy_writes
84fce16
1 year ago
by bdraco
-9.37%
fix payload
b690569
1 year ago
by bdraco
+9.46%
lint
029e701
1 year ago
by bdraco
+0.03%
add missing coverage
d482e66
1 year ago
by bdraco
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs