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

Fix webview loading perf mark. #212120

Merged
merged 1 commit into from
May 6, 2024
Merged

Fix webview loading perf mark. #212120

merged 1 commit into from
May 6, 2024

Conversation

rebornix
Copy link
Member

@rebornix rebornix commented May 6, 2024

No description provided.

@rebornix rebornix self-assigned this May 6, 2024
@rebornix rebornix enabled auto-merge (squash) May 6, 2024 18:40

this.logService.debug('NotebookEditorWidget', 'warmup ' + this.viewModel?.uri.toString());
await this._resolveWebview();
perf?.mark('webviewCommLoaded');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amunger I fixed this webview perf mark so we can differentiate between webview initialization and the markup cells viewport warmup to help us understand which one is slowing down the file opening.

@VSCodeTriageBot VSCodeTriageBot added this to the May 2024 milestone May 6, 2024
@rebornix rebornix merged commit cb823e5 into main May 6, 2024
7 checks passed
@rebornix rebornix deleted the rebornix/rainy-felidae branch May 6, 2024 19:39
@microsoft microsoft locked and limited conversation to collaborators Jun 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants