Cell execution in VSCode is much slower than jupyter notebook
#15776
Labels
bug
Issue identified by VS Code Team member as probable bug
info-needed
Issue requires more information from poster
Applies To
What happened?
The execution of cells containing custom widgets takes much longer than expected when compared to running the same cells under
jupyter notebook
orjupyter lab
.The file in question: https://github.com/rerun-io/rerun/blob/jan/new-notebook-api/examples/python/notebook/cube.ipynb
The widget it is loading is fairly heavy, because the bundled JS includes a ~20 MB Wasm binary.
vscode-jupyter
takes ~1 minute to run all cells, measured using a stopwatch. Started when pressingrun all
button, and stopped when the last cell finishes executing and displays its output. The Jupyter Output logs seems to agree.jupyter notebook
takes a few seconds to do the same.Before testing, I disabled all extensions, and only enabled WSL, Python, and Jupyter.
VS Code Version
Version: 1.88.1 (user setup)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:41:02.734Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.19045
Jupyter Extension Version
v2024.3.1
Jupyter logs
Expand
Coding Language and Runtime Version
Python 3.11.9
Language Extension Version (if applicable)
ms-python.python v2024.4.1
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local
The text was updated successfully, but these errors were encountered: