-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
WEB: JupyterLite terminal too slow #47530
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
Comments
Thanks @datapythonista for reporting 👍 4 minutes sounds like a long time. Normally it should be within 30-60s, but can depend on the internet connection since it's a couple of MBs to download indeed. After the first download most of the assets should be cached by the browser and make it faster to load. Will look into it more. In the meantime I opened #47532 to update to the latest |
I assumed that the download finishes after 20 seconds, when the terminal is visible, and the problem is running things, which is what takes 4 minutes. Is it still downloading things when the terminal with the code is visible? |
I tried today with a faster connection, 80Mbps, and displaying the terminal took shorter, a bit less than ten seconds. But running the code took more than one minute. I did a test to run I tried the numpy terminal. It loads much faster, like in 3 seconds. I'm using a new incognito session every time, I think caches shouldn't be used. But running the I'm using Brave on Linux. Would be good if someone else can give it a try, to see if those are the times everybody is experiencing. |
I got 23 seconds from incognito, 10 seconds when just refreshing the page. I'm using Chrome on Ubuntu. If the experience isn't too bad for most users, I'm +1 on it remaining. In fact, I just used it while working on a PR to check 1.4.2 behavior and it was quite convenient. |
That sounds more reasonable. Was it 23 seconds until the terminal finished the execution of the cells? What Browser are you using? |
I'm using Chrome on Ubuntu. That's correct; the terminal finished execution of the cells that are there when the page loads as well as one I provided ( |
I recently tried this again, it seems to be hanging now. Even after 30 minutes, I don't get output from any commands in the terminal. |
I tried two days ago from mobile and I couldn't get the default commands executed after couple of minutes. I thought it was a mobile only problem. @jtpio maybe a problem with the last upgrade? |
Ah that looks odd and should have been fixed by #48329. I'll have another look to see what's happening. |
The
Try it in your browser
terminal in the https://pandas.pydata.org/getting_started.html page, seems to be too slow to me. I've got 10Mb download, and an i7 processor. Nothing too fancy, but quite reasonable to expect things to load not too slow. For me the terminal loads after 20 seconds, and cells are executed and the terminal is ready to run commands 4 minutes after the terminal is loaded.Can someone else have a look and see if the times are similar? @jtpio is this what it needs to take? If this is what everybody is experiencing, and there is nothing we can do about it, I think we should remove the terminal from the website, until things can be faster.
The text was updated successfully, but these errors were encountered: