|
@@ -2,7 +2,7 @@
|
|
|
"framework": "fastapi",
|
|
|
"tests": [
|
|
|
{
|
|
|
- "default": {
|
|
|
+ "gunicorn": {
|
|
|
"json_url": "/json",
|
|
|
"fortune_url": "/fortunes",
|
|
|
"plaintext_url": "/plaintext",
|
|
@@ -17,15 +17,15 @@
|
|
|
"language": "Python",
|
|
|
"flavor": "Python3",
|
|
|
"orm": "Raw",
|
|
|
- "platform": "None",
|
|
|
- "webserver": "None",
|
|
|
+ "platform": "asyncio",
|
|
|
+ "webserver": "Gunicorn",
|
|
|
"os": "Linux",
|
|
|
"database_os": "Linux",
|
|
|
"display_name": "FastAPI",
|
|
|
"notes": "",
|
|
|
"versus": "None"
|
|
|
},
|
|
|
- "orjson": {
|
|
|
+ "gunicorn-orjson": {
|
|
|
"json_url": "/json",
|
|
|
"fortune_url": "/fortunes",
|
|
|
"plaintext_url": "/plaintext",
|
|
@@ -40,11 +40,171 @@
|
|
|
"language": "Python",
|
|
|
"flavor": "Python3",
|
|
|
"orm": "Raw",
|
|
|
- "platform": "None",
|
|
|
- "webserver": "None",
|
|
|
+ "platform": "asyncio",
|
|
|
+ "webserver": "Gunicorn",
|
|
|
"os": "Linux",
|
|
|
"database_os": "Linux",
|
|
|
- "display_name": "FastAPI",
|
|
|
+ "display_name": "FastAPI-gunicorn-orjson",
|
|
|
+ "notes": "",
|
|
|
+ "versus": "None"
|
|
|
+ },
|
|
|
+ "gunicorn-orm": {
|
|
|
+ "fortune_url": "/fortunes",
|
|
|
+ "plaintext_url": "/plaintext",
|
|
|
+ "db_url": "/db",
|
|
|
+ "query_url": "/queries?queries=",
|
|
|
+ "update_url": "/updates?queries=",
|
|
|
+ "port": 8080,
|
|
|
+ "approach": "Realistic",
|
|
|
+ "classification": "Micro",
|
|
|
+ "database": "Postgres",
|
|
|
+ "framework": "FastAPI",
|
|
|
+ "language": "Python",
|
|
|
+ "flavor": "Python3",
|
|
|
+ "orm": "Full",
|
|
|
+ "platform": "asyncio",
|
|
|
+ "webserver": "Gunicorn",
|
|
|
+ "os": "Linux",
|
|
|
+ "database_os": "Linux",
|
|
|
+ "display_name": "FastAPI-gunicorn-orm",
|
|
|
+ "notes": "",
|
|
|
+ "versus": "None"
|
|
|
+ },
|
|
|
+ "hypercorn": {
|
|
|
+ "json_url": "/json",
|
|
|
+ "fortune_url": "/fortunes",
|
|
|
+ "plaintext_url": "/plaintext",
|
|
|
+ "db_url": "/db",
|
|
|
+ "query_url": "/queries?queries=",
|
|
|
+ "update_url": "/updates?queries=",
|
|
|
+ "port": 8080,
|
|
|
+ "approach": "Realistic",
|
|
|
+ "classification": "Micro",
|
|
|
+ "database": "Postgres",
|
|
|
+ "framework": "FastAPI",
|
|
|
+ "language": "Python",
|
|
|
+ "flavor": "Python3",
|
|
|
+ "orm": "Raw",
|
|
|
+ "platform": "asyncio",
|
|
|
+ "webserver": "Hypercorn",
|
|
|
+ "os": "Linux",
|
|
|
+ "database_os": "Linux",
|
|
|
+ "display_name": "FastAPI-hypercorn",
|
|
|
+ "notes": "",
|
|
|
+ "versus": "None"
|
|
|
+ },
|
|
|
+ "hypercorn-orjson": {
|
|
|
+ "json_url": "/json",
|
|
|
+ "fortune_url": "/fortunes",
|
|
|
+ "plaintext_url": "/plaintext",
|
|
|
+ "db_url": "/db",
|
|
|
+ "query_url": "/queries?queries=",
|
|
|
+ "update_url": "/updates?queries=",
|
|
|
+ "port": 8080,
|
|
|
+ "approach": "Realistic",
|
|
|
+ "classification": "Micro",
|
|
|
+ "database": "Postgres",
|
|
|
+ "framework": "FastAPI",
|
|
|
+ "language": "Python",
|
|
|
+ "flavor": "Python3",
|
|
|
+ "orm": "Raw",
|
|
|
+ "platform": "asyncio",
|
|
|
+ "webserver": "Hypercorn",
|
|
|
+ "os": "Linux",
|
|
|
+ "database_os": "Linux",
|
|
|
+ "display_name": "FastAPI-hypercorn-orjson",
|
|
|
+ "notes": "",
|
|
|
+ "versus": "None"
|
|
|
+ },
|
|
|
+ "nginx-unit": {
|
|
|
+ "json_url": "/json",
|
|
|
+ "fortune_url": "/fortunes",
|
|
|
+ "plaintext_url": "/plaintext",
|
|
|
+ "db_url": "/db",
|
|
|
+ "query_url": "/queries?queries=",
|
|
|
+ "update_url": "/updates?queries=",
|
|
|
+ "port": 8080,
|
|
|
+ "approach": "Realistic",
|
|
|
+ "classification": "Micro",
|
|
|
+ "database": "Postgres",
|
|
|
+ "framework": "FastAPI",
|
|
|
+ "language": "Python",
|
|
|
+ "flavor": "Python3",
|
|
|
+ "orm": "Raw",
|
|
|
+ "platform": "asyncio",
|
|
|
+ "webserver": "nginx-unit",
|
|
|
+ "os": "Linux",
|
|
|
+ "database_os": "Linux",
|
|
|
+ "display_name": "FastAPI-nginx-unit",
|
|
|
+ "notes": "",
|
|
|
+ "versus": "None"
|
|
|
+ },
|
|
|
+ "nginx-unit-orjson": {
|
|
|
+ "json_url": "/json",
|
|
|
+ "fortune_url": "/fortunes",
|
|
|
+ "plaintext_url": "/plaintext",
|
|
|
+ "db_url": "/db",
|
|
|
+ "query_url": "/queries?queries=",
|
|
|
+ "update_url": "/updates?queries=",
|
|
|
+ "port": 8080,
|
|
|
+ "approach": "Realistic",
|
|
|
+ "classification": "Micro",
|
|
|
+ "database": "Postgres",
|
|
|
+ "framework": "FastAPI",
|
|
|
+ "language": "Python",
|
|
|
+ "flavor": "Python3",
|
|
|
+ "orm": "Raw",
|
|
|
+ "platform": "asyncio",
|
|
|
+ "webserver": "nginx-unit",
|
|
|
+ "os": "Linux",
|
|
|
+ "database_os": "Linux",
|
|
|
+ "display_name": "FastAPI-nginx-unit-orjson",
|
|
|
+ "notes": "",
|
|
|
+ "versus": "None"
|
|
|
+ },
|
|
|
+ "uvicorn": {
|
|
|
+ "json_url": "/json",
|
|
|
+ "fortune_url": "/fortunes",
|
|
|
+ "plaintext_url": "/plaintext",
|
|
|
+ "db_url": "/db",
|
|
|
+ "query_url": "/queries?queries=",
|
|
|
+ "update_url": "/updates?queries=",
|
|
|
+ "port": 8080,
|
|
|
+ "approach": "Realistic",
|
|
|
+ "classification": "Micro",
|
|
|
+ "database": "Postgres",
|
|
|
+ "framework": "FastAPI",
|
|
|
+ "language": "Python",
|
|
|
+ "flavor": "Python3",
|
|
|
+ "orm": "Raw",
|
|
|
+ "platform": "asyncio",
|
|
|
+ "webserver": "Uvicorn",
|
|
|
+ "os": "Linux",
|
|
|
+ "database_os": "Linux",
|
|
|
+ "display_name": "FastAPI-uvicorn",
|
|
|
+ "notes": "",
|
|
|
+ "versus": "None"
|
|
|
+ },
|
|
|
+ "uvicorn-orjson": {
|
|
|
+ "json_url": "/json",
|
|
|
+ "fortune_url": "/fortunes",
|
|
|
+ "plaintext_url": "/plaintext",
|
|
|
+ "db_url": "/db",
|
|
|
+ "query_url": "/queries?queries=",
|
|
|
+ "update_url": "/updates?queries=",
|
|
|
+ "port": 8080,
|
|
|
+ "approach": "Realistic",
|
|
|
+ "classification": "Micro",
|
|
|
+ "database": "Postgres",
|
|
|
+ "framework": "FastAPI",
|
|
|
+ "language": "Python",
|
|
|
+ "flavor": "Python3",
|
|
|
+ "orm": "Raw",
|
|
|
+ "platform": "asyncio",
|
|
|
+ "webserver": "Uvicorn",
|
|
|
+ "os": "Linux",
|
|
|
+ "database_os": "Linux",
|
|
|
+ "display_name": "FastAPI-uvicorn-orjson",
|
|
|
"notes": "",
|
|
|
"versus": "None"
|
|
|
}
|