Performance: Using Visual Studio Analyzer to identify application bottlenecks

Source: Internet
Author: User

This article discusses:

Target Performance bottlenecks

Application Code Analysis

Compare profiling data

Performance reports

This article uses the following techniques:

Visual Studio 2008

Over the past decade, many new software technologies and platforms have emerged. Each new technology requires specialized knowledge to create a performance-friendly application. Now, because a variety of Internet technologies (such as blogs) make it easy for frustrated users to negate your application, you really need to place performance first. In the early stages of planning, you should add response performance requirements and create prototypes to determine possible technical limitations. Throughout the development process, you should also measure the performance aspects of your application to discover possible performance degradation while ensuring that testers file and track their errors in slower situations.

Even with the best plans, you must still investigate performance issues during product development. In this article, we'll show you how to use the visual Studio®team System Development Edition or the visual Studio team Suite to determine the performance bottlenecks in your application. You will be introduced to the Visual Studio Analyzer by walkthrough a sample performance Survey. Note that although we use C # to write code examples in this article, most of the examples here are equally valid for native C/s and Visual basic® code.

Application Profiling

We will use the parser that came with the two versions of Visual Studio that we mentioned earlier. Start by writing a small sample project for drawing Mandelbrot irregular graphics, as shown in Figure 1. The application is not very efficient and takes about 10 seconds to draw irregular graphics.

Figure 1 Target program for performance testing

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.