Skip to content

Instantly share code, notes, and snippets.

@pictos
Forked from mattwarren/PerfView-Tutorial.md
Created July 15, 2025 00:38
Show Gist options
  • Save pictos/7a314be7f3f1634edf546573f777974c to your computer and use it in GitHub Desktop.
Save pictos/7a314be7f3f1634edf546573f777974c to your computer and use it in GitHub Desktop.

Background Info

Download the official Microsoft release or the latest one on GitHub

DON'T BE PUT OFF BY THE UI (But if you are take a look at CodeTrack)

Challenges

  • Run a memory profile on one of your own .NET apps (or download and interesting sample one, e.g. NerdDinner or similar)
    • If all else fails, follow this tutorial that includes the code for a simple 'sample app'
  • What other ETW Events can PerfView give you?
    • What do they tell you about what the .NET Runtime is doing when it runs your program?
    • Hint: See the "Events" tab in the .ETL file and then filter for 'DotNETRuntime'
  • If you're feeling brave, use your own app or this code and get a CPU Profile

Useful Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment