BlogDocs

fix: Use AsyncSession in build_graph_from_db(#4649)

Merged
Comparing
cbornet:async-session-build-graph
(
f1c6497
) with
main
(
efe6407
)
-45%
IMPROVEMENTS
0
REGRESSIONS
2
UNTOUCHED
13
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Failed

test_successful_run_with_input_type_anyRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
-45%
163.6 ms
298.1 ms
test_successful_run_with_output_type_debugRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
-33%
197.1 ms
296.1 ms

Passed

test_load_flows
src/backend/tests/performance/test_server_init.py::test_load_flows
+2%
1.3 ms
1.2 ms
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
+2%
386.3 ms
380.1 ms
test_successful_run_with_input_type_text
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
0%
217.8 ms
217.3 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
0%
526.9 ms
526.3 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
0%
1.2 s
1.2 s
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
0%
669.8 ms
669.4 ms
test_initialize_services
src/backend/tests/performance/test_server_init.py::test_initialize_services
0%
423.6 ms
423.5 ms
test_setup_llm_caching
src/backend/tests/performance/test_server_init.py::test_setup_llm_caching
0%
1.6 ms
1.6 ms
test_create_starter_projects
src/backend/tests/performance/test_server_init.py::test_create_starter_projects
0%
965 ms
964.8 ms
test_get_and_cache_all_types_dict
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
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
-2%
26.7 ms
27.2 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
-3%
389.7 ms
402.2 ms
test_successful_run_with_output_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
-10%
221.7 ms
246 ms

Commits

Click on a commit to change the comparison range
base
main
efe6407
-45%
Use AsyncSession in build_graph_from_db
f1c6497
9 days ago
by cbornet
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.