BlogDocs

fix: Use AsyncSession in crud log and find_flow(#4691)

Comparing
cbornet:async-session-crud-log
(
52863e3
) with
main
(
a0acf39
)
-37%
IMPROVEMENTS
1
REGRESSIONS
2
UNTOUCHED
12
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Failed

test_invalid_run_with_input_type_chatRegression
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
-17%
27 ms
32.6 ms
test_successful_run_with_output_type_anyRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
-37%
141.1 ms
225.3 ms

Improved

test_successful_run_with_input_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
+21%
298.1 ms
247.2 ms

Passed

test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
+6%
249.7 ms
236.3 ms
test_load_flows
src/backend/tests/performance/test_server_init.py::test_load_flows
+1%
1.3 ms
1.3 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
0%
527.4 ms
527.2 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
0%
1.2 s
1.2 s
test_get_and_cache_all_types_dict
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
0%
1.1 ms
1.1 ms
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
0%
954.3 ms
955 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_initialize_services
src/backend/tests/performance/test_server_init.py::test_initialize_services
0%
708 ms
709.7 ms
test_create_starter_projects
src/backend/tests/performance/test_server_init.py::test_create_starter_projects
0%
1.6 s
1.6 s
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
-6%
398 ms
423.6 ms
test_successful_run_with_input_type_text
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
-9%
218 ms
239.2 ms
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
-9%
388.7 ms
428.4 ms

Commits

Click on a commit to change the comparison range
base
main
a0acf39
-37%
Use AsyncSession in crud log and find_flow
52863e3
5 days ago
by cbornet
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.