Avatar for the sparckles user
sparckles
Robyn
BlogDocsChangelog

feat: add --max-requests for worker process recycling

#1354
Comparing
feat/process-recycling
(
cfe0649
) with
main
(
41c94df
)
CodSpeed Performance Gauge
0%
Untouched
189

Benchmarks

189 total
test_sse_streaming_async_real_time
integration_tests/test_sse.py
CodSpeed Performance Gauge
+3%
4.2 ms4 ms
test_sse_streaming_sync_real_time
integration_tests/test_sse.py
CodSpeed Performance Gauge
+3%
3.8 ms3.7 ms
test_basic_get[/async/response/const-async response const get-async_const-response]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
3.3 ms3.3 ms
test_sse_basic_headers
integration_tests/test_sse.py
CodSpeed Performance Gauge
+1%
2.7 ms2.6 ms
test_patch_with_param[async]
integration_tests/test_patch_requests.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_serve_html[async]
integration_tests/test_get_requests.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_post_with_param[sync]
integration_tests/test_post_requests.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_multipart_file[sync]
integration_tests/test_multipart_data.py
CodSpeed Performance Gauge
0%
2.9 ms2.8 ms
test_sse_basic_stream
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
4 ms4 ms
test_easy_access_path_and_query_params[async]
integration_tests/test_easy_access_params.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_patch_with_param[sync]
integration_tests/test_patch_requests.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_post[sync]
integration_tests/test_post_requests.py
CodSpeed Performance Gauge
0%
3 ms3 ms
test_put[sync]
integration_tests/test_put_requests.py
CodSpeed Performance Gauge
0%
3 ms3 ms
test_basic_get[/async/dict/const-async dict const get-async_const-dict]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
test_form_data[sync]
integration_tests/test_multipart_data.py
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms
test_json_body_bare[async]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_global_middleware_applied_to_const_routes[/async/dict/const]
integration_tests/test_middlewares.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_split_request_params_get_method[split_request_untyped-sync]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_exception_handling[/sync/exception/post-post]
integration_tests/test_exception_handling.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_file_download[sync]
integration_tests/test_file_download.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_split_request_params_get_headers[split_request_typed-async]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_patch[async]
integration_tests/test_patch_requests.py
CodSpeed Performance Gauge
0%
3.1 ms3 ms
test_json_body_typed[async]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_http_request_info_get[/sync/http/param-expected_json0]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_basic_get[/async/str/const-async str const get-None-None]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms

Commits

Click on a commit to change the comparison range
Base
main
41c94df
+0.28%
feat: add --max-requests for worker process recycling
53ddacc
2 months ago
by sansyrox
-0.01%
[pre-commit.ci] auto fixes from pre-commit.com hooks
62ce87c
2 months ago
by pre-commit-ci[bot]
-0.14%
fix: validate --max-requests rejects non-positive values at parse time
bba766c
2 months ago
by sansyrox
+0.04%
fix: reap zombie processes, count all requests, disable recycling for inline workers
e2ddef7
2 months ago
by sansyrox
-0.03%
fix: move max-requests recycling check into Rust server runtime
7546da5
2 months ago
by sansyrox
+0.11%
fix: make --max-requests work with single-process mode
cfe0649
1 month ago
by sansyrox
© 2026 CodSpeed Technology
Home Terms Privacy Docs