Avatar for the pydantic user
pydantic
httpx2
BlogDocsChangelog

Switch benchmarks to real HTTP roundtrips against a localhost WSGI server

#959Closed
Comparing
high-level-benchmark-suite
(
a1d3bd5
) with
main
(
8d5f182
)
CodSpeed Performance Gauge
-93%
Regression
1
New
5
Skipped
6

Benchmarks

12 total
test_bench_client_stream_download
tests/test_benchmark.py
CodSpeed Performance Gauge
-93%
28.2 ms379.3 ms
test_bench_url_parse_and_join
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A165.8 ms
test_bench_client_post_large
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A149.4 ms
test_bench_client_get_json
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A344.5 ms
test_bench_client_keepalive_burst
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A235.6 ms
test_bench_request_build_json
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A204.6 ms
test_bench_request_multipart
tests/test_benchmark.py
Skipped
15.9 ms*
test_bench_url_join
tests/test_benchmark.py
Skipped
168.3 ms*
test_bench_sync_stream_write_large
tests/test_benchmark.py
Skipped
242.3 ms*
test_bench_request_json_post
tests/test_benchmark.py
Skipped
85.6 ms*
test_bench_response_gzip_decode_large
tests/test_benchmark.py
Skipped
35.5 ms*
test_bench_client_post_large_json
tests/test_benchmark.py
Skipped
217.9 ms*

Commits

Click on a commit to change the comparison range
Base
main
8d5f182
-75.67%
Switch benchmarks to real HTTP roundtrips against a localhost WSGI server
1ae4681
4 hours ago
by Kludex
-16.9%
Tune benchmark loop counts and payload sizes for stable walltime signal
a1d3bd5
4 hours ago
by Kludex
© 2026 CodSpeed Technology
Home Terms Privacy Docs