Phil Jones ed4ef81158 Updates & fixes to Python frameworks (#7311) %!s(int64=3) %!d(string=hai) anos
..
templates e62a8f5826 Add Quart (#4490) %!s(int64=6) %!d(string=hai) anos
README.md e62a8f5826 Add Quart (#4490) %!s(int64=6) %!d(string=hai) anos
app.py ed4ef81158 Updates & fixes to Python frameworks (#7311) %!s(int64=3) %!d(string=hai) anos
benchmark_config.json e62a8f5826 Add Quart (#4490) %!s(int64=6) %!d(string=hai) anos
config.toml 0096f84ee9 Config for the new toolset (#6259) %!s(int64=4) %!d(string=hai) anos
gunicorn_conf.py e62a8f5826 Add Quart (#4490) %!s(int64=6) %!d(string=hai) anos
hypercorn_conf.py e62a8f5826 Add Quart (#4490) %!s(int64=6) %!d(string=hai) anos
quart-uvicorn.dockerfile 0096f84ee9 Config for the new toolset (#6259) %!s(int64=4) %!d(string=hai) anos
quart.dockerfile ed4ef81158 Updates & fixes to Python frameworks (#7311) %!s(int64=3) %!d(string=hai) anos
requirements-uvicorn.txt ed4ef81158 Updates & fixes to Python frameworks (#7311) %!s(int64=3) %!d(string=hai) anos
requirements.txt ed4ef81158 Updates & fixes to Python frameworks (#7311) %!s(int64=3) %!d(string=hai) anos

README.md

Quart Benchmarking Test

This benchmark uses Quart with the default Hypercorn server, and asyncpg for database connectivity (because there is still no good asyncio ORM, sadly).

All code is contained in app.py, and should be fairly self-documenting.

Test URLs

JSON

http://localhost:8080/json

PLAINTEXT

http://localhost:8080/plaintext

DB

http://localhost:8080/db

QUERY

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

UPDATE

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

FORTUNES

http://localhost:8080/fortunes