Replies: 2 comments 1 reply
-
Hi @kfalcami, we heard about similar problems with PyCharm, e.g. #3344. Even 13 seconds is pretty slow. How does a plain FastAPI app behave? server.py: import uvicorn
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
async def root():
return {"message": "Hello World"}
if __name__ == "__main__":
uvicorn.run("server:app", host="0.0.0.0", port=8000, reload=True) |
Beta Was this translation helpful? Give feedback.
1 reply
-
Even a do-nothing
Surely we can do better. But of course this doesn't have anything to do with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I'm wondering if anybody else has noticed this: even a simple nicegui app takes a long time to start in the pycharm debugger, e.g. 48 secs vs. the same app starting in 13 secs without the debugger. I'm a long-time pycharm user before I started using nicegui and this is a much bigger difference than I've seen in my other python development.
Beta Was this translation helpful? Give feedback.
All reactions