|
пре 10 година | |
---|---|---|
.. | ||
templates | пре 11 година | |
README.md | пре 11 година | |
app.py | пре 10 година | |
bash_profile.sh | пре 10 година | |
benchmark_config | пре 11 година | |
gunicorn_conf.py | пре 11 година | |
install.sh | пре 10 година | |
nginx.conf | пре 11 година | |
requirements-pypy.txt | пре 11 година | |
requirements.txt | пре 10 година | |
setup_nginxuwsgi.sh | пре 10 година | |
setup_py2.sh | пре 10 година | |
setup_py3.sh | пре 10 година | |
setup_pypy.sh | пре 10 година | |
source_code | пре 11 година | |
uwsgi.ini | пре 11 година |
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