|
8 years ago | |
---|---|---|
.. | ||
templates | 11 years ago | |
README.md | 10 years ago | |
app.py | 8 years ago | |
benchmark_config.json | 8 years ago | |
gunicorn_conf.py | 11 years ago | |
nginx.conf | 8 years ago | |
requirements-pypy.txt | 9 years ago | |
requirements.txt | 8 years ago | |
setup_nginxuwsgi.sh | 8 years ago | |
setup_py2.sh | 8 years ago | |
setup_py3.sh | 8 years ago | |
setup_pypy2.sh | 8 years ago | |
source_code | 11 years ago | |
uwsgi.ini | 8 years ago |
The information below is specific to Flask. For further guidance, review the documentation. Also note that there is additional information that's provided in the Python README.
This is the Python Flask portion of a benchmarking tests suite comparing a variety of frameworks.
All test implementations are located within a single file (app.py).
Flask + Flask-SQLAlchemy
MySQL (mysqlclient on CPython, PyMySQL on PyPy)
With ORM:
http://localhost:8080/dbs
Without ORM (raw):
http://localhost:8080/dbsraw
With ORM:
http://localhost:8080/db?queries=2
Without ORM (raw):
http://localhost:8080/dbraw?queries=2