Avatar for the Kludex user
Kludex
uvicorn
BlogDocsChangelog

Implement keepalive for websockets-sansio

#2884Closed
Comparing
MrNaif2018:sansio-ws-keepalive
(
b65ceb9
) with
main
(
c9a75fb
)
CodSpeed Performance Gauge
0%
Untouched
24

Benchmarks

24 total
test_bench_large_post[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+3%
1.6 ms1.5 ms
test_bench_fragmented_body[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
+1%
2.5 ms2.5 ms
test_bench_simple_get[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
1,000.9 µs998.1 µs
test_bench_ws_handshake[wsproto]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_bench_chunked_response[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
734.5 µs732.7 µs
test_bench_simple_get[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
881 µs879.3 µs
test_bench_http10[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
962.8 µs961.2 µs
test_bench_pipelined_requests[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_bench_keepalive_reuse[h11]
tests/benchmarks/test_http.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_post_body_receive[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
741 µs740.8 µs
test_bench_chunked_response[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
951.1 µs950.9 µs
test_bench_post_body_receive[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
972.9 µs972.8 µs
test_bench_large_post[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_bench_connection_close[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
734.5 µs734.9 µs
test_bench_simple_post[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
984.1 µs984.9 µs
test_bench_connection_close[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
977.7 µs978.6 µs
test_bench_http10[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
727.8 µs728.8 µs
test_bench_keepalive_reuse[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
789.3 µs790.8 µs
test_bench_pipelined_requests[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
844.9 µs846.6 µs
test_bench_simple_post[httptools]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
0%
741.8 µs744.6 µs
test_bench_ws_handshake[websockets-sansio]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
-1%
1.2 ms1.2 ms
test_bench_ws_send_text[websockets-sansio]
tests/benchmarks/test_ws.py
CodSpeed Performance Gauge
-1%
1.1 ms1.2 ms
test_bench_fragmented_body[h11]
tests/benchmarks/test_http.py
CodSpeed Performance Gauge
-2%
10.7 ms11 ms

Commits

Click on a commit to change the comparison range
Base
main
c9a75fb
+0.32%
Implement keepalive for websockets-sansio
1734fed
4 days ago
by MrNaif2018
-0.47%
Add more tests
b44fc2c
4 days ago
by MrNaif2018
+0.05%
Run new tests only on sansio implementation
b2d02b0
4 days ago
by MrNaif2018
+0.12%
Handle python 3.10 asyncio.TimeoutError, add another test
b65ceb9
4 days ago
by MrNaif2018
© 2026 CodSpeed Technology
Home Terms Privacy Docs