News

ANTS Profiler Adds VS2005, .NET 3.0 Support

Red Gate Software Ltd.'s ANTS Profiler version 3 enables speedier performance by exposing slow .NET code.

Sometimes your Web applications and databases have been optimized, but performance is still slow. Performance profiling tools can help identify the bottlenecks.

Red Gate Software Ltd. shipped the latest version of its ANTS Profiler in mid-March. ANTS 3.0 is designed for .NET developers or testers who need to figure out performance bottlenecks. It lets developers choose which code to profile (all .NET methods including .NET Framework assemblies, methods compiled with debugging information or custom filters).

When the app is in use, ANTS records how long it takes methods or lines of code to execute, and their frequency. When the profiling is finished, the tool identifies problem code by providing a summary of key metrics -- 10 slowest lines of code, 10 slowest methods. Developers can drill down for relevant performance information, for example, clicking on a slow line of code to see the source code and timings.

A Memory profiler lets developers find out how an app is using memory. ANTS supports all .NET languages and most .NET apps (Windows, ASP.NET, COM+), according to the company.

Version 3.0 adds a "Fast Mode" for performance profiling that records only method-level timings, for less overhead when profiling complex enterprise apps. A new application programming interface (API) lets users insert code to better control snapshots. This version also adds Visual Studio (VS) 2005 and 2003 integration. Developers can work from an ANTS menu and toolbar within VS and automatically add project settings to the ANTS Profiler wizard. They can also access options on the context menu when editing source code, and set up custom filters for faster profiling.

Minimal Limitations
The goal throughout development was to make sure that ANTS works on anything .NET. "We've tested the new version with all of the new .NET 3.0 features such as WPF, WCF, WF and XAML," says Richard Mitchell, lead developer. "I think we got there in the end. There is a limitation with the XAML/XBAP profiling in that we can't currently provide line-level timings because they run in a sandbox, but that's the only issue we've come across.

"We've also had a little play with the new features of C# 3.0," says Mitchell, "and although we're not supporting it officially, it seems to work nicely, which is very gratifying."

The standard version of ANTS Profiler 3.0 is $295. The Pro version, which includes the Memory profiler, "Fast Mode" and new API is $495. Red Gate, based in Cambridge, U.K. is a Visual Studio Industry Partner.

About the Author

Kathleen Richards is the editor of RedDevNews.com and executive editor of Visual Studio Magazine.

comments powered by Disqus

Featured

  • Windows Community Toolkit v8.2 Adds Native AOT Support

    Microsoft shipped Windows Community Toolkit v8.2, an incremental update to the open-source collection of helper functions and other resources designed to simplify the development of Windows applications. The main new feature is support for native ahead-of-time (AOT) compilation.

  • New 'Visual Studio Hub' 1-Stop-Shop for GitHub Copilot Resources, More

    Unsurprisingly, GitHub Copilot resources are front-and-center in Microsoft's new Visual Studio Hub, a one-stop-shop for all things concerning your favorite IDE.

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

Subscribe on YouTube