The reload speed #1193
Replies: 6 comments 24 replies
-
Interesting. I've not done a proper performance comparison yet. Could you share your Streamlit and NiceGUI code and how you measured it?
We wanted the UI elements to be as frictionless as possible. Hence we stick to the Quasar defaults as good as possible. That provides the least surprises if you want to adapt. But there are a few projects which build on top of NiceGUI to offer more styled components. Like https://github.com/ofenbach/CatDesign for example. |
Beta Was this translation helpful? Give feedback.
-
For me it's quite fast. Could you try a bare FastAPI app with uvicorn and reload=True? This is what NiceGUI is using under the hood. That would help us to determine if it's a NiceGUI issue (specific to your system) or more Uvicorn related... |
Beta Was this translation helpful? Give feedback.
-
Wow, that is really slow and unexpected. This is how it looks on my side: Is there some logging in the console? Can you share the debug log from the browser? |
Beta Was this translation helpful? Give feedback.
-
Yes that may give us some leads. First I'm wondering why you get a TypeError in We do not serve an Second, you get a WebSocket connection error which is unexpected: And the message "reloading because handshake failed" also indicates something wrong with the socket connection. But we should first investigate the |
Beta Was this translation helpful? Give feedback.
-
It's very strange to have a failing handshake. Can you try running the docker image with your code? docker run --rm -it -p 8080:8080 -v $(pwd):/app/ zauberzeug/nicegui:1.3.8 With |
Beta Was this translation helpful? Give feedback.
-
Hi there Is it possible there are some socket.io timeouts which are too low? or can we configure those? I'm behind an azure website, so the installtion might be the problem, but I think it's unlikely . I have the issue on windows and on my linux azure website (which runs behind an IIS, tough). |
Beta Was this translation helpful? Give feedback.
-
why the reload speed is not that fast than streamlit? I almost don't need to wait in in streamlit.
Another ,the default apperance of the widget is simple but not that beautiful.
Beta Was this translation helpful? Give feedback.
All reactions