|
8 years ago | |
---|---|---|
.. | ||
app | 8 years ago | |
README.md | 8 years ago | |
benchmark_config.json | 8 years ago | |
gunicorn_conf.py | 8 years ago | |
requirements.txt | 8 years ago | |
setup.sh | 8 years ago | |
setup_raw.sh | 8 years ago |
The information below is specific to aiohttp. For further guidance, review the documentation. Also note that there is additional information that's provided in the Python README.
This is the Python aiohttp portion of a benchmarking tests suite comparing a variety of frameworks.
All test implementations are located within (./app).
aiohttp with aiopg + sqlalchemy and separately asyncpg for database access.
uvloop is used for a more performant event loop.
PostgreSQL
gunicorn+uvloop on CPython
http://localhost:8080/json
With ORM:
http://localhost:8080/db
Without ORM (raw):
http://localhost:8080/raw/db
With ORM:
http://localhost:8080/queries?queries=20
Without ORM (raw):
http://localhost:8080/raw/queries?queries=20
With ORM:
http://localhost:8080/fortunes
Without ORM (raw):
http://localhost:8080/raw/fortunes
With ORM:
http://localhost:8080/updates?queries=20
Without ORM (raw):
http://localhost:8080/raw/updates?queries=20
http://localhost:8080/plaintext