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
Optimize IPC traffic when saving notebooks (large notebooks slow over Remote-SSH?) #172345
Comments
A few ideas from discussions with Kai and a few others:
|
Any updates on this? We have seen situations where large notebooks not only become unusable, but the rest of the UI becomes very slow. Specifically seems to happen when using tools that embed charts and graphs as js in the cell output/metadata (ex. bokeh). |
Any updates on this? |
I am experiencing this issue too. I accept my current Notebook is pathological (a large amount of plots), but VS Code is unusable like this. I'd be very happy with "slow"! |
Hi! @rebornix I was able to test this out using Jupyter: v2023.6.1001821100 The setting |
@rebornix Any updates here? I am happy to continue testing any changes |
@jrich100 thanks for testing and sharing updates. I'll have more changes upcoming to improve the perf while cell is running, will share here once I have a build for it. |
I think I ran into this issue today: I was on a slow-ish connection. A speed test said I was getting 3-5 Mbps. VSCode and all extensions were on the latest stable version (not insiders). I had 3-5 seconds of lag before notebook cells started running regardless of the contents of the cell. After I cleared all the output (plots) from the notebook, there was no longer any perceptible lag. |
@tbenthompson is |
Generally, I think the experience with large notebooks has improved (though in a way that is hard to quantify)! However, I am still able to create a scenario that feels very very slow....
In this scenario, the notebook hangs for over 90 seconds before executing the print() cell. Presumably, the cell execution is blocking on the notebook file saving/syncing? |
I have pretty much the same experience with @jrich100 . I plotted out 50 images in a for loop. It was taking extremely long time (about 1 hour) to save the output. I saw my wifi was running full speed uploading at 5Mbps. I've turned the experimental remote save settings on. It doesn't seem to help. Even after I turned auto save off, I still needed to wait that long to run the next cell. I've no idea what it was uploading. |
I'm having the same problem, whenever I try to save a big notebook, even if I changed a single line of code, it takes a lot. This kills performance, especially when working with a mobile connection. |
#138784 (comment)
The text was updated successfully, but these errors were encountered: