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

Profile extension host when needed #60332

Closed
jrieken opened this issue Oct 9, 2018 · 3 comments
Closed

Profile extension host when needed #60332

jrieken opened this issue Oct 9, 2018 · 3 comments
Assignees
Labels
extension-host Extension host issues feature-request Request for new features or functionality on-testplan release-notes Release notes issues
Milestone

Comments

@jrieken
Copy link
Member

jrieken commented Oct 9, 2018

We finally have all pieces to automatically start profiling the extension host when it goes dark. This is a flow I would like to have:

  • detect that the extension host is unresponsive (by waiting for the ack-messages)
  • attach the profiler and profile for a bit
  • associate time slices from the profile to extensions (just like the Running Extension View does it after profiling)
  • show a message to file a bug against the heaviest hitters...
@jrieken jrieken self-assigned this Oct 9, 2018
@jrieken jrieken added feature-request Request for new features or functionality extension-host Extension host issues labels Oct 9, 2018
@jrieken
Copy link
Member Author

jrieken commented Oct 9, 2018

cc @egamma

@jrieken
Copy link
Member Author

jrieken commented Nov 13, 2018

With today's insiders build we start profiling the extension host as soon as it is found to be unresponsive. Finding are currently send as telemetry and logged down as message:

screenshot 2018-11-13 at 15 12 24

@jrieken
Copy link
Member Author

jrieken commented Nov 27, 2018

Closing, we now have the log file writing, telemetry, and a silent* user-facing notification when an extension is really greedy.

screenshot 2018-11-27 at 12 30 58

*a silent notification shows the bell in the status bar but doesn't reveal itself into your face

@jrieken jrieken added the release-notes Release notes issues label Dec 7, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extension-host Extension host issues feature-request Request for new features or functionality on-testplan release-notes Release notes issues
Projects
None yet
Development

No branches or pull requests

2 participants