Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

INTPYTHON-637 benchmarking test against in-memory and postgres#149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
caseyclements wants to merge3 commits intolangchain-ai:main
base:main
Choose a base branch
Loading
fromcaseyclements:INTPYTHON-637-benchmarking-with-postgres

Conversation

caseyclements
Copy link
Collaborator

This PR adds a new test that runs a graph taken from/langgraph/bench/fanout_to_subgraph.py in the main langgraph repo.

It is in DRAFT status as it introduces psycopg as a dependency which we have to discuss.

The results for sync and async versions are shown below. (The actual numbers don't matter.) The mongodb numbers are equivalent running on either MongoDB or Atlas CLI locally.

tests/integration_tests/test_fanout_to_subgraph.py::test_syncBegin test_syncmongodb: 8.9449 secondspostgres: 10.8356 secondsin_memory: 3.4794 secondsPASSEDtests/integration_tests/test_fanout_to_subgraph.py::test_asyncBegin test_asyncmongodb_async: 9.7151 secondspostgres_async: 16.1918 secondsin_memory_async: 2.6644 secondsPASSED

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@caseyclements

[8]ページ先頭

©2009-2025 Movatter.jp