Chuyển đến nội dung chính

Trình duyệt này không còn được hỗ trợ nữa.

Hãy nâng cấp lên Microsoft Edge để tận dụng các tính năng mới nhất, bản cập nhật bảo mật và hỗ trợ kỹ thuật.

Tải xuống Microsoft Edge Xem thêm thông tin về Internet Explorer và Microsoft Edge
Đọc bằng tiếng Anh Chỉnh sửa

Chia sẻ qua

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
vi-vn
Lựa chọn quyền riêng tư của bạn
  • Tuyên bố miễn trừ trách nhiệm về AI
  • Các phiên bản trước
  • Blog
  • Đóng góp
  • Quyền riêng tư
  • Điều khoản sử dụng
  • Thương hiệu
  • © Microsoft 2026