pydantic
httpx2
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Merge branch 'main' into perf/memoryview-write
mbeijen:perf/memoryview-write
3 minutes ago
Bump sync_stream_write benchmark payload to 64MB (#957)
main
3 minutes ago
perf: use memoryview in write() to avoid copies Use memoryview slicing in TLSinTLSStream.write() and SyncStream.write() so that each iteration of the send loop does a zero-copy view advance instead of copying the remaining buffer bytes. Most visible on large POST uploads where partial sends cause repeated re-copies of the tail. Ported from https://codeberg.org/httpxyz/httpcorexyz/pulls/4 Closes https://github.com/pydantic/httpx2/issues/912 Closes https://github.com/encode/httpcore/issues/1029 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-Authored-By: naarob <laforge@forge-sync.local>
mbeijen:perf/memoryview-write
5 minutes ago
Bump sync_stream_write benchmark payload to 64MB
bump-bench-payload-64mb
8 minutes ago
Mark rewrite fallback as no-cover
promote-public-type-aliases
12 minutes ago
Group `httpx2.__all__` by source module Alphabetical sorting scatters related symbols (`Auth` vs `AuthTypes`, `AsyncClient` vs `AsyncByteStream`). Organize entries by the submodule they come from instead, matching the `from ._foo import *` order at the top of `__init__.py`, with a section comment per group. Relax `test_all_imports_are_exported` to compare sets rather than asserting a specific order, since order is now intentional.
promote-public-type-aliases
15 minutes ago
Promote typing aliases and `UseClientDefault` to the public API Downstream libraries (Starlette `TestClient`, FastAPI, RESPX, pytest-httpx, ...) currently import these from `httpx2._types` and `httpx2._client`, both private modules with no stability guarantee. Promote the aliases that already exist to the top-level `httpx2` namespace so downstreams can depend on them.
promote-public-type-aliases
20 minutes ago
Merge branch 'main' into perf/memoryview-write
mbeijen:perf/memoryview-write
22 minutes ago
Latest Branches
CodSpeed Performance Gauge
-10%
perf: use memoryview in write() to avoid copies
#954
5 minutes ago
519a8d6
mbeijen:perf/memoryview-write
CodSpeed Performance Gauge
-95%
Bump sync_stream_write benchmark payload to 64MB
#957
11 minutes ago
1ab0bb9
bump-bench-payload-64mb
CodSpeed Performance Gauge
-2%
Promote typing aliases and `UseClientDefault` to the public API
#956
14 minutes ago
445b241
promote-public-type-aliases
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs