MSDN Magazine - October 2008 - (Page 32) .NET performance profiling reinvented New ANTS Profiler 4: Change for ever the way you profile your programs F or maximum efficiency, follow our three profiling tips outlined below 1. Zero in on problem code You can view performance data for any time period within your application’s execution. Just click and drag over any region of activity on the timeline, and you will be presented with the data for that region. In this way, you won’t be swamped with information when you are only interested in a particular spike in resource usage, or a specific event. The call tree underneath the timeline displays the profiling results almost instantaneously, and takes you straight to the heart of a performance issue. The call tree is dynamically updated to match the selection on the timeline 3. Create a call graph The call graph feature enables you to create a graphical, hierarchical diagram, showing the relationships between methods during the execution of your application. You can create a graph focused on a method of your choice, and visualize all the callers and callees for that method, and their contribution to its execution time. Once you are done, you can print and export the diagrams for reporting purposes. 2. Analyze line-level timings With the source-code pane, you can explore your source code and obtain quantitative data such as hit count and line-level timings. Expensive lines of code are highlighted with a red bar for quick visual inspection. The code navigation feature allows you to follow method calls by clicking on the source code. The call graph is highly interactive, with expand, collapse, and zoom features to allow rapid inspection ANTS Profiler provides you with quantitative data, such as line-level code timings and hit count, so you don’t have to waste time guessing where bottlenecks may be Download your 14-day, fully functional free trial from www.red-gate.com ingeniously simple tools http://www.red-gate.com http://www.red-gate.com
For optimal viewing of this digital publication, please enable JavaScript and then refresh the page. If you would like to try to load the digital publication without using Flash Player detection, please click here.