Kludex
uvicorn
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Pre-create Config objects in benchmarks to measure protocol hot paths
#2851
Merged
Comparing
precreate-config-in-benchmarks
(
63b9f34
) with
main
(
9dbb783
)
CodSpeed Performance Gauge
+81%
Improvement
23
Untouched
1
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
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
+81%
1,503.9 µs
833.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_keepalive_reuse[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+79%
1,387.5 µs
777.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_http10[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+76%
1,259.4 µs
716.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_simple_post[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+75%
1,283.1 µs
733.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_chunked_response[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+75%
1,266.7 µs
723.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_connection_close[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+75%
1,261.6 µs
722.6 µ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
+73%
1,262.7 µs
730.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_simple_get[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+72%
1,479.2 µs
861.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_chunked_response[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+57%
1,469.1 µs
935.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_http10[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+56%
1,475.9 µs
946.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_simple_get[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+56%
1,528.3 µs
981.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_simple_post[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+56%
1,505.9 µs
967 µ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
+55%
1,482.1 µs
956.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_connection_close[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+55%
1,488.4 µs
963.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_large_post[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+52%
1.6 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_keepalive_reuse[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+52%
1.7 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_pipelined_requests[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+49%
2 ms
1.3 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
+38%
1.6 ms
1.1 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
+37%
1.6 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
+37%
1.6 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_ws_handshake[wsproto]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
+33%
1.6 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_large_post[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+32%
2 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_fragmented_body[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+15%
2.9 ms
2.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bench_fragmented_body[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+4%
10.9 ms
10.5 ms
Commits
Click on a commit to change the comparison range
Base
main
9dbb783
+80.52%
Pre-create Config objects in benchmarks to measure protocol hot paths
63b9f34
17 hours ago
by Kludex
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs