Henri Hulski bed1da66fe Add Morepath framework to Python (#2903) 8 年之前
..
app bed1da66fe Add Morepath framework to Python (#2903) 8 年之前
.gitignore bed1da66fe Add Morepath framework to Python (#2903) 8 年之前
README.md bed1da66fe Add Morepath framework to Python (#2903) 8 年之前
benchmark_config.json bed1da66fe Add Morepath framework to Python (#2903) 8 年之前
gunicorn_conf.py bed1da66fe Add Morepath framework to Python (#2903) 8 年之前
requirements.txt bed1da66fe Add Morepath framework to Python (#2903) 8 年之前
setup.py bed1da66fe Add Morepath framework to Python (#2903) 8 年之前
setup.sh bed1da66fe Add Morepath framework to Python (#2903) 8 年之前
source_code bed1da66fe Add Morepath framework to Python (#2903) 8 年之前

README.md

Morepath Benchmark Test

The information below is specific to Morepath. For further guidance, review the documentation. Also note that there is additional information that's provided in the Python README.

This is the Python Morepath portion of a benchmarking tests suite comparing a variety of frameworks.

All test implementations are located within (./app).

Description

Morepath with PonyOrm using PostgreSQL for database access.

Database

PostgreSQL (with PonyORM).

Server

gunicorn + meinheld on CPython

Test URLs

Test 1: JSON Encoding

http://localhost:8080/json

Test 2: Single Row Query

http://localhost:8080/db

Test 3: Multi Row Query

http://localhost:8080/queries?queries=20

Test 4: Fortunes (Template rendering)

http://localhost:8080/fortunes

Test 5: Update Query

http://localhost:8080/updates?queries=20

Test 6: Plaintext

http://localhost:8080/plaintext