|
3 年之前 | |
---|---|---|
.. | ||
templates | 6 年之前 | |
README.md | 6 年之前 | |
app.py | 4 年之前 | |
benchmark_config.json | 6 年之前 | |
config.toml | 4 年之前 | |
gunicorn_conf.py | 6 年之前 | |
hypercorn_conf.py | 6 年之前 | |
quart-uvicorn.dockerfile | 4 年之前 | |
quart.dockerfile | 4 年之前 | |
requirements-uvicorn.txt | 3 年之前 | |
requirements.txt | 3 年之前 |
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.
http://localhost:8080/plaintext
http://localhost:8080/query?queries=
http://localhost:8080/update?queries=