File: README.md

package info (click to toggle)
spyne 2.14.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,968 kB
  • sloc: python: 35,938; xml: 3,140; sh: 137; makefile: 135; ruby: 19
file content (41 lines) | stat: -rw-r--r-- 747 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# [Spyne](http://spyne.io/) 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](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