79676056

Date: 2025-06-23 11:06:25
Score: 1.5
Natty:
Report link

In Visual Studio 2022, I don't see a way to directly start/stop profiling, but I do see a way to add "marks" to achieve the same thing: https://learn.microsoft.com/en-us/visualstudio/profiling/add-timeline-graph-user-marks

You can set marks in your code using the Microsoft.DiagnosticsHub namespace, and then once the data is collected, you can select the time between two collected marks to limit the profiling results to that time period.

enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
Posted by: hypehuman