Sebastian Kreft 02db245aee chore: improve uvicorn settings (#9900) 5 maanden geleden
..
templates 413877bf88 [PYTHON][FASTAPI] Upgrades & improvements (#7613) 3 jaren geleden
README.md 4322cacaef Update documentation links (#4541) 6 jaren geleden
app-socketify-asgi.py 4224e8f355 [Python] fastapi fix gunicorn, add socketify-asgi (#7781) 2 jaren geleden
app.py 08b64d372c [FASTAPI] Bump fastapi to 0.93.0 (#7991) 2 jaren geleden
app_orm.py 08b64d372c [FASTAPI] Bump fastapi to 0.93.0 (#7991) 2 jaren geleden
benchmark_config.json e53e0260e5 Add broken tags to FW's that haven't started/stopped correctly in last 3 full runs + script for detecting failing frameworks (#8255) 2 jaren geleden
config.toml 4224e8f355 [Python] fastapi fix gunicorn, add socketify-asgi (#7781) 2 jaren geleden
fastapi-gunicorn-orjson.dockerfile 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
fastapi-gunicorn-orm.dockerfile 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
fastapi-hypercorn-orjson.dockerfile 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
fastapi-hypercorn.dockerfile 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
fastapi-nginx-unit-orjson.dockerfile 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
fastapi-nginx-unit.dockerfile 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
fastapi-socketify-asgi-pypy.dockerfile 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
fastapi-socketify-asgi.dockerfile 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
fastapi-uvicorn-orjson.dockerfile 02db245aee chore: improve uvicorn settings (#9900) 5 maanden geleden
fastapi-uvicorn.dockerfile 02db245aee chore: improve uvicorn settings (#9900) 5 maanden geleden
fastapi.dockerfile 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
fastapi_conf.py 413877bf88 [PYTHON][FASTAPI] Upgrades & improvements (#7613) 3 jaren geleden
nginx-unit-config-orjson.sh 413877bf88 [PYTHON][FASTAPI] Upgrades & improvements (#7613) 3 jaren geleden
nginx-unit-config.sh 413877bf88 [PYTHON][FASTAPI] Upgrades & improvements (#7613) 3 jaren geleden
requirements-gunicorn.txt 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
requirements-hypercorn.txt 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
requirements-orjson.txt 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
requirements-socketify-pypy.txt 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
requirements-socketify.txt 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
requirements-sqlalchemy.txt 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
requirements-uvicorn.txt 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden
requirements.txt 520d2bbfc0 update python and pypy versions, and all the dependency versions (#9801) 6 maanden geleden

README.md

FastAPI Benchmarking Test

This is the FastAPI portion of a benchmarking tests suite comparing a variety of web development platforms.

The information below is specific to FastAPI. For further guidance, review the documentation. Also note that there is additional information provided in the Python README.

Description

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+.

The key features are:

  • Fast: Very high performance, on par with NodeJS and Go (thanks to Starlette and Pydantic).

  • Fast to code: Increase the speed to develop features by about 200% to 300% *.

  • Less bugs: Reduce about 40% of human (developer) induced errors. *

  • Intuitive: Great editor support. Completion everywhere. Less time debugging.

  • Easy: Designed to be easy to use and learn. Less time reading docs.

  • Short: Minimize code duplication. Multiple features from each parameter declaration. Less bugs.

  • Robust: Get production-ready code. With automatic interactive documentation.

  • Standards-based: Based on (and fully compatible with) the open standards for APIs: OpenAPI and JSON Schema.

* estimation based on tests on an internal development team, building production applications.

Test Paths & Sources

All of the test implementations are located within a single file (app.py).

All the tests are based on the ones for Starlette, as FastAPI is basically Starlette on steroids plus Pydantic, with many features specifically desgined for API development. All this while still supporting all the other features provided by Starlette.

Resources