How to Use Windows Performance Recorder (WPR.exe) to Troubleshoot Performance Issues
Windows Performance Recorder (WPR.exe) is a powerful tool that can help you diagnose and resolve performance problems on your Windows 10 device. It is part of the Windows Performance Toolkit, which you can download from the Windows Assessment and Deployment Kit (Windows ADK). WPR.exe records system and application events that you can then analyze by using Windows Performance Analyzer (WPA), another tool in the toolkit.
In this article, we will show you how to use WPR.exe to create and analyze performance recordings, and how to use common scenarios and profiles to customize your recordings. We will also provide some tips and resources for further learning and troubleshooting.
How to Create a Performance Recording with WPR.exe
There are two ways to create a performance recording with WPR.exe: using the graphical user interface (GUI) or using the command-line interface (CLI).
Using the GUI
To use the GUI, follow these steps:
Open WPR.exe from the Start menu or by typing wpr.exe in the Run dialog box.
Select one or more recording options from the tabs on the left. You can choose from General, CPU Usage, Disk I/O, File I/O, Memory, GPU Usage, Boot, or Custom.
Click Start to begin the recording. You can also specify a file name and location for the recording file.
Perform the actions that you want to record, such as launching an application, browsing a website, or playing a game.
Click Save to stop the recording and save the file. You can also press Ctrl+Alt+Q to stop the recording without saving.
Using the CLI
To use the CLI, follow these steps:
Open a command prompt window as an administrator.
Type wpr.exe -start [profile], where [profile] is one of the predefined profiles or a custom profile that you have created. For example, wpr.exe -start CPU will start a recording with the CPU usage profile.
Perform the actions that you want to record.
Type wpr.exe -stop [path], where [path] is the file name and location for the recording file. For example, wpr.exe -stop C:\\Users\\John\\Desktop\\MyRecording.etl will stop the recording and save it as MyRecording.etl on John's desktop.
How to Analyze a Performance Recording with WPA
Once you have created a performance recording with WPR.exe, you can open it with WPA to analyze it. WPA is a graphical tool that lets you view and explore various aspects of system and application performance, such as CPU usage, disk activity, memory consumption, network activity, GPU usage, and more. You can also create charts, graphs, tables, and filters to visualize and compare data.
To analyze a performance recording with WPA, follow these steps:
Open WPA from the Start menu or by typing wpa.exe in the Run dialog box.
Select File > Open and browse to the location of your recording file. Alternatively, you can drag and drop your recording file onto WPA.
Select one or more analysis views from the Graph Explorer pane on the left. You can choose from System Activity, Computation, Storage, Memory Usage, GPU Usage, Power Usage, Boot Phases, or Custom.
Select one or more graphs from the Analysis pane on the right. You can zoom in and out of graphs by using the mouse wheel or by dragging the time selection bar at the bottom. You can also right-click on graphs to access various options such as filtering, grouping, sorting, highlighting, copying, exporting, etc.
Select one or more details from the Details pane at the bottom. You can view more information about specific events or processes by selecting them in the graphs or tables above. You can also right-click on details to access various options such as filtering, grouping, sorting, highlighting, copying, exporting, etc. aa16f39245