Mike Smith 8753f4831a verify Fixed flask's fortunes test 11 년 전
..
templates 8753f4831a verify Fixed flask's fortunes test 11 년 전
README.md 96d0e605b1 Add description to README.md 12 년 전
__init__.py 736c409282 rough in flask based test 12 년 전
app.py 5e50a8b334 verify Fixed flask's db test 11 년 전
benchmark_config 64d7a9bd6a flask: Update benchmark_config 11 년 전
setup.py 77361b485a Merge branch 'master' of https://github.com/TechEmpower/FrameworkBenchmarks into python-r8 11 년 전
setup_nginxuwsgi.py d9678ff22e 18938 Passing the error log to the test start/stop 11 년 전
setup_py3.py 77361b485a Merge branch 'master' of https://github.com/TechEmpower/FrameworkBenchmarks into python-r8 11 년 전
setup_pypy.py d9678ff22e 18938 Passing the error log to the test start/stop 11 년 전
source_code 66e46ee08e codeLineCount Create source_code file for each framework. Modify count_sloc to use gather_frameworks instead of a large list 12 년 전

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