Notebook initial loading improvement #129932
Labels
freeze-slow-crash-leak
VS Code crashing, performance, freeze and memory leak issues
notebook
polish
Cleanup and polish issue
Milestone
Currently when opening a notebook after the window is opened, we will try to activate all extensions whose activation event is
onNotebook:{VIEWTYPE}
synchronously, even if they are not accounted for serializing/deserializing the notebook. This caused a significant slow down of the first notebook opening.Now that we have the ipynb serializer is part of the core, we should ensure the notebook file opening is fast and not blocked by any extension.
What happens now when opening an ipynb file with multiple notebook extensions installed, one example:
It spent 3 seconds in loading and activating Jupyter, Kusto and Julia extensions.
Proposal
onNotebook:VIEWTYPE
andonNotebook:*
, fire and forget, noawait
.activate
notebook extensions which contributes the impure notebook renderer prior to rendering the output.The text was updated successfully, but these errors were encountered: