How to record extension host performance in code-server? #6823
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The web version of VS Code has an extension host that runs on the server and an extension host that runs in a web worker. Only the web worker extension host would show up in Chrome's profiler, and only web extensions can run there (and most extensions are not web extensions, I believe). As for why that context menu option is not available, you might have better luck asking upstream in https://github.com/microsoft/vscode about this feature for the web version. I can only vaguely guess that this is something that worked in Electron that they have not been able to port to Node or web yet. |
Beta Was this translation helpful? Give feedback.
Yup exactly right.
I think it would be possible to use the Node profiler. For example I just tried:
Then you can check the processes and find the pid of the extension host. In my case, 71247.