Giovanni Barillari c317ed54b7 [Python] Use Python 3.11 on granian WSGI (#8372) 2 سال پیش
..
templates aa1a10aa00 add Granian to Python frameworks (#7300) 3 سال پیش
README.md cebf831870 [Python] Bump granian to 0.2.0 (#7828) 2 سال پیش
app_asgi.py 64d4a83009 [Python] bump granian to 0.1.2 (#7702) 2 سال پیش
app_rsgi.py 64d4a83009 [Python] bump granian to 0.1.2 (#7702) 2 سال پیش
app_wrk.py 29b994a98c [Python] Bump granian to 0.3 (#8053) 2 سال پیش
app_wsgi.py cebf831870 [Python] Bump granian to 0.2.0 (#7828) 2 سال پیش
benchmark_config.json 094a95ed4a [Python] Bump Granian to 0.4 (#8206) 2 سال پیش
config.toml 29b994a98c [Python] Bump granian to 0.3 (#8053) 2 سال پیش
granian-rsgi.dockerfile 29b994a98c [Python] Bump granian to 0.3 (#8053) 2 سال پیش
granian-wrk.dockerfile 29b994a98c [Python] Bump granian to 0.3 (#8053) 2 سال پیش
granian-wsgi.dockerfile c317ed54b7 [Python] Use Python 3.11 on granian WSGI (#8372) 2 سال پیش
granian.dockerfile 29b994a98c [Python] Bump granian to 0.3 (#8053) 2 سال پیش
requirements.txt 1444ae16f6 [Python] Bump Granian to 0.5 (#8272) 2 سال پیش
run.py 1444ae16f6 [Python] Bump Granian to 0.5 (#8272) 2 سال پیش

README.md

Granian Benchmark Test

This is the Granian portion of a benchmarking tests suite comparing a variety of web development platforms.

The information below is specific to Granian. For further guidance, review the documentation.

Also note that there is additional information provided in the Python README.

Description

Granian is an asyncio server for Python applications.

Test Paths & Source

Granian includes three different implementations:

ASGI and RSGI implementations includes the following tests:

  • JSON Serialization: "/json"
  • Plaintext: "/plaintext"
  • Single Database Query: "/db"
  • Multiple Database Queries: "queries?queries=#"
  • Fortunes: "/fortunes"
  • Database Updates: "updates?queries=#"

while WSGI implementation only include JSON Serialization and Plaintext tests.

Replace # with an actual number.

Resources