Avatar for the aio-libs user
aio-libs
aiohttp
BlogDocsChangelog

fix: ensure BodyPartReader.read() returns bytes, not bytearray

#12413
Comparing
CrepuscularIRIS:fix/body-part-reader-returns-bytes
(
e650dc4
) with
master
(
365f717
)
CodSpeed Performance Gauge
0%
Untouched
67
Ignored
5
Skipped
4

Benchmarks

4 total
test_one_hundred_get_requests_iter_chunks_on_512kib_chunked_payload[pyloop]
tests/test_benchmarks_client.py
IgnoredSkipped
97.6 ms*
test_one_hundred_get_requests_with_512kib_content_length_payload[pyloop]
tests/test_benchmarks_client.py
Skipped
166.1 ms*
test_one_hundred_get_requests_with_512kib_chunked_payload[pyloop]
tests/test_benchmarks_client.py
IgnoredSkipped
189.3 ms*
test_ten_streamed_responses_iter_chunked_65536[pyloop]
tests/test_benchmarks_client.py
Skipped
23 ms*

Commits

Click on a commit to change the comparison range
Base
master
365f717
-0.1%
[pre-commit.ci] auto fixes from pre-commit.com hooks
e31bc14
19 hours ago
by pre-commit-ci[bot]
+0.03%
docs: update BodyPartReader.read() rtype from bytearray to bytes
c3f30a1
11 hours ago
by CrepuscularIRIS
-0.08%
refactor(tests): parametrize byte-type check and simplify assertions
e650dc4
3 hours ago
by CrepuscularIRIS
© 2026 CodSpeed Technology
Home Terms Privacy Docs