-
Notifications
You must be signed in to change notification settings - Fork 7
Profiling Guide
David Ortinau edited this page Apr 10, 2025
·
3 revisions
Use dotnet-trace, Speedscope, and PerfView to capture CPU or memory traces.
# Install once
dotnet tool install -g dotnet-trace
# Run tracing (find your app PID first)
dotnet-trace collect --process-id <PID> --profile cpu-sampling --format speedscope- Open the
.nettracefile in https://www.speedscope.app - Look for long-running methods (hot spots)
- Check if work is being done on the UI thread