You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be a limitation of Node.js rather than VS Code, but it would be good to have performance.mark and performance.measure annoations appear in the final trace and the flamegraph you get after profiling. Sometimes I add more detailed measures around unnamed anonymous functions to get a idea on how long it took, but then I can't see the results inside of flamegraph.
Currently our profiles come from the Profiler V8 domain. Marks appear on the PerformanceTimeline which is not something we interact with yet, so implementing this is not super trivial. I also don't know whether Node.js implements that domain as it's not part of the v8-inspector protocol
This may be a limitation of Node.js rather than VS Code, but it would be good to have performance.mark and performance.measure annoations appear in the final trace and the flamegraph you get after profiling. Sometimes I add more detailed measures around unnamed anonymous functions to get a idea on how long it took, but then I can't see the results inside of flamegraph.
This works in the browser using dev tools but it doesn't seem to exist from the VS Code side. Here is the browser version explained:
https://developer.chrome.com/docs/devtools/performance/reference
What is needed for this support to appear in the VS Code profile output and flamegraph?
The text was updated successfully, but these errors were encountered: