Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add benchmark for connection fields #1

Closed
wants to merge 8 commits into from
Closed

Conversation

jnak
Copy link
Owner

@jnak jnak commented Jan 6, 2020

PR preview

@Nabellaleen
Copy link

Nice ! I already imagine how a Github Action/Bot could display the benchmark comparison with the previous version ;)
But I think this should be for another PR ;)

@jnak
Copy link
Owner Author

jnak commented Jan 22, 2020

@Nabellaleen Thanks for reviewing! Though I can't merge it yet in the graphene-sqlalchemy repo because I need to send a PR once I merge graphql-python#254 in master.

jnak added 2 commits January 22, 2020 17:58
…ql-python#254)

This optimization batches what used to be multiple SQL statements into a single SQL statement. For now, you'll have to enable the optimization via the `SQLAlchemyObjectType.Meta.connection_field_factory` (see `test_batching.py`).
@jnak jnak closed this Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants