Reading time: | 10 min |
Last updated: | 13 Feb 2025 |
Reading time: |
10 min |
Last updated: |
13 Feb 2025 |
This guide is intended to get you up and running with this tool quickly with the most common settings. For a thorough review of all options, refer to the official documentation.
WindowsPerf is a lightweight performance profiling tool inspired by Linux Perf, and designed specifically for Windows on Arm.
The WindowsPerf GUI is a Visual Studio 2022 extension that provides an intuitive, integrated experience within the Visual Studio Integrated Development Environment (IDE). The extension enables developers to interact with WindowsPerf, adjust settings, and visualize performance data seamlessly in Visual Studio.
Before installing the Visual Studio Extension for WindowsPerf, complete the following steps:
The disassembly feature requires llvm-objdump
in the search path. Verify that your %PATH%
variable includes the location of llvm-objdump
to ensure proper functionality.
To install the Visual Studio extension for WindowsPerf from Visual Studio, use the Extension Manager:
Extensions
menu, and select Manage Extensions
.Search (Ctrl+L)
bar, and type WindowsPerf
.Install
button.You can also install the WindowsPerf Visual Studio Extension from GitLab.
Using a browser, visit the
Releases
page and download the latest file. For example, windowsperf-gui-3.1.3.zip
.
Unzip the downloaded file and double click on the WindowsPerfGUI.vsix
file.
Follow the prompts to install the Visual Studio extension.
Ensure that any previous version of the extension is uninstalled and that Visual Studio is closed before installing the extension.
Building the source is not required, but is an alternative installation method if you want to customize the extension.
To build the source code, clone the repository using Git.
git clone https://gitlab.com/Linaro/WindowsPerf/vs-extension.git
Double click the WindowsPerfGUI.sln
solution file to open the project Visual Studio.
Visual Studio may prompt you to install additional components required to build the project, install these components.
Open the Build
menu and select Build Solution
to create WindowsPerfGUI.dll
and WindowsPerfGUI.vsix
. You can replace the currently installed files with these files to try any changes you have made.
After the extension is installed, you must link the extension with the wperf.exe
file by navigating to Tools > Options > WindowsPerf > WindowsPerf Path
in Visual Studio.
Use the Select
button to navigate to your wperf.exe
and the Validate
button to confirm the executable is found.
This step is crucial for utilizing the extension, and the extension will not work without this configuration.
The WindowsPerf extension is composed of several key features, each designed to streamline the user experience:
wperf.exe
for a seamless integration.Tools
then WindowsPerf Host Data
.The sampling interface is shown below:
wperf stat
command from scratch using the configuration interface, then view the output in VS Code or open it with Windows Performance Analyzer (WPA).
The interface to configure counting is shown below:To uninstall the extension in Visual Studio:
Go to Extensions > Manage Extensions > Installed > All > WindowsPerfGUI
and select Uninstall
.
Visual Studio will schedule the uninstallation. To complete the process, close Visual Studio and follow the uninstall dialog prompts.
How would you rate this tool quick-install guide?
What is the primary reason for your feedback ?
Thank you! We're grateful for your feedback.