Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English Edit

Share via

Facebook x.com LinkedIn Email

Measure app performance in Visual Studio

Profiling and diagnostics tools help you diagnose memory and CPU usage and other application-level issues. With these tools, you can accumulate performance data while you run your application.

Get started

Tutorial

  • Get started analyzing CPU usage
  • Get started measuring memory usage
  • Try AI-assisted profiling

How-To Guide

  • Case study - Beginner's guide to optimizing code
  • Case study - Isolate a performance issue

Fundamentals

Overview

  • First look at profiling tools
  • Which tool should I use?
  • What is a profiler?
  • Ways to run profiling tools

Concept

  • Understanding performance collection methods

Performance tools

How-To Guide

  • CPU Usage
  • Memory Usage
  • .NET Object Allocation Tracking
  • Instrumentation
  • .NET Counters
  • Benchmark.NET
  • File I/O
  • Database
  • Events Viewer
  • .NET Async

Guides

How-To Guide

  • Optimize profiler settings
  • Measure performance from the command line
  • Use multiple profiler tools simultaneously
en-us
Your Privacy Choices
  • AI Disclaimer
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2025