Burak Arslan 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
..
cloths 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
README.md 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
app.py 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
benchmark_config.json 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
gen_benchmark_config.py 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
gunicorn_conf.py 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
nginx.conf 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
requirements.txt 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
spyne-nginx-uwsgi.dockerfile 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
spyne-raw.dockerfile 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
spyne.dockerfile 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
tfb.yaml 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos
uwsgi.ini 58c2584c10 spyne test initial import (#4451) %!s(int64=6) %!d(string=hai) anos

README.md

Spyne Benchmark Test

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

The latest version is at https://github.com/arskom/spyne/tree/master/examples/tfb

All test implementations are located within (app.py)

Description

Spyne + SQLAlchemy

Database

PostgreSQL (psycopg2 on CPython)

Server

  • gunicorn+wsgi on CPython

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