Skip to content
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

Notebook takes 30 sec to load #4484

Closed
jankatins opened this issue Nov 3, 2013 · 2 comments
Closed

Notebook takes 30 sec to load #4484

jankatins opened this issue Nov 3, 2013 · 2 comments

Comments

@jankatins
Copy link
Contributor

I've a notebook which takes 30 sec to load. It has a few plots in it and is quite long, but I've other notebooks which also have plots and are "long" (or at least have lots of output) and they load much faster.

I have also yesterday switched to a newer ipython version from git and my feeling is that this long loading times are only since I updated (no hard data, but I never noticed long loads before when I opened this notebook. Unfortunately, I've deleted my last installer/git references, so I can't say how old the last version was. Probably 1-2 month old)

The notebook can be found here: https://www.dropbox.com/s/fy461tnic67vdth/Testen.ipynb
or nbviewer: http://nbviewer.ipython.org/urls/dl.dropboxusercontent.com/s/fy461tnic67vdth/Testen.ipynb?dl=1&token_hash=AAFnIscbA5TMyRhDMA9r3Bru38bwviKaQUIeHMwP7EyesQ

If you have any suggestions how do debug such issues (chromes "inspect element" seems to suggest that it's not network latency: all GET/POSTs are within ms), I would be happy to help!

[Note: this notebook is my "debugging and testing" Notebook, so all kind of stuff is in there, which probably does not make much sense and probably does not run...]

@minrk
Copy link
Member

minrk commented Nov 3, 2013

This is a performance regression, starting with 1.0, when we updated to CodeMirror 3. Instantiating CM3 is more expensive than it used to be. We have a plan for delayed instantiation, which would make the initial load much more efficient.

@dlukes
Copy link

dlukes commented Nov 7, 2018

This is still the case in both the classic notebook and JupyterLab (I have a notebook with no plots, just a lot of small cells). Maybe this issue should be moved to https://github.com/jupyter/notebook and/or https://github.com/jupyterlab/jupyterlab, now that these are projects separate from IPython?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants