Benchmarking .NET 8 applications on Windows on Arm
Introduction
Measuring performance of the .NET apps
Custom benchmarks
Next Steps
Benchmarking .NET 8 applications on Windows on Arm
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.
The introduction includes a quick check to confirm the installation. Complete that verification step before cloning or running the sample application.
Both x64 and arm64 SDKs are listed so you can build as directed when comparing results. Follow the step instructions to choose the SDK for each build.
Clone the repository from
Github
. It contains the console app scaffold and the benchmarking helpers you use.
Add or modify test cases in the
PerformanceTests class. Use the reusable methods from PerformanceHelper to time your code with System.Diagnostics.Stopwatch.The console application prints timing results for each test. You should see execution time measurements that you can compare across runs or builds as instructed.