Windows Performance Analyzer (WPA) is the Microsoft desktop tool that opens Event Tracing for Windows (ETW) recordings and turns millions of kernel and application events into graphs and pivot tables, so an analyst can see exactly where time was spent during a slow operation. In Windows performance work it is the deepest diagnostic layer: Task Manager and Resource Monitor show what is happening now, while WPA explains why a specific delay happened, down to the thread, stack and driver.
WPA ships with the Windows Performance Toolkit, part of the Windows Assessment and Deployment Kit (ADK), and is also distributed through the Microsoft Store. It never records anything on its own; capture is the job of Windows Performance Recorder (WPR) or the command-line tool xperf, and WPA is the analysis half of the toolkit.
How Windows Performance Analyzer reads ETW traces
WPA works on event trace log files (.etl), which are binary recordings produced by ETW providers built into the kernel, drivers and applications. Each event carries a high-resolution timestamp, a process and thread identifier and, when stack walking was enabled, a call stack captured at the moment of the event.
When a trace opens, WPA parses the events into data sources such as CPU sampling, context switches, disk I/O and memory allocations. It then resolves addresses into function names through symbol files (.pdb), loaded from the Microsoft public symbol server or a local cache. Without symbols, stacks show only module offsets, so configuring symbol paths is the first practical step in serious analysis.
The following table lists the main event sources that WPA visualizes and the question each one answers.
| Data source | Underlying events | Question it answers |
|---|---|---|
| CPU usage (sampled) | Profile interrupts, about 1 kHz by default | Which functions consume processor time |
| CPU usage (precise) | Context switch and ready-thread events | Why a thread waited and who woke it |
| Disk usage | Disk I/O start and completion | Which files and processes caused storage latency |
| Memory | Virtual allocation, heap and page events | What grew, leaked or caused hard faults |
| Generic events | Custom and provider-specific events | When an application marker or phase occurred |
| System activity | Process, thread and image load events | What started, ran and loaded during the trace |
The analysis workspace and its views
The WPA interface is built around the Graph Explorer on the left and one or more analysis tabs on the right. An analyst drags a graph into a tab, where it appears as a time-series chart above a configurable data table. Selecting a time range in any graph filters every other view to the same interval, which makes correlating CPU, disk and wait activity straightforward.
The data table is a pivot table with a gold bar: columns to the left of the gold bar act as grouping keys, and columns to the right are aggregated. Moving the Stack column left of the bar produces a call-tree view with weights, while grouping by Process and Thread isolates a single culprit. Saved arrangements are stored as WPA profiles (.wpaProfile), which teams share so that every engineer reads a trace the same way.
- Flame graphs summarize sampled stacks visually, with wide bars marking the hottest code paths.
- Regions of interest files mark named phases, such as boot stages, so durations appear directly in the table.
- Zooming and annotations let an analyst document a finding inside the session before exporting it.
How WPA compares with other Windows performance tools
WPA is retrospective and event-level, whereas most other Windows tools are live and counter-based. Choosing the right tool depends on whether the problem is visible right now, reproducible on demand or intermittent.
| Tool | Data model | Best suited for |
|---|---|---|
| Task Manager | Live summary counters | Quick check of which process is busy |
| Resource Monitor | Live per-process detail | Identifying file, network or handle activity now |
| Performance Monitor | Sampled counters over time | Long-term trends and threshold alerts |
| Process Explorer | Live process tree with threads | Inspecting handles, DLLs and thread stacks interactively |
| Windows Performance Recorder | ETW capture only | Recording the trace that WPA later opens |
| Windows Performance Analyzer | Recorded ETW events with stacks | Root-cause analysis of delays, hangs and boot time |
The key distinction is causality versus symptoms. Performance Monitor can show that disk queue length spiked, but only an ETW trace in WPA reveals which thread issued the I/O and which function was waiting for it.
Typical investigations and how to approach them
Most WPA sessions follow the same pattern: reproduce the problem while recording, narrow the timeline to the slow interval, then drill into the resource that dominates it. The recording profile in WPR determines which graphs are available, so the capture must match the question.
| Symptom | Recording profile | Where to look in WPA |
|---|---|---|
| Slow boot or logon | Boot trace with first-level triage | Boot phases and regions of interest |
| High CPU in one app | CPU usage profile | Sampled CPU usage grouped by stack |
| UI freezes or hangs | CPU plus wait analysis | Precise CPU usage, ready-thread stacks |
| Stuttering or dropped frames | GPU activity and CPU | GPU utilization and DPC/ISR duration |
| Gradual memory growth | Heap or VirtualAlloc tracing | Outstanding allocations by stack |
| Slow file operations | Disk and file I/O | Disk usage by path and service time |
Long-running DPC and ISR activity deserves special attention, because a single misbehaving driver can delay every thread on a core. WPA presents these durations in their own graph, making it one of the few tools that can attribute audio glitches or input lag to a specific driver module.
Limitations and common mistakes
WPA is powerful but unforgiving. Traces grow quickly, often hundreds of megabytes per minute with stack walking enabled, and analysis requires knowledge of scheduler and I/O internals. Most failed investigations trace back to capture mistakes rather than to the analyzer itself.
| Mistake | Consequence | Remedy |
|---|---|---|
| No symbols loaded | Stacks show only hexadecimal offsets | Set the symbol path and load symbols |
| Trace too long | Huge files and slow loading | Use circular buffer mode and stop soon after the issue |
| Wrong recording profile | Required graphs are missing | Choose providers that match the symptom |
| Reading sampled CPU for waits | Idle waiting time is invisible | Use precise CPU usage for wait analysis |
| Ignoring observer overhead | Timings slightly inflated | Compare with an untraced baseline |
Traces can also contain sensitive information, including file paths, process names and user names, so they should be handled as confidential diagnostic data when shared outside an organization.
In simple terms
Windows Performance Analyzer is like a slow-motion replay for a computer. First, another tool records everything Windows does for a short time. Then WPA plays that recording back as charts and tables.
You can pause on the exact second when the computer felt slow. You can see which program was busy and what it was waiting for. The key idea is simple: WPA explains the cause of slowness, not just the fact that the computer was slow.
A practical example
An IT administrator at a mid-sized accounting firm receives complaints that new laptops take about 90 seconds to reach a usable desktop after logon. Task Manager shows nothing unusual once the desktop appears, so the administrator records a boot trace with Windows Performance Recorder on one affected laptop and opens it in WPA.
The boot regions of interest show that the post-logon phase alone lasts 62 seconds. Grouping disk usage by process reveals that a legacy inventory agent reads thousands of small files during logon, while precise CPU usage shows Explorer threads waiting on that agent’s file locks. After the agent is reconfigured to start with a two-minute delay, a second trace confirms that the logon time dropped to about 25 seconds.