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
Who is this for?
This learning path is for developers who want to benchmark the performance of the .NET 8 applications on Windows on Arm (WoA).
What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Build and run .NET 8 Console Applications
- Benchmark .NET applications
- Implement custom performance benchmarks
Prerequisites
Before starting, you'll need the following prerequisites:
- A Windows on Arm computer such as the Lenovo Thinkpad X13s running Windows 11 or a Windows on Arm virtual machine .
- .NET 8 SDK for x64 and arm64 .
- Any code editor, we recommend using Visual Studio Code for Arm64 .
Summary
This summary was 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.
System.Diagnostics.Stopwatch with the PerformanceTests class to time focused code paths. Then, you’ll review the output, compare results across builds, and develop a repeatable approach for measuring your own .NET benchmarks.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.
PerformanceTests class. Use the reusable methods from PerformanceHelper to time your code with System.Diagnostics.Stopwatch.