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 execution seems slow as clicking Run All does not reach extension host for a few seconds #207755

Closed
DonJayamanne opened this issue Mar 14, 2024 · 1 comment
Assignees

Comments

@DonJayamanne
Copy link
Contributor

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

  1. Create a large notebook with a few 100 cells (500 cells)
  2. Ensure the notebook has large outpus,
    Use the following to generate cell with outupt and copy this a few 100 times.
from IPython import display
display.Image("/Users/donjayamanne/demo/output.png")
  1. Open Jupyter output panel
  2. Run one cell and wait for it to run
  3. Clear Jupyter output panel
  4. Hit run all
  5. Notice that it takes a few seconds for the message Handle Execution of Cells to get logged in output panel.
    On my machine it takes around 5s, meaning VS Code core is busy doing something before exension host gets the message to execute the cells.

This could be the same issue we're runnging into over SSH and other cases as well.
Basically users report Jupyter notebook is slow, but based on Jupyter extension logs, things are fast,
this seems to line up perfectly with the above.

@DonJayamanne
Copy link
Contributor Author

Fixed as a result of this #210004

@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants