Skip to content

Support for Performance.{mark, measure} #2148

@jasonwilliams

Description

@jasonwilliams

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?

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions