Debugging and analysis performance in VS 2015 and vs2015

Source: Internet
Author: User

Debugging and analysis performance in VS 2015 and vs2015

(This article is also published in my public account "dotNET daily excellent article". Welcome to the QR code on the right to follow it .)

The performance analysis of the Code is usually an independent Profiling process. Now it can be integrated into the debugging process in VS 2015.

Charles Willis and Dan Taylor published an article "Analyze Performance While Debugging in Visual Studio 2015" on MSDN, this article describes how to debug and analyze performance in VS 2015 (or an operation guide ).

In the past (before VS 2015), if you can detect performance problems without running performance diagnostic tools, you can only perform the following operations:

  • Insert the analysis code where performance analysis is required (for example, use Stopwatch to analyze time consumption)
  • Debug and track code that feels slow
  • Or, when the running time is too long, click the "Break All (pause)" button for manual sampling.
  • Some code is over-optimized without proper measurement.

Now, you only need to use the new debugging tool of VS 2015 to easily debug and analyze the performance. Shows the new debugging tool window:

It can directly complete the following performance analysis:

  • History and performance prompts of decomposed events
  • CPU and memory usage analysis
  • Intelligent tracking (intelliitrace) Performance insights

The specific usage and more skills of this powerful debugging tool also require you to "read the original article.

Https://msdn.microsoft.com/zh-cn/magazine/dn973013 (en-us). aspx

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.