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

refactor: decompose complex function into smaller ones for readability

#5517Merged
Comparing
refactor/build_results
(
e6fbed1
) with
main
(
656f9f3
)
CodSpeed Performance Gauge
-94%
Improvements
1
Regressions
1
Untouched
13
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

test_successful_run_with_input_type_textRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
CodSpeed Performance Gauge
-94%
249.3 ms
4,196.7 ms

Improved

test_successful_run_with_input_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
CodSpeed Performance Gauge
+94%
340.8 ms
175.6 ms

Passed

test_setup_llm_caching
src/backend/tests/performance/test_server_init.py::test_setup_llm_caching
CodSpeed Performance Gauge
+1%
965.1 µs
959.9 µs
test_initialize_services
src/backend/tests/performance/test_server_init.py::test_initialize_services
CodSpeed Performance Gauge
0%
154.9 ms
154.7 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
CodSpeed Performance Gauge
0%
475.4 ms
474.9 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
CodSpeed Performance Gauge
0%
159.7 ms
159.8 ms
test_load_flows
src/backend/tests/performance/test_server_init.py::test_load_flows
CodSpeed Performance Gauge
0%
1 ms
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_get_and_cache_all_types_dict
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_invalid_run_with_input_type_chat
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
CodSpeed Performance Gauge
-1%
29.3 ms
29.5 ms
test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
CodSpeed Performance Gauge
-2%
248.6 ms
252.6 ms
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
CodSpeed Performance Gauge
-2%
410 ms
419.2 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
-2%
239.2 ms
244.7 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
CodSpeed Performance Gauge
-2%
396.3 ms
406.2 ms

Commits

Click on a commit to change the comparison range
Base
main
656f9f3
-26%
Update src/backend/base/langflow/custom/custom_component/component.py Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2dd8a01
15 days ago
by italojohnny
-68%
Merge branch 'main' into refactor/build_results
e6fbed1
11 days ago
by italojohnny
Home Terms PrivacyDocs