vscode-js-debug icon indicating copy to clipboard operation
vscode-js-debug copied to clipboard

Support for Performance.{mark, measure}

Open jasonwilliams opened this issue 10 months ago • 2 comments

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

Image

What is needed for this support to appear in the VS Code profile output and flamegraph?

jasonwilliams avatar Dec 13 '24 21:12 jasonwilliams