-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance: voila takes double the time to create widgets compared to Notebook #764
Comments
jupyter/jupyter_client#590 takes off 50% of the time. |
The 4 seconds mentioned above was with Chrome with the dev console open. |
Minor contributor (few %): ipython/traitlets#638 |
tornadoweb/tornado#2955 is another 80msec per 1000 messages. |
adding |
jupyter-widgets/ipywidgets#3020 scrape of 30% |
A 5x improvement might be possible based on #766 and jupyter-widgets/ipywidgets#3021 |
@maartenbreddels is this issue still valid with #933 now merged and released in |
Hi everyone, |
Things should be improved with the coming ipywidgets release and #766 |
Hi everyone :) |
@pierrotsmnrd The release plans of ipywidgets 8 can be tracked here: jupyter-widgets/ipywidgets#2750 |
Thanks a lot @vidartf, that's exactly what I was looking for. |
This is fixed now with #766 and recent ipywidgets releases |
Creating ~600 widgets using:
Takes about 1.5-2.0 seconds to display in the notebook, while it takes over 4.0 seconds using Voila.
I think at least one problem lies in the way we update the widgets / sync the state. We ask each widget/comm separately for an update, which causes a 'busy', 'update' and 'idle' message, 3x more than needed. This causes in total 1800 websocket messages. I am also not sure why that seems so slow.
The text was updated successfully, but these errors were encountered: