Optimize Windows applications using Arm Performance Libraries
Introduction
Before you begin
Create and Run a Windows on Arm application
Git setup
Build and Profile an Application with Spin the Cube and Visual Studio
Use Arm Performance Libraries to Optimize Performance
Next Steps
Optimize Windows applications using Arm Performance Libraries
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Use any edition of Visual Studio 2022 that meets your needs. The Community edition is free and suitable for students, open source contributors, and individual developers.
Clone the repository into an empty directory you can write to. After cloning, you should see
SpinTheCubeInGDI.sln and the source file SpinTheCubeInGDI.cpp in the repository folder.Open
SpinTheCubeInGDI.sln in Visual Studio, then build and run it. A window that draws a spinning 3D cube indicates the application is running correctly.Capture a baseline profile while the spinning cube runs, then repeat after changing the example’s programming options such as multithreading. Compare the results between runs to understand the differences.
Install Arm Performance Libraries for Windows on Arm by following the
install guide
. Integrate the libraries as directed by the guide, rebuild the project, and profile again to compare with your baseline.