pydantic
httpx2
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Store elapsed time on stream wrapper to avoid reference cycles
#948
Comparing
mbeijen:no-weakref
(
5b32b91
) with
main
(
c2a2b8d
)
CodSpeed Performance Gauge
-1%
Untouched
15
Skipped
7
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Skipped
22 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_url_parse
tests/test_benchmark.py
CodSpeed Performance Gauge
+1%
155.3 µs
153.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_headers_raw
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
24.9 µs
24.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_queryparams_parse
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
120.8 µs
120.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_extract_cookies
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
720.7 µs
720.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_headers_lookup
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
30.4 µs
30.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_request_json_post
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
493.4 µs
494.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_response_read_json
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.5 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_request_multipart
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
287.1 µs
288.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_url_join
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
231.2 µs
232.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_headers_construct
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
69.8 µs
70.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_digest_auth_flow
tests/test_benchmark.py
CodSpeed Performance Gauge
-1%
335.9 µs
337.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_gzip_decode
tests/test_benchmark.py
CodSpeed Performance Gauge
-1%
202.3 µs
204.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_client_post_json
tests/test_benchmark.py
CodSpeed Performance Gauge
-2%
3.2 ms
3.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_queryparams_merge
tests/test_benchmark.py
CodSpeed Performance Gauge
-2%
45.6 µs
46.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_line_decoder
tests/test_benchmark.py
CodSpeed Performance Gauge
-10%
119.7 µs
132.3 µs
The benchmarks below were skipped, so their baseline results are used instead. If they were deleted in your codebase, archive them to remove them from the performance reports.
Learn more about archiving benchmarks
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_bench_request_multipart
tests/test_benchmark.py
Skipped
15.7 ms
*
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_bench_url_join
tests/test_benchmark.py
Skipped
168 ms
*
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_bench_client_stream_download
tests/test_benchmark.py
Skipped
28.3 ms
*
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_bench_sync_stream_write_large
tests/test_benchmark.py
Skipped
276.6 ms
*
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_bench_request_json_post
tests/test_benchmark.py
Skipped
86.9 ms
*
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_bench_response_gzip_decode_large
tests/test_benchmark.py
Skipped
35.6 ms
*
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_bench_client_post_large_json
tests/test_benchmark.py
Skipped
217.7 ms
*
Commits
Click on a commit to change the comparison range
Base
main
c2a2b8d
-1.07%
Store elapsed time on stream wrapper to avoid reference cycles
5b32b91
9 days ago
by mbeijen
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs