Using Windows Performance Recorder (WPR) to Diagnose Random Freezes and Lag

When your PC randomly freezes, stutters, or becomes unresponsive, and Event Viewer shows no errors—it’s time to break out the big guns: Windows Performance Recorder.

WPR is a powerful, built-in tool that lets you record system behavior in real time and analyze it with surgical precision.

What Is Windows Performance Recorder?

WPR is part of the Windows ADK (Assessment and Deployment Kit). It captures kernel-level performance data including:

  • CPU usage by process

  • Disk I/O bottlenecks

  • Driver delays

  • Thread scheduling

  • Interrupt latency

This data can then be analyzed using Windows Performance Analyzer (WPA).

How to Install WPR

  1. Download Windows ADK (small install option available)

  2. Install Windows Performance Toolkit only

  3. Launch WPRUI.exe

Basic Usage Steps

  1. Choose Performance scenario (General, CPU, Disk, etc.)

  2. Click “Start” to begin recording

  3. Reproduce the issue—freeze, lag, or spike

  4. Click “Save” and give the file a name

  5. Open the saved file in WPA for analysis

What to Look For in WPA

  • CPU usage over time by thread

  • I/O Read/Write latency by process

  • High ISR/DPC execution time (driver problems)

  • Context switches per second (indicates CPU overload or starvation)

Pro-Level Tip

If you’re diagnosing game stutter or frame drops, enable GPU tracing before you record. This reveals DirectX call delays, GPU queue stalls, and driver overhead.

Real Use Case

A developer experienced 3-second freezes in Visual Studio. WPR traced the issue to Windows Defender scanning .DLL files during compile. Solution? Exclude the project folder in Defender settings. Problem solved.

WPR is complex—but incredibly powerful. If you’re tired of guessing and want answers, this tool is how professionals diagnose what Task Manager and Event Viewer can’t see.

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다