Прескачане към основното съдържание

Този браузър вече не се поддържа.

Надстройте до Microsoft Edge, за да се възползвате от най-новите функции, актуализации на защитата и техническа поддръжка.

Изтегляне на Microsoft Edge Повече информация за Internet Explorer и Microsoft Edge
Прочетете на английски Редактиране

Споделяне чрез

Facebook x.com LinkedIn Имейл

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
bg-bg
Вашите възможности за избор на поверителност
  • Правна забележка за ИИ
  • Предишни версии
  • Блог
  • Сътрудничество
  • Поверителност
  • Условия на използване
  • Търговски марки
  • © Microsoft 2026