dependabot[bot] 408b14dd8b Bump twisted from 20.3.0 to 22.1.0 in /frameworks/Python/spyne (#7121) 3 years ago
..
cloths 58c2584c10 spyne test initial import (#4451) 6 years ago
README.md 58c2584c10 spyne test initial import (#4451) 6 years ago
app.py 58c2584c10 spyne test initial import (#4451) 6 years ago
benchmark_config.json 58c2584c10 spyne test initial import (#4451) 6 years ago
config.toml 0096f84ee9 Config for the new toolset (#6259) 4 years ago
gen_benchmark_config.py 58c2584c10 spyne test initial import (#4451) 6 years ago
gunicorn_conf.py 58c2584c10 spyne test initial import (#4451) 6 years ago
nginx.conf 58c2584c10 spyne test initial import (#4451) 6 years ago
requirements.txt 408b14dd8b Bump twisted from 20.3.0 to 22.1.0 in /frameworks/Python/spyne (#7121) 3 years ago
spyne-nginx-uwsgi.dockerfile 0096f84ee9 Config for the new toolset (#6259) 4 years ago
spyne-raw.dockerfile 0096f84ee9 Config for the new toolset (#6259) 4 years ago
spyne.dockerfile 0096f84ee9 Config for the new toolset (#6259) 4 years ago
tfb.yaml 58c2584c10 spyne test initial import (#4451) 6 years ago
uwsgi.ini 58c2584c10 spyne test initial import (#4451) 6 years ago

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