mirror of
https://github.com/UofCBaja/Interview-Backend.git
synced 2025-07-06 03:07:16 -06:00
feat(Packagers): tested out FastAPI its a great wrapper comes with auto docs/test tool that shows how to do the api request, marginally slower
This commit is contained in:
@ -15,4 +15,4 @@ def BenchMarkDjango():
|
||||
if __name__ == "__main__":
|
||||
djangoTime = timeit.timeit(stmt=BenchMarkDjango, number=10)
|
||||
pythonTime = timeit.timeit(stmt=BenchMarkServer, number=10)
|
||||
print(f"Django: {djangoTime}\nPython: {pythonTime}")
|
||||
print(f"FastAPI: {djangoTime}\nPython: {pythonTime}")
|
Reference in New Issue
Block a user