INADA Naoki 0703f45b4d Fix flask test. 12 years ago
..
templates 7d9ee0085e Add fortunes.html 12 years ago
README.md 21d4334cec Add description to README.md 12 years ago
__init__.py 736c409282 rough in flask based test 12 years ago
app.py 0703f45b4d Fix flask test. 12 years ago
benchmark_config 2fe159d885 Flask: Add update and plaintext. 12 years ago
setup.py 0703f45b4d Fix flask test. 12 years ago
setup_py3.py a7ea4ad589 Flask: Update setup files. 12 years ago
setup_pypy.py a7ea4ad589 Flask: Update setup files. 12 years ago

README.md

Flask Benchmark Test

Single file test, app.py

Description

Flask + Flask-SQLAlchemy

Interpreter

  • CPython 2.7.4
  • PyPy 2.0

Database

MySQL (MySQL-python on CPython, PyMySQL on PyPy)

Server

  • gunicorn+meinheld on CPython
  • Tornado on PyPy

Test URLs

JSON Encoding

http://localhost:8080/json

Single Row Random Query

With ORM:

http://localhost:8080/dbs

Without ORM (raw):

http://localhost:8080/dbsraw

Variable Row Query Test

With ORM:

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

Without ORM (raw):

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