Skip to content

Open notebooks in vscode.dev/gh.dev is slow #145567

@jrieken

Description

@jrieken
  • use GHINBs or any other notebook extension in the web
  • open a notebook file
  • 🐢 notice how slow the notebook opens, it takes roughly a second for its contents to appear
Screen.Recording.2022-03-21.at.15.49.40.mov

The slowness is because of the fetching of "dynamic" resources. Fetching iframe resources takes ~300ms in average - that's why subsequent fetches of the same notebook are fast, but of a different notebook are slow.

Screenshot 2022-03-21 at 15 47 44

Things that we should investigate

  • Why is *.vscode-webview.net/ so slow? @joaomoreno
  • San we reuse the same dynamic subdomain per notebook-type (or notebook extension)? That would mean only the first load of a notebook of a type is slow, not all @mjbvz @rebornix

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugnotebooknotebook-perfperfverifiedVerification succeededwebviewWebview issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions