Avatar for the Kludex user
Kludex
uvicorn
BlogDocsChangelog

Make the watchfiles reload tests deterministic

#2972Merged
Comparing
cover-filefilter-exclude-dir-deterministically
(
a0de8fd
) with
main
(
9154922
)
CodSpeed Performance Gauge
0%
Untouched
24

Benchmarks

24 total
test_bench_fragmented_body[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+9%
2.2 ms2 ms
test_bench_fragmented_body[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+2%
10.5 ms10.3 ms
test_bench_connection_close[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
980.5 µs976.5 µs
test_bench_simple_get[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
877.8 µs876.2 µs
test_bench_http10[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
965 µs963.2 µs
test_bench_ws_send_text[websockets-sansio]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_bench_chunked_response[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
951.4 µs949.7 µs
test_bench_connection_close[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
734.7 µs734 µs
test_bench_keepalive_reuse[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
1.2 ms1.1 ms
test_bench_simple_post[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
983.4 µs982.7 µs
test_bench_pipelined_requests[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_bench_http10[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
728.2 µs727.9 µs
test_bench_keepalive_reuse[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
789 µs788.8 µs
test_bench_large_post[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_bench_pipelined_requests[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
844 µs844 µs
test_bench_large_post[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
test_bench_chunked_response[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
733 µs733.9 µs
test_bench_post_body_receive[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
740.6 µs741.7 µs
test_bench_post_body_receive[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
973.1 µs974.6 µs
test_bench_ws_handshake[websockets-sansio]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_bench_simple_post[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
745.5 µs746.9 µs
test_bench_simple_get[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
999.1 µs1,001.3 µs
test_bench_ws_send_text[wsproto]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_bench_ws_handshake[wsproto]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
-1%
1.2 ms1.2 ms

Commits

Click on a commit to change the comparison range
Base
main
9154922
+0.01%
Cover FileFilter exclude-dir branch with a deterministic unit test
c6763b5
7 hours ago
by Kludex
+0.35%
Poll the watcher in _reload_tester instead of a single check
bae9c4e
7 hours ago
by Kludex
-0.48%
Inline the watcher poll into _reload_tester
d134df7
7 hours ago
by Kludex
-0.06%
Use single backticks in the poll comment
6d22b83
7 hours ago
by Kludex
+0.4%
Poll until the touched files are reported in _reload_tester
6f08f9e
7 hours ago
by Kludex
+0.23%
Intersect polled changes with the touched files in _reload_tester
a0de8fd
7 hours ago
by Kludex
© 2026 CodSpeed Technology
Home Terms Privacy Docs