Oleg S 5361dee061 [Python] Added a benchmark test for the FastWSGI Python3 web framework (#8019) 2 yıl önce
..
templates 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 yıl önce
README.md 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 yıl önce
app-fastwsgi.py 5361dee061 [Python] Added a benchmark test for the FastWSGI Python3 web framework (#8019) 2 yıl önce
app-socketify-wsgi.py f2aa640d56 [Python] Add Flask with socketify.py WSGI (#7763) 2 yıl önce
app.py 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 yıl önce
app_raw.py 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 yıl önce
benchmark_config.json 5361dee061 [Python] Added a benchmark test for the FastWSGI Python3 web framework (#8019) 2 yıl önce
config.toml 5361dee061 [Python] Added a benchmark test for the FastWSGI Python3 web framework (#8019) 2 yıl önce
flask-fastwsgi.dockerfile 5361dee061 [Python] Added a benchmark test for the FastWSGI Python3 web framework (#8019) 2 yıl önce
flask-nginx-uwsgi.dockerfile 3b2474212d Improved Flask code (#6688) 4 yıl önce
flask-pypy-raw.dockerfile 3b2474212d Improved Flask code (#6688) 4 yıl önce
flask-pypy.dockerfile 3b2474212d Improved Flask code (#6688) 4 yıl önce
flask-raw.dockerfile 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 yıl önce
flask-socketify-wsgi-pypy.dockerfile f2aa640d56 [Python] Add Flask with socketify.py WSGI (#7763) 2 yıl önce
flask-socketify-wsgi.dockerfile f2aa640d56 [Python] Add Flask with socketify.py WSGI (#7763) 2 yıl önce
flask.dockerfile 3b2474212d Improved Flask code (#6688) 4 yıl önce
gunicorn_conf.py 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 yıl önce
helpers.py 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 yıl önce
nginx.conf e332050c3b python: Use /var/tmp instead of /tmp for unix socket. 8 yıl önce
requirements-fastwsgi.txt 5361dee061 [Python] Added a benchmark test for the FastWSGI Python3 web framework (#8019) 2 yıl önce
requirements-pypy.txt ddd4eb500d Bump werkzeug from 2.0.1 to 2.2.3 in /frameworks/Python/flask (#7923) 2 yıl önce
requirements-socketify.txt f2aa640d56 [Python] Add Flask with socketify.py WSGI (#7763) 2 yıl önce
requirements.base 8d4060677a Update python and some frameworks. (#3245) 7 yıl önce
requirements.txt ddd4eb500d Bump werkzeug from 2.0.1 to 2.2.3 in /frameworks/Python/flask (#7923) 2 yıl önce
uwsgi.ini e332050c3b python: Use /var/tmp instead of /tmp for unix socket. 8 yıl önce

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