langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
35.42k stars 4.22k forks source link

fix: Use AsyncSession in crud log and find_flow #4691

Open cbornet opened 6 days ago

cbornet commented 6 days ago

Use AsyncSession in crud log

codspeed-hq[bot] commented 5 days ago

CodSpeed Performance Report

Merging #4691 will degrade performances by 37.38%

Comparing cbornet:async-session-crud-log (52863e3) with main (a0acf39)

Summary

⚡ 1 improvements
❌ 2 regressions
✅ 12 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main cbornet:async-session-crud-log Change
test_invalid_run_with_input_type_chat 27 ms 32.6 ms -17.1%
test_successful_run_with_input_type_any 298.1 ms 247.2 ms +20.59%
test_successful_run_with_output_type_any 141.1 ms 225.3 ms -37.38%