Kludex
uvicorn
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Memoize trusted host checks to avoid re-parsing the client IP per request
#2970
Merged
Comparing
proxy-headers-cache-trust
(
82bedf4
) with
main
(
3ef2e3e
)
CodSpeed Performance Gauge
+2%
Untouched
24
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
24 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_pipelined_requests[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+5%
846.7 µs
803.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_keepalive_reuse[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+4%
790.5 µs
757.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_pipelined_requests[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+3%
1.4 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_chunked_response[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+3%
736.1 µs
712 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_simple_post[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+3%
749 µs
724.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_post_body_receive[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+3%
745 µs
721.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_connection_close[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+3%
738.1 µs
715.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_simple_get[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+3%
882.3 µs
856.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_keepalive_reuse[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+3%
1.2 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_http10[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+3%
730.7 µs
709.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_chunked_response[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+3%
951.5 µs
927.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_http10[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+3%
965.2 µs
941.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_connection_close[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+3%
982.3 µs
958 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_simple_get[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+2%
1,004.1 µs
979.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_large_post[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+2%
1.1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_simple_post[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+2%
985.2 µs
962.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_post_body_receive[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+2%
975.2 µs
957.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_large_post[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+2%
1.5 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_ws_handshake[wsproto]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
+2%
1.2 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_ws_send_text[websockets-sansio]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
+1%
1.2 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_ws_handshake[websockets-sansio]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
+1%
1.2 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_ws_send_text[wsproto]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
+1%
1.2 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_fragmented_body[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
-2%
10.4 ms
10.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_fragmented_body[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
-7%
2.1 ms
2.3 ms
Commits
Click on a commit to change the comparison range
Base
main
3ef2e3e
+1.93%
Memoize trusted host checks to avoid re-parsing the client IP per request
4077ca4
9 hours ago
by Kludex
+0.34%
no need for test on compute_trust
465e019
9 hours ago
by Kludex
-0.18%
Merge branch 'main' into proxy-headers-cache-trust
82bedf4
2 hours ago
by Kludex
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs