Skip to content

Explore running notebook extension in dedicated extension host #140374

@rebornix

Description

@rebornix

We have been receiving reports of slow performance of cell execution in Jupyter extension. The underlining problem is similar to what Vim users are sometimes running into: the extension host runs all extensions and any heavy computation can slow down or block the event loop, and at the end slow down the Vim extension. Cell execution in VS Code workflow is

  1. Users press run button
  2. Execution request sent to extension host
  3. Jupyter extension sent request to Jupyter kernel
  4. Jupyter kernel kept sending output changes to Jupyter extension
  5. Jupyter extension convert raw outputs to VS Code model and sent to UI

Step 4 and 5 are heavily affected by other extensions running in the same extension host thus we want to explore if we can run notebook extensions in its own dedicated extension host.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions