Skip to content

Instantly share code, notes, and snippets.

@mattwarren
Last active June 12, 2022 22:11
Show Gist options
  • Save mattwarren/b5030af917ee2694cb5fd3162e4ce150 to your computer and use it in GitHub Desktop.
Save mattwarren/b5030af917ee2694cb5fd3162e4ce150 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