ANTS Performance Profiler
Latest version: 7.4
Notes & articles
Release notes - version 7
Version 7.4 – 12 August 2012
Bug fixes and enhancements
- Adds average time to the first SQL result, useful where a SQL query runs more than once.
- Easier to find timing controls to change timing between milliseconds/seconds/percentage/CPU ticks.
- Supports .NET 4.5.
- Supports Visual Studio 2012.
- Improved the reliability of Find options
- Other bug fixes.
Version 7.3.1 – 6 August 2012
Bug fixes and enhancements
- Re-fixed the bug 'Application pools in IIS should now always restart with the correct version of the .NET framework, and in the correct mode (classic or integrated pipeline mode)', which was accidentally undone in ANTS Performance Profiler 7.3.
- Improved the user experience of the consent dialog box displayed by the Customer Improvement Program. This change will not be visible to users upgrading from ANTS Performance Profiler 7.3 or earlier.
Version 7.3 – 10 July 2012
New features
This release introduces the following new features:
- HTTP call profiling. When profiling ASP.NET applications, you can now see inbound HTTP requests in the call tree. This gives you an instant overview of the HTTP calls made while your application ran, and helps you relate your results to user actions in your application: .NET methods are shown as children of the HTTP requests that initiated them. For details, see Working with the call tree.
- Method grid filtering. Right-click on any method in the methods grid to hide or show only the selected method, class, or namespace. For details, see Filtering the call tree and methods grid.
- SQL Server Compact Edition support. Calls to SQL CE servers are now displayed automatically in the call tree, with full timing and hit count data available in Database Calls view. For details of all servers supported, see Working with Database Calls view.
Bug fixes and enhancements
- You can now select a query in Database Calls view, and click to see its .NET parents in the call tree view. For details, see Working with Database Calls view.
- The latest version of the ANTS Performance Profiler licensing client lets you optionally associate an email address and username with your activation, to help manage multiple licenses.
- ANTS Performance Profiler Standard edition now lets you save and export results - features previously limited to Professional edition.
- "Find" now works in more cases on the methods grid and call tree.
- This release fixes several race conditions that caused crashes on shut down or on loading results. It also includes a fix to prevent the profiler from misidentifying .NET application pools in IIS.
- ANTS Performance Profiler Standard edition now lets you save and export results (this feature was previously limited to Professional edition).
Known issues
- In the call tree, when profiling applications hosted in IIS or IIS Express, timings and hit counts shown for HTTP nodes may be greater in "Methods with source" view than in "All methods" view. For full details, see the Knowledge Base article.
- In higher DPI modes, the Application Settings options to record file I/O and to profile child processes may disappear. As a workaround, these options can be set manually: see the Knowledge Base article.
- Unmanaged code that loads .NET COM objects may crash with a heap corruption exception when line-level profiling is used. If this error occurs, use a profiling mode that excludes line-level timings.
- If you have chosen a specific thread on the call tree view, the database call view link to switch back to the call tree will work only for calls that ran on the selected thread. To enable links, switch to the call tree, and select "All threads" on the results toolbar. For further details, see Changing results display options.
- For some applications, the call graph may show erroneous hit counts for HTTP nodes. Refer to the call tree for correct counts.
Version 7.2 – 29 May 2012
New features
This release introduces the following new features:
- Database call profiling. The Professional edition of ANTS Performance Profiler now automatically captures timings for any SQL call made by your .NET code, and displays them in the call tree. See how your .NET code calls any SQL, Oracle, or Amazon RDS server, with timing and hitcount data to help you understood bottlenecks in database performance. For details, see Profiling SQL queries.
- Remote SQL profiling support. See performance data for calls to remote databases, as well as those that run on your local machine.
- Redesigned database calls view. See an overview of all the database calls your application makes, with details of timings and hitcounts. For details, see Working with Database Calls view.
- Call tree filtering. Filter the call tree to hide (or show only) specific methods, classes, or namespaces. For details, see Working with the call tree.
Bug fixes and enhancements
- Windows Vista or later is no longer required for SQL call profiling.
- Assemblies and methods marked SecurityTransparent (or, in .NET 3.5 and earlier, marked as partially trusted) can now be profiled without crashing. Line level timings are by default unavailable for methods marked in this way, but line-level profiling can be enabled by modifying the assembly. For details, see Enabling line-level profiling for SecurityTransparent methods.
- Application pools in IIS should now always restart with the correct version of the .NET framework, and in the correct mode (classic or integrated pipeline mode). This fixes an issue introduced in the last release.
- Streamlined display controls. Switch more easily between views of your application's call stacks, database calls, and file I/O performance. Include all methods, or only those with source.
Known issues
- Support for the early access version of continuous profiling, present in version 7.0, has been removed from version 7.2.
- Results files created in version 7.2 cannot be opened in earlier versions of ANTS Performance Profiler. Results files created in earlier versions can be opened in the latest release.
- Assemblies compiled into NGen profile images, e.g. by tools like BugAid, may crash under instrumented profiling modes. For details see the Knowledge Base.
Please note that ANTS Performance Profiler version 7.1 was an internal build and not given a public release.
Version 7.0 – 16 February 2012
Features, enhancements, and bug fixes
This release of ANTS Performance Profiler adds full support for profiling SharePoint 2010 sites, web applications running in IIS Express, and web applications deployed to Windows Azure or Amazon EC2.
The new integrated decompilation tool, using .NET Reflector technology, lets you decompile methods without source directly from the ANTS interface. You can navigate decompiled source from third-party and framework assemblies as if it was your own code. If you have the PDB file, you can even view line-level timings for the decompiled code, letting you identify the exact code that caused the bottleneck.
The release also includes an early access version of the ANTS Performance Profiler continuous profiling tool, a new profiler mode under development at Red Gate. It's designed to log performance data on live, running ASP.NET applications. The tool logs method calls as they happen on your site, and stores results to display in a web interface: browse back through the timeline to see historical performance data, and analyze problems as they really occurred.
- Watch your code execute while your site is used, with hit counts, timings, and CPU figures.
- View real data captured while performance issues occurred: no need to stop your site, relaunch with a profiler, and guess at reproduction steps.
- Access results directly in your web browser.
This early access build of continuous profiling features an automatic installer, a timeline showing CPU usage, and a call tree that lets you see the method calls executing during a selected period of your application's execution. For full details, see Setting up continuous profiling.
Supported .NET Framework Versions
- 1.1
- 2.0
- 3.0
- 3.5
- 4.0
- Silverlight 4
- Silverlight 5
The .NET 3.5 runtime must be installed in order for ANTS Performance Profiler to run.
Supported OS Versions
- Windows XP SP2 or later
- Windows Server 2003
- Windows Vista
- Windows Server 2008
- Windows 7
- Windows Server 2008 R2
Supports 32-bit and 64-bit versions of all listed OSs. Windows 2000 is no longer supported.
Applications running on Windows Azure and Amazon EC2 platforms can also be profiled.
The following feature requires the .NET 4.0 runtime and Windows Vista or later:
- Attach to process
The following features require Windows Vista or later:
- File I/O counters
- SQL counters
Supported Visual Studio Versions
The following versions of Microsoft Visual Studio are supported by the ANTS Performance Profiler 7 add-in:
- Visual Studio 2005
- Visual Studio 2008
- Visual Studio 2010
System Requirements
- 512MB RAM (minimum)
- 1GB free hard disk space for profiler results
Known Issues
- While the continuous profiler IIS module is installed, other profilers – including the desktop
– will be unable to profile applications running in IIS on this computer. To re-enable other profilers with IIS, uninstall the IIS profiler module. See Setting up continuous profiling. - Line-level timings are not available for Silverlight applications.
- Sandboxed web parts created in SharePoint 2010 cannot be profiled as child processes of the parent SharePoint collection. Instead the dedicated SPUserCodeV4 process can be profiled as a Windows service. For details, see Profiling SharePoint
- SharePoint subsites do not appear in the dropdown SharePoint site selection menu in Application Settings. Subsites can still be profiled by entering the URL directly into the ASP.NET web application (URL) field: for details, see Profiling SharePoint subsites.
- "My" sites in SharePoint can be profiled only on the original port, not on an unused port. For details on "My" sites, see Introduction to "My" site (MSDN).
- Some cheaper motherboards have an issue that causes their high performance timer to jump backwards or forwards in time by significant periods. This can cause anomalous results to appear in ANTS Performance Profiler 7, since the product relies on that timer to accurately measure application performance. If you experience this issue you should upgrade your motherboard drivers to the latest version.
- A limitation in Windows means that it is not possible to successfully attach to a .NET 4 process more than once.
- If you have Internet Explorer 7 on Windows Vista or later, it is not possible to profile websites on IIS.
- On Windows Vista and Windows 7, after profiling IIS using attach to process, ANTS Performance Profiler 6 sometimes cannot stop the session. If this happens, restart ANTS Performance Profiler before starting a new profiling session.
- In some cases, Windows Services do not restart properly after profiling.
- To profile an XBAP application, Internet Explorer must be set as your default browser and it must be closed before profiling.
- Custom event markers are not available when profiling Silverlight applications.
See also version 6.xx release notes.
Was this article helpful?
ANTS Performance Profiler
- Installation error 5100 when installing ANTS Performance Profiler and ANTS Memory Profiler
- Attach to process unavailable with some anti-virus software
- Memory leaks observed when profiling Windows Presentation Framework (WPF) applications
- Log files
- The manifest for the SQL server event source did not match the generated events. Some SQL events may report incorrect data. To fix this issue, consider recompiling etwcls.mof
- Setting file I/O and child process profiling in high DPI modes
- HTTP request timings in IIS
- Profiling web services in IIS Express
- Method not found: 'UInt32 <Module>._ANTS_Begin_Sql(System.String)'
- Enabling line-level timings for SecurityTransparent code
- Profiling SharePoint 2010 in v6.0 - 6.3
- Profiling SharePoint subsites
- Problems synchronizing results
- Windows service profiling fails if the service uses a system account
- Profiling assemblies protected with DeployLx
- The type initializer for 'y.layout.hierarchic.ClassicLayerSequencer' threw an exception
- Forcing your application to use .NET 4
- Double hit counts occurring on one line
- System.EntryPointNotFoundException (Versions: 3,4 only)
- Methods in (ASCX) web controls may not appear
- Failed to CoCreate Profiler error profiling a Windows service
- Multiple-core portable computers may show inflated times (version 3)
- No .NET methods were profiled on web application
- ANTS Profiler code instrumentation method
- Add-in fails to load when using RunAs to start Visual Studio as another user
- Profiling unit tests using Nunit
- Can I profile Compact Framework applications?
- Profiling a SharePoint 2007 Web Part
- Profiling an assembly in the Global Assembly Cache (GAC)
- Profiling IIS web applications that need to run under the SYSTEM account
- Profiling a web application hosted in IIS on a fixed TCP port
- Profiling client-side XBAP .NET applications
- ANTS Profiler prompts for location of source code which is not your own source code
- ANTS menu remains in Visual Studio after uninstall of ANTS Profiler
- Profiling a web application needing to run as the Network Service account
- Cannot start COM+ application via Remote Desktop
- Finding the overall time taken to execute a thread
- Profiling BizTalk applications
- Profiling Microsoft Office managed-code add-ins
- The system cannot find the file specified
- Error Stopping IISAdmin profiling IIS web application on Windows XP
- Creating a global debugging symbols (PDB) directory
- Using the add-in to profile solutions containing more than one project
- Methods may be missing on multi-core systems in version 3
- ASP .NET 1.x application recycling causing incomplete results
- Application recycling causes incomplete results and other errors when profiling ASP .NET
- (version 5) Support for profiling Silverlight applications
- Couldn't open metabase error when profiling ASP .NET hosted in IIS
- Failed to coCreate Profiler on ASP .NET web application
- HTTP error 404.17 profiling ASP .NET 1.1 on IIS 7
- Performance counters missing from results
- Isolating single ASP .NET pages in ANTS Profiler results
- Missing hits for lines in the source code view
- ANTS Profiler restarts IIS
- Showing the amount of time taken for a method in one particular thread
- Please specify a valid URL message profiling ASP .NET
- Times on individual lines do not add up to method time
- Explanation of "thread blocked" methods in ANTS Profiler
- Call graph percentages do not add up exactly
- Operation could destabilize the runtime error profiling ASP .NET
- IIS ceases to work after profiling web applications
- Problems with ANTS Visual Studio integration
- ANTS Profiler has been split into two distinct programs
- Windows Installer errors 1603 and 2738 occurring during installation
- Times in source code window are greater than the times showing in the method grid or tree view
- Problems with ANTS Performance Profiler Visual Studio integration
- Profiling ClickOnce applications deployed to IIS
- Could not enable tracing due to error code 112
- AjaxControlToolkit incompatibility causing application being profiled to crash
- Could not enable tracing because SQL Express is installed
- ANTS Performance Profiler menu items not showing in Visual Studio 2010
- Profiler stopping while profiling an in-browser Silverlight application
- "No Disk" error occurring while profiling application
- IE error "Internet Explorer cannot display the webpage" when profiling a website
- Profiler failing to connect to the server when profiling web applications
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
ANTS Performance Profiler
- Activating your products
- Activating your products
- Interpreting unexpected profiling results
- Choosing a profiling mode in ANTS Performance Profiler 6
- ANTS Performance Profiler 7 release notes - version 7.xx
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs
ANTS Performance Profiler
- Worked example: Profiling an ASP.NET application - ANTS Performance Profiler
- Worked example: Profiling from the command line - ANTS Performance Profiler
- Worked example: Profiling performance of an algorithm - ANTS Performance Profiler
- Worked example: Profiling network overheads - ANTS Performance Profiler

Using ANTS Performance Profiler