ANTS Performance Profiler 8

Choosing application types and settings

When you start a new profiling session, you choose an application type from the left-hand column of the screen. Each type of application as associated settings, as well as performance counters and profiling modes.

Some settings are common to all application types (Profiling mode, file I/O and Profile child processes). Other settings are specific to individual application types. These are displayed when you click on that type.

Application types

Select the application type from the left-hand column:

Profiling Mode

Method-level timings and Line-level and method-level timings are only available in ANTS Performance Profiler Professional edition.

The Profiling mode determines the level of detail gathered by the profiler while your application is running.

Each profiling mode involves a different amount of trade-off between the performance overhead introduced into your application by running the profiler on it and the detail of the results. More detail generally demands more overhead, which can slow the application down while it is being profiled. The profiler estimates this overhead and subtracts it from the timings, so in most cases results remain realistic. But for very short-lived methods, for example, the effects of the estimation can be more pronounced.

For detailed information, see Choosing a profiling mode

When you attach to a .NET 4 process, Sample method-level timings is always used. When you profile a Windows Store app, Method level timings; all methods inc. framework is always used.

For more information on profiling modes, see Profiling Windows Store (Windows RT) apps

Record File I/O

Profiling file I/O is only available in ANTS Performance Profiler Professional edition.

If you have Windows Vista or later, you can record file I/O operations. For more information, see Profiling File IO.

To enable I/O profiling, under Additional profiler options, 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.

 

Profile child processes

Profiling child processes is only available in ANTS Performance Profiler Professional edition.

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.

Enable inlining

Enables inlining of methods by the .NET JIT compiler, for the process being profiled.

If you are profiling the release build of an application, selecting this option will produce a profile that is closer to the "real-world" performance. However, the accuracy of the results will be reduced. In particular, line-level timings will be distorted, hit counts will not be recorded for inlined methods, and time spent in inlined methods will be reported as part of the calling method.

By default, this option is not selected.

Include source code with saved results

Includes the contents of source files when you save profiling results. This means that you can review line-level performance data in saved results, without having to restore your source files to their original state.

Note that code generated using integrated decompilation is not saved with results even if this option is selected. For more information, see Working with integrated decompilation.

You may want to clear this option if, for example, you need to distribute performance profiling results for an application that has confidential source code.

By default, this option is selected.

Profile SQL calls

SQL call profiling is only available in ANTS Performance Profiler Professional edition.

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, and includes calls to databases hosted in the cloud on SQL Services (SQL Azure) and Amazon RDS.

Profile HTTP requests

HTTP requests from client and Outgoing HTTP requests are only available in ANTS Performance Profiler Professional edition.

Performance data for HTTP calls is automatically recorded in all modes except sampling. For more information, see Profiling web requests (HTTP requests).


Didn't find what you were looking for?