Avatar for the Kludex user
Kludex
uvicorn
BlogDocsChangelog

Use native `context` parameter for `create_task` on Python 3.11+

#2859Merged
Comparing
hrv-dys:fix/use-native-context-kwarg-3.11
(
8306520
) with
main
(
5211880
)
CodSpeed Performance Gauge
0%
Untouched
24

Benchmarks

24 total
test_bench_http10[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
730.4 µs727.3 µs
test_bench_chunked_response[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
736.7 µs733.5 µs
test_bench_ws_handshake[websockets-sansio]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_bench_ws_send_text[wsproto]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_bench_keepalive_reuse[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
792.7 µs790.1 µs
test_bench_ws_handshake[wsproto]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_bench_post_body_receive[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
974.6 µs972.1 µs
test_bench_ws_send_text[websockets-sansio]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_bench_simple_post[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
746.3 µs744.6 µs
test_bench_post_body_receive[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
743.8 µs742.2 µ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%
848.3 µs847.4 µs
test_bench_connection_close[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
979.1 µs978.4 µs
test_bench_http10[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
963.8 µs963.6 µs
test_bench_connection_close[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
736.8 µs737 µs
test_bench_chunked_response[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
953.3 µs954.2 µs
test_bench_keepalive_reuse[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_bench_pipelined_requests[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_bench_simple_post[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
983.8 µs985.9 µs
test_bench_simple_get[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
997 µs1,000.3 µs
test_bench_simple_get[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
876.1 µs879.3 µs
test_bench_fragmented_body[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
-2%
10.6 ms10.8 ms
test_bench_large_post[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
-3%
1.5 ms1.6 ms
test_bench_fragmented_body[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
-4%
2.4 ms2.5 ms

Commits

Click on a commit to change the comparison range
Base
main
5211880
-0.47%
Use native context= kwarg for create_task on Python 3.11+
b944c2c
15 days ago
by hrv-dys
+0.37%
Add coverage conditional pragmas for version-branched code
fd71eae
15 days ago
by hrv-dys
-0.07%
Fix coverage pragmas: place on body lines not branch lines
caa19d6
15 days ago
by hrv-dys
-0.01%
Fix ruff format: wrap long lines and place pragmas correctly
aa0f955
15 days ago
by hrv-dys
+0.02%
Fix coverage pragmas: match _types.py convention (pragma on branch line, excludes opposite version)
fe1e90c
15 days ago
by hrv-dys
-0.36%
Add coverage pragma for exclude_dir check (flaky on 3.14t)
9ee6f60
15 days ago
by hrv-dys
+0.39%
Update uvicorn/supervisors/watchfilesreload.py
e22d4b7
4 days ago
by Kludex
-0.12%
Merge branch 'main' into fix/use-native-context-kwarg-3.11
8306520
4 days ago
by Kludex
© 2026 CodSpeed Technology
Home Terms Privacy Docs