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

Adding support for cached queries and validation #17

Merged
merged 2 commits into from
Dec 28, 2023
Merged

Adding support for cached queries and validation #17

merged 2 commits into from
Dec 28, 2023

Conversation

rmyers
Copy link
Owner

@rmyers rmyers commented Dec 28, 2023

Speed up queries:

test_performance.py::test_performance 
performance test results:
fastapi: 0.4227779159991769
ariadne results: 1.8972340779946535
cannula results: 0.5607721659980598
PASSED
test_performance.py::test_performance_invalid_request 
performance test results:
fastapi: 0.3792489000043133
ariadne results: 0.8587529040014488
cannula results: 0.44398653999814996
PASSED
test_performance.py::test_performance_invalid_query 
performance test results:
fastapi: 0.3809400900063338
ariadne results: 2.213744725995639
cannula results: 0.4540315679987543
PASSED

@rmyers rmyers merged commit c5b8453 into main Dec 28, 2023
1 check passed
@rmyers rmyers deleted the speed branch December 28, 2023 17:29
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.

1 participant