ANTS Performance Profiler - 7.3
Working with Application Settings - ANTS Performance Profiler
When you set up an application, you specify which application type you want to profile.
This page explains which application type to choose, and it also explains settings that are common to all application types (Profiling mode, File I/O and Profile child processes).

Other settings are specific to individual application types; to continue setting up your application, follow the appropriate link for your application type.
Application types
Select the application type from the Choose application type to profile list.
- .NET executable
Select this option to profile .NET executables, managed code add-ins, or remotely-hosted XBAP applications.
For additional settings, see Profiling .NET executables, Profiling managed code add-ins, or Profiling XBAP applications.
- ASP.NET web application (IIS)
Select this option to profile ASP.NET web applications running on IIS, WCF services running on IIS, or SharePoint.
For additional settings, see Profiling ASP.NET applications running on IIS, Profiling WCF services running on IIS, or Profiling SharePoint.
Web applications are profiled in Microsoft Internet Explorer, even if it is not your preferred browser. This is because ANTS Performance Profiler uses the low-level data exposed by Internet Explorer.
Note that you must profile ASP.NET web applications on the same computer as the one on which IIS is running.
- ASP.NET web application (IISE)
Select this option to profile ASP.NET web applications running on IIS Express.
For additional settings, see Profiling ASP.NET applications running on IIS Express.
Web applications are profiled in Microsoft Internet Explorer, even if it is not your preferred browser. This is because ANTS Performance Profiler uses the low-level data exposed by Internet Explorer.
Note that you must profile ASP.NET web applications on the same computer as the one on which IIS is running.
- ASP.NET web application (web development server)
Select this option to profile ASP.NET web applications running on the web development server (WebDev, also known as Cassini).
For additional settings, see Profiling ASP.NET applications running on the web development server.
Web applications are profiled in Microsoft Internet Explorer, even if it is not your preferred browser. This is because ANTS Performance Profiler uses the low-level data exposed by Internet Explorer.
- SharePoint web application (IIS)
Select this option to profile SharePoint sites and collections running in IIS.
For additional settings, see Profiling SharePoint.
- Silverlight 4+ application
Select this option to profile Silverlight 4 and 5 applications.
For additional settings, see Profiling Silverlight 4+ applications.
This feature requires the Silverlight 4 plug-in to be installed in Internet Explorer.
- Windows service
Select this option to profile Windows services, or WCF services.
For additional settings, see Profiling Windows services.
- COM+ server
Select this option to profile a COM+ server application.
For additional settings, see Profiling COM+ server applications.
- XBAP (XAML Browser Application)
Use this option to profile a locally-hosted XBAP application.
For additional settings, see Profiling XBAP applications.
- Attach to .NET 4 process
Choose the .NET process you want to attach to.
This feature requires Windows Vista or later and .NET 4.
When you attach to a .NET 4 process, the Sample method-level timings profiling mode is used, SQL and file I/O performance profiling is enabled, and Profile child processes is disabled.
Profiling mode
The Profiling mode determines the level of detail gathered by the profiler while your application is running. The level of detail that you choose may affect the profiling speed and the overall accuracy of the results.
Profiling Mode |
Speed |
Accuracy |
Detail |
SQL/ HTTP data |
|
Profiling Data |
Line-level and method-level timings; all methods* |
|
|
|
Yes |
|
All methods. This includes methods without source code, such as those in the .NET Framework class libraries. |
Method-level timings; all methods |
|
|
|
Yes |
||
Line-level and method-level timings; only methods with source* |
|
|
|
Yes |
|
Only methods for which source code is available, for example, timings will not be measured for .NET Framework methods. |
Method-level timings; only methods with source |
|
|
|
Yes |
||
Sample method-level timings |
|
|
|
No |
*Profiling data is also collected for individual lines of code.
When you attach to a .NET 4 process, Sample method-level timings are always used.
Record File I/O
If you have Windows Vista or later, you can record file I/O operations. For more information, see Profiling File I/O.
To enable I/O profiling, select Record file I/O performance. Note that enabling this option will make profiling slower.
When you attach to a .NET 4 process, Record file I/O performance is always enabled.
Note that file I/O profiling is only available in ANTS Performance Profiler Professional.
Profile SQL calls
In ANTS Performance Profiler 7.3 Professional, performance data for SQL calls is automatically recorded in all modes except sampling. SQL call profiling works with all versions of SQL Server including SQL Server Compact, and with Oracle databases. Queries can be profiled whether the database they call is local or remote, including calls to databases hosted in the cloud on SQL Services (SQL Azure) and Amazon RDS.
Note that SQL call profiling is only available in ANTS Performance Profiler Professional edition.
Profile child processes
To simultaneously record performance information from your application and all other processes started by your application, select Profile child processes.
When you attach to a .NET 4 process, Profile child processes is disabled.
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