PerfView collects and analyzes CPU and memory traces on Windows, with extra support for .NET and some Linux-captured data.
Overview
PerfView is a performance analysis application focused on CPU and memory issues. It runs primarily on Windows and can also analyze certain traces collected on Linux machines. The tool targets scenarios from interactive investigations to deep dives into runtime behavior.
It includes specialized support for code running on the .NET runtime, while still handling a wide range of Windows tracing scenarios. PerfView can collect Event Tracing for Windows data and work with EventPipe traces from .NET Core. Analysis features help isolate hot paths, memory usage, and timing behaviors using the built-in user guide and viewers.
The shipped executable bundles support libraries that unpack on first launch, so deployment is a single EXE copied to the machine under test. PerfView requires .NET Framework 4.7.2 or later on Windows hosts and expects Windows 10 or Windows Server 2016 or newer when running on Windows.
Microsoft Learn also hosts a video tutorial series that walks through collecting traces, resolving symbols, exploring events, and investigating .NET heap and wall-clock questions with PerfView. The same repository documents the underlying TraceEvent library for programmatic trace handling when PerfView’s UI is not enough.
Key features
- CPU and memory trace collection
- .NET runtime focused investigations
- ETW and EventPipe trace support
- Built-in user guide and viewers
- Trace ZIP sharing for support cases
- Single portable Windows executable
- TraceEvent library for programmatic use
- Video tutorial series on usage
Use cases
- Finding CPU hotspots in .NET applications
- Investigating memory leaks on Windows
- Analyzing ASP.NET server performance
- Sharing traces when reporting PerfView issues