Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /nijaru_zenith /benchmarks /fastapi_bench.py
| """FastAPI baseline for comparison.""" | |
| from fastapi import FastAPI | |
| app = FastAPI() | |
| async def hello(): | |
| return {"message": "Hello, World!"} | |
| async def json_response(): | |
| return { | |
| "users": [ | |
| {"id": i, "name": f"User {i}", "email": f"user{i}@example.com"} | |
| for i in range(10) | |
| ], | |
| "total": 10, | |
| "page": 1, | |
| } | |
| if __name__ == "__main__": | |
| import uvicorn | |
| uvicorn.run(app, host="127.0.0.1", port=8201, log_level="warning") | |
Xet Storage Details
- Size:
- 523 Bytes
- Xet hash:
- e34c71a1d6a05acc54a5d84861c592dcc634a0acbf93cce9240f6e5bbf2a6941
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.