INADA Naoki ac39315fa5 Fix committed real DBHOSTNAME. 12 years ago
..
README.md 96d0e605b1 Add description to README.md 12 years ago
__init__.py 736c409282 rough in flask based test 12 years ago
app.py ac39315fa5 Fix committed real DBHOSTNAME. 12 years ago
benchmark_config 71c144ac02 Add flask-pypy 12 years ago
run_pypy.py 71c144ac02 Add flask-pypy 12 years ago
setup.py 90040bbabe Using meinheld gunicorn worker for python tests 12 years ago
setup_pypy.py 71c144ac02 Add flask-pypy 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