The following through the way to introduce to you, the specific contents are as follows:
Performance optimization in software development is a very important issue for programmers. A small problem can become a bottleneck for a large system. But for programmers, it's very difficult to optimize the code by itself. Fortunately, there are some great tools to help programmers with code analysis and performance testing, which greatly simplifies the process of optimizing code performance for programmers. MSDN Magazine published a theme for July 2011. NET code analysis tools and technology "of that period, let the vast number of programmers harvest quite a lot. Over the past four years, these tools have made a lot of improvements, and there have been more choices. This article briefly combs some of the current mainstream Visual Studio Code performance analysis tools.
AMD CODEXL
AMD Codeanalyst Performance Analyzer, released in 2011, has now been replaced by AMD Codexl. The main purpose of AMD CODEXL is to help developers make better use of CPU, GPU and APU computing performance, with powerful GPU debugging, CPU and GPU code analysis, and static OPENCL kernel performance analysis capabilities.
AMD provides stand-alone version CODEXL analysis tools that support Windows 7, Windows 8, and Linux systems. An expanded version of AMD Codexl is also available on Visual Studio 2010,2012 and 2013, which integrates the debugging and analysis capabilities of GPU and Apu in the Visual Studio development environment. The old AMD Codeanalyst performance Analyzer extension is still available.
JetBrains Dottrace
JetBrains Dottrace, after four years of long development, is now a suite of code execution tracking tools and profiling tools. It includes dottrace performance and Dottrace Memory two tools, dottrace performance to analyze code performance, such as function execution time, call times, consumption time ratio, etc., Dottrace Memory is typically used to analyze memory usage. You can trace, sample, or parse the code in both local and remote systems. Dottrace's support for the Microsoft. NET Framework has been up to version 4.5.2, and can also be used to analyze SILVERLIGHT4 or 5 of stand-alone desktop applications, Web applications, Windows Communication infrastructure (WCF) services, and so on. New features include time axis analysis (timeline profiling) and SQL query analysis.
The dottrace extension Visual Studio Gallery Web page provides a very clear, concise product Overview. By watching the overview if you are interested in the product, you can go to the JetBrains website to decide to download or purchase.
JetBrains currently offers a free trial version with time limits and several licensing options, such as the ReSharper Ultimate package, which includes Resharper,dotcover,dottrace,dotmemory, and ReSharper C + + , all packages require only one license.
Redgate ANTS
Redgate ants Profiling Tools and ants memory analysis tools are another set of business tools that can be used for analysis. NET can run files, ASP. NET applications, Web services in IIS, IIS Express, Web Development Server, SharePoint 2007 or 2010 suite, Silverlight applications, Windows services, and COM + applications.
The Ants Performance analysis tool (Figure 1) can help analyze any. NET supported code base, as well as HTTP requests, storage IO, and support for SQL Servers, oracle,mysql,mariadb,postgresql data access.
Figure 1. Red Gate ANTS Performance analysis tool
The Ants Memory analysis tool makes the. NET memory analysis simpler, and the Ants Memory analysis tool can be used to find memory leaks, optimize applications, make them more memory-efficient, and check the health of the code to analyze any. NET applications, including ASP.net network applications.
Two tools support from. NET1.0 version to the 4.5 version of any language framework, as well as Visual Studio 2005, 2008, 2010, 2012, and 2013. You can view the trial version and the pricing on the Redgate Web site. There is also a free version of Ants Profiler Visual Studio add-in extension, which allows you to directly access the profiling tools and the memory analysis tools on Visual Studio.
Telerik Justtrace
Telerik was Eqatec in 2013, so the EQATEC analysis tool is now Telerik Justtrace. NET memory and Profiling tools. Justtrace provides two modes of performance analysis, lightweight analysis of sampling analysis tools and tracking tools for more in-depth analysis of CLR events. It also has capture. NET instance to allocate a snapshot's memory analysis functionality.
Justtrace integrates visual Studio 2013,2012,2010 and 2008, and can also be used as a stand-alone analysis tool. Telerik provides a 30-day probationary period, while justtrace can also be part of the Devcraft tool suite.
Visual Studio Quality and Diagnostics Center
In addition to the above analysis tools, Visual Studio itself has built-in excellent analysis and debugging tools, both in the Visual Studio quality and Diagnostics Center.
In addition to the familiar Visual Studio analysis tools, the quality and Diagnostics Center has new tools that include JavaScript memory analysis, HTML UI response capability analysis, and XAML UI responsiveness analysis for Windows Store applications, and energy consumption, CPU usage, memory usage analysis and so on. In addition, the JavaScript function time and performance wizards in Visual Studio 2012 have been updated to include the new quality and diagnostics in mind. Because these tools are now available in the center, you can run multiple tools in a separate analysis session and get the results of a combination and cross analysis.
You can also run the Profiling Tools on the visual Studio 2015 Performance and Diagnostics page. Some of the debugging and diagnostics features in Visual Studio 2015 have been enhanced, including support for JavaScript based Apache Cordova projects, and cross-platform debugging of Xamarin and Android projects based on C #
Other improvements include stepping through lambda expressions in the Watch window, running, debugging, and testing programs on other computers through Visual Studio Remote Tools, Network Diagnostics for built-in HTTP traffic data, and more.
Many of these new tools are placed together with the powerful visual Studio 2015 diagnostic Tool Debugger windows, and combine output windows, IntelliTrace Historical data, and tools for performance and diagnostics centers.
Other performance analysis tools
In addition to the code profiling Tools described above, there are other professional code profiling Tools, many of which are developed by programmers like you and are free to use.
The CLR Heap allocation Analyzer extension is a Roslyn based C #堆分配诊断分析工具 that can be used to view clear allocations, boxing allocations, closure capture, and so on. You can run the profiling tool as a stand-alone application or as a code helper within Visual Studio.
Visual leak detector for Visual C + + is an open source Visual C + + memory leak detection system that works with the Visual Studio debugger. Originally developed by Dan Moulding, the project is currently maintained by Arkadiy Shapkin.
Frans Bouma's ORM Profiler extension (Figure 2) allows you to drill down into the Entity Framework data access code in real time to discover performance issues and quickly navigate to them. It has two kinds of product analysis modes online and off-line, which can be navigated directly from the analysis results to the relevant code in the project.
Figure 2 Debugging of Entity Framework data access using ORM Profiler
To check and optimize static resources in your project, Mads Kristensen's image Optimizer Extension adds a right-click menu for any folders and icons in Solution Explorer to help automatically optimize all png,gif and JPEG files in the folder.
Finally, there is Xamarin Profiler, a cross-platform development framework. Within this framework, the development of Android and IOS applications can continue to use C # with in Visual Studio without having to go to Eclipse or buy a Mac and use Xcode. NET Framework.
This article briefly describes some of the performance analysis tools that are currently popular in Visual Studio, and in fact there are a number of tools to choose from. But for programmers, the most important thing is to make the right choice according to their own programming habits and the characteristics of the project.
The above content is relatively long, hope everybody can like.