|
10 years ago | |
---|---|---|
.. | ||
templates | 11 years ago | |
README.md | 11 years ago | |
app.py | 10 years ago | |
benchmark_config | 10 years ago | |
gunicorn_conf.py | 11 years ago | |
install.sh | 10 years ago | |
nginx.conf | 11 years ago | |
requirements-pypy.txt | 11 years ago | |
requirements.txt | 10 years ago | |
setup_nginxuwsgi.sh | 10 years ago | |
setup_py2.sh | 10 years ago | |
setup_py3.sh | 10 years ago | |
setup_pypy.sh | 10 years ago | |
source_code | 11 years ago | |
uwsgi.ini | 11 years ago |
Single file test, app.py
Flask + Flask-SQLAlchemy
MySQL (MySQL-python 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