Oleg S 819c165e57 [Python] Flask: fix raw tests (#8193) 2 năm trước cách đây
..
templates 8d34aff41c [Flask] Some additional clean-up and tuning (#6712) 4 năm trước cách đây
README.md dc144078c8 [Python] Flask: unifying application and fix nginx (#8139) 2 năm trước cách đây
app.py 819c165e57 [Python] Flask: fix raw tests (#8193) 2 năm trước cách đây
benchmark_config.json 7b354da20f [Python] Flask: delete repeated tests (#8183) 2 năm trước cách đây
config.toml 24c6e25454 [Python] Flask: fix workers (#8169) 2 năm trước cách đây
flask-fastwsgi.dockerfile dc144078c8 [Python] Flask: unifying application and fix nginx (#8139) 2 năm trước cách đây
flask-nginx-uwsgi.dockerfile 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 năm trước cách đây
flask-pypy-raw.dockerfile dc144078c8 [Python] Flask: unifying application and fix nginx (#8139) 2 năm trước cách đây
flask-pypy.dockerfile 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 năm trước cách đây
flask-raw.dockerfile dc144078c8 [Python] Flask: unifying application and fix nginx (#8139) 2 năm trước cách đây
flask-socketify-wsgi-pypy.dockerfile dc144078c8 [Python] Flask: unifying application and fix nginx (#8139) 2 năm trước cách đây
flask-socketify-wsgi.dockerfile dc144078c8 [Python] Flask: unifying application and fix nginx (#8139) 2 năm trước cách đây
flask.dockerfile 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 năm trước cách đây
gunicorn_conf.py 24c6e25454 [Python] Flask: fix workers (#8169) 2 năm trước cách đây
nginx.conf 7b354da20f [Python] Flask: delete repeated tests (#8183) 2 năm trước cách đây
requirements-fastwsgi.txt 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 năm trước cách đây
requirements-gunicorn.txt 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 năm trước cách đây
requirements-socketify.txt 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 năm trước cách đây
requirements-uwsgi.txt 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 năm trước cách đây
requirements.base 8d4060677a Update python and some frameworks. (#3245) 7 năm trước cách đây
requirements.txt 6f5b263917 [Python] Flask: fix build and unblock (#8113) 2 năm trước cách đây
uwsgi.ini 7b354da20f [Python] Flask: delete repeated tests (#8183) 2 năm trước cách đây

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 and Flask with Pony

Database

PostgresQL (psycopg2 on CPython, psycopg2cffi on PyPy)

Server

  • gunicorn+meinheld on CPython
  • gunicorn on PyPy
  • fastwsgi on CPython
  • socketify on CPython

Test URLs

JSON Encoding

http://localhost:8080/json

Single Row Random Query

http://localhost:8080/db

Variable Row Query Test

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