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:
darkicewolf50
2024-11-28 17:50:02 +00:00
parent 0276fea6e7
commit fcbee342b3
4 changed files with 44 additions and 1 deletions

View File

@ -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}")