Avatar for the langflow-ai user
langflow-ai
langflow
BlogDocsChangelog

ref: Use better task cancellation logic

#5397Merged
Comparing
cbornet:task-cancel
(
c0c2e81
) with
main
(
c4de1da
)
CodSpeed Performance Gauge
×2.2
Improvements
1
Regressions
0
Untouched
14
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

test_get_and_cache_all_types_dict
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
CodSpeed Performance Gauge
×2.2
2.3 ms
1.1 ms

Passed

test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
CodSpeed Performance Gauge
+1%
269.2 ms
265.4 ms
test_load_flows
src/backend/tests/performance/test_server_init.py::test_load_flows
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_create_starter_projects
src/backend/tests/performance/test_server_init.py::test_create_starter_projects
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
test_initialize_services
src/backend/tests/performance/test_server_init.py::test_initialize_services
CodSpeed Performance Gauge
0%
158.7 ms
158.6 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
CodSpeed Performance Gauge
0%
1.2 s
1.2 s
test_invalid_run_with_input_type_chat
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
CodSpeed Performance Gauge
0%
31.7 ms
31.7 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
CodSpeed Performance Gauge
0%
544.8 ms
545.5 ms
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
CodSpeed Performance Gauge
0%
164 ms
164.2 ms
test_successful_run_with_input_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
CodSpeed Performance Gauge
0%
276.2 ms
276.7 ms
test_successful_run_with_output_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
CodSpeed Performance Gauge
0%
256.5 ms
257.6 ms
test_setup_llm_caching
src/backend/tests/performance/test_server_init.py::test_setup_llm_caching
CodSpeed Performance Gauge
-1%
1.2 ms
1.2 ms
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
CodSpeed Performance Gauge
-1%
451.7 ms
455.2 ms
test_successful_run_with_input_type_text
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
CodSpeed Performance Gauge
-1%
264.5 ms
267.2 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
CodSpeed Performance Gauge
-1%
432.1 ms
437.8 ms

Commits

Click on a commit to change the comparison range
Base
main
c4de1da
+150%
Use better task cancellation logic
53b8450
21 days ago
by cbornet
-48%
Merge branch 'main' into task-cancel
9d3f9c9
17 days ago
by ogabrielluiz
+20%
Merge branch 'main' into task-cancel
c0c2e81
17 days ago
by cbornet
Home Terms PrivacyDocs