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 in FastAPI as a benchmark #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jensenbox
Copy link

  • Introduce FastAPI as a new benchmark
  • Add a new gunicorn benchmark for ninja
  • Remove graph as it becomes stale too easily
  • Sort imports
  • Remove unused code from run_test.py
  • Intentionally unfreeze the requirements.txt - this is to allow for the benchmark to run with the latest versions.

* Introduce FastAPI as a new benchmark
* Add a new gunicorn benchmark for ninja
* Remove graph as it becomes stale too easily
* Sort imports
* Remove unused code from run_test.py
* Intentionally unfreeze the requirements.txt - this is to allow for the benchmark to run with the latest versions.
@MichelML
Copy link

MichelML commented Jun 23, 2023

@vitalik it'd be nice to update the benchmark at some point no? 2020 is a very long time ago and a lot has happened since then

@vitalik
Copy link
Owner

vitalik commented Jun 23, 2023

sure, but current focus is to adapt to pydantic2 and then will start benchmarking work

@MichelML
Copy link

You're the best! Long live django-ninja

@jensenbox
Copy link
Author

I could turn this into a GitHub Action workflow that could be run from time to time - The performance numbers are purely relative anyway right? Benchmarks are always relative - comparing one framework to another on the same hardware is the goal normally.

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.

3 participants