|
hace 10 años | |
---|---|---|
.. | ||
templates | hace 11 años | |
README.md | hace 11 años | |
app.py | hace 11 años | |
bash_profile.sh | hace 11 años | |
benchmark_config | hace 11 años | |
gunicorn_conf.py | hace 11 años | |
install.sh | hace 11 años | |
nginx.conf | hace 11 años | |
requirements-pypy.txt | hace 11 años | |
requirements.txt | hace 10 años | |
setup_nginxuwsgi.sh | hace 10 años | |
setup_py2.sh | hace 11 años | |
setup_py3.sh | hace 11 años | |
setup_pypy.sh | hace 11 años | |
source_code | hace 11 años | |
uwsgi.ini | hace 11 años |
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