Oleg S 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
..
templates 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 lat temu
README.md 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 lat temu
app-fastwsgi.py 5361dee061 [Python] Added a benchmark test for the FastWSGI Python3 web framework (#8019) 2 lat temu
app-socketify-wsgi.py f2aa640d56 [Python] Add Flask with socketify.py WSGI (#7763) 3 lat temu
app.py 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 lat temu
app_raw.py 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 lat temu
benchmark_config.json 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
config.toml 5361dee061 [Python] Added a benchmark test for the FastWSGI Python3 web framework (#8019) 2 lat temu
flask-fastwsgi.dockerfile 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
flask-nginx-uwsgi.dockerfile 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
flask-pypy-raw.dockerfile 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
flask-pypy.dockerfile 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
flask-raw.dockerfile 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
flask-socketify-wsgi-pypy.dockerfile 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
flask-socketify-wsgi.dockerfile 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
flask.dockerfile 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
gunicorn_conf.py 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 lat temu
helpers.py 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 lat temu
nginx.conf e332050c3b python: Use /var/tmp instead of /tmp for unix socket. 9 lat temu
requirements-fastwsgi.txt 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
requirements-gunicorn.txt 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
requirements-socketify.txt 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
requirements-uwsgi.txt 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
requirements.base 8d4060677a Update python and some frameworks. (#3245) 7 lat temu
requirements.txt 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 lat temu
uwsgi.ini e332050c3b python: Use /var/tmp instead of /tmp for unix socket. 9 lat temu

README.md

Flask Benchmark Test

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).

Description

Flask + Flask-Pony

Database

PostgresQL (psycopg2 on CPython, psycopg2cffi on PyPy)

Server

  • gunicorn+meinheld on CPython
  • gunicorn on PyPy

Test URLs

JSON Encoding

http://localhost:8080/json

Single Row Random Query

With ORM (app.py):

http://localhost:8080/db

Without ORM (app_raw.py):

http://localhost:8080/db

Variable Row Query Test

With ORM (app.py):

http://localhost:8080/query?queries=2

Without ORM (app_raw.py):

http://localhost:8080/query?queries=2