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

refactor: (codelash) ⚡️ Speed up function `find_all_cycle_edges` by 17%

#5389
Comparing
codeflash-ai:codeflash/optimize-find_all_cycle_edges-2024-12-11T14.37.21
(
8a42cc0
) with
main
(
243055e
)
CodSpeed Performance Gauge
-58%
Improvements
1
Regressions
4
Untouched
10
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

test_get_and_cache_all_types_dictRegression
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
CodSpeed Performance Gauge
-58%
1 ms
2.4 ms
test_successful_run_with_input_type_anyRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
CodSpeed Performance Gauge
-18%
262.7 ms
320 ms
test_successful_run_with_output_type_anyRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
CodSpeed Performance Gauge
-18%
203 ms
248.4 ms
test_successful_run_with_output_type_debugRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
CodSpeed Performance Gauge
-13%
225.1 ms
258 ms

Improved

test_setup_llm_caching
src/backend/tests/performance/test_server_init.py::test_setup_llm_caching
CodSpeed Performance Gauge
+77%
2.1 ms
1.2 ms

Passed

test_successful_run_with_input_type_text
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
CodSpeed Performance Gauge
0%
258.2 ms
257.2 ms
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
CodSpeed Performance Gauge
0%
164.6 ms
164.4 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.8 ms
158.9 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_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
CodSpeed Performance Gauge
0%
543.4 ms
543.9 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
CodSpeed Performance Gauge
0%
436.3 ms
436.9 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_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
CodSpeed Performance Gauge
-1%
455.2 ms
457.7 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%
30.8 ms
31.2 ms

Commits

Click on a commit to change the comparison range
Base
main
243055e
-58%
Merge branch 'main' into codeflash/optimize-find_all_cycle_edges-2024-12-11T14.37.21
8a42cc0
1 day ago
by misrasaurabh1
Home Terms PrivacyDocs