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

Performance History

Latest Results

Bound the quoted-printable partial-line buffer while streaming The per-line encoder held a partial line in memory until a newline arrived, so a newline-free payload segment accumulated in full and nothing reached the transport until EOF, defeating backpressure. Encode each line in fixed 4096-byte blocks joined by soft line breaks, with block boundaries at fixed offsets from the start of the line, and flush every complete block of the pending partial line as it arrives. Block-wise output differs from a single b2a_qp call (each call restarts its soft-break column counter), so as_bytes() uses the same block segmentation: the wire bytes stay a pure function of the payload bytes regardless of chunking and still decode to the original body, while the writer retains at most one block between write() calls.
2sumtech:fix/multipart-as-bytes-encodings
4 hours ago
Document the route metadata change
loonister1:fix/13433-dynamic-routes-with-percent-encodable-fi
9 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
Apply part encodings in MultipartWriter.as_bytes()#13496
5 hours ago
126ba04
2sumtech:fix/multipart-as-bytes-encodings
CodSpeed Performance Gauge
+1%
5 hours ago
dcfbad1
2sumtech:fix/rfc2231-continuation-order
CodSpeed Performance Gauge
0%
6 hours ago
d029481
fix-tail-cap
© 2026 CodSpeed Technology
Home Terms Privacy Docs