dotTrace Web Help

dotTrace | File | Profile | [application type] | Profiler Configuration
Reference__Dialog_Boxes__Profiler_Configuration
Item Description
Host Specify a host where an application should be profiled.
Reconnect Click this button to try to connect to the chosen host one more time.
Add Click this button to add a new host.
Edit Click this button to change some connection settings.
Remove Click this button to remove a chosen item from the Host list.

Application options

Profiler options

Profiling type This option specifies the way your application will be profiled. There are three modes:
  • Sampling
  • Tracing
  • Line-by-line
For more information, see Choosing the Right Profiling Mode.
Measure Sets the technique to be used by dotTrace for time measuring. There are four techniques:
  • Wall time (performance counter)
  • Thread time
  • Wall time (CPU Instruction)
  • Tread cycle time
For more information, see Choosing the Right Time Measurement Method.
Start profiling immediately If this check box is selected, dotTrace starts recording data as soon as the application starts. Otherwise, you should start profiling manually by clicking the Start Profiling in the dotTrace Performance 5.3 Controller window. Profiling also starts whenever dotTrace encounters a call to the Start() profiling API method. For more information, see Profiling API.
High accuracy If this check box is selected, dotTrace Performance takes more time samples and takes into account time spent in profiler itself. So this improves time measurement accuracy. It's recommended to enable this option if you have a lot of short-running functions.
Enable inlining If this check box is cleared JIT inlining is disabled. This way you get call stacks which closely resemble your program structure.

Note

Disabling JIT-inlining can greatly (up to 10 times) reduce the performance of a profilee application.
Merge threads with equal names If this check box is selected, profiler merges threads with identical names and displays them as a single thread.
Edit Filters Click this button to specify explicitly what functions you want to profile line by line.

Note

This control is available only in line-by-line mode.
Edit Symbol Search Policy Click this button to specify explicitly where profiler should look for application source files.

Note

This control is available only in line-by-line mode.
Use profiler API If this check box is selected, the profiling process is controlled using profiler API. For more information, see Advanced Profiling Using dotTrace API.
Learn more about profiling options Click this link to navigate to the corresponding topic in online help.

Application kind: Standalone Application

Item Description
Application Enter the path to the executable file of an application you want to profile.
Arguments Specify command-line arguments if needed.
Working directory Specify working directory. If the working directory is not specified, it will be automatically set to the path that contains the application executable.
Profile child processes Select this check box if you want to profile child processes as well.

Application kind: Windows Store Application

Item Description
Packages Choose one of the applications to be profiled.
Refresh Click to update the list of applications.

Application kind: Silverlight Application

Item Description
Url Specify the URL to the Silverlight application you want to profile.
Browser Select an item from the list of available browsers.

Note

Current control is disabled until Silverlight 4 Toolkit or higher is installed.

Application kind: WebDev Application

Item Description
Server Select a path to a ASP.NET Development Server. In most cases the value is selected automatically.
Physical path Specify the path to the Web project.
Virtual path Optionally, you can specify the virtual path to the Web project.
Port Optionally, you can change the port number if you want to run the ASP.NET Development Server on a specific port. Do not specify a port occupied by any other service.
Auto detect port If this check box is selected, dotTrace Performance determines the port number to listen to automatically.
Run browser Select this check box if you want to specify explicitly url and browser that should open after development server starts.

Application kind: WCF Service Library

Item Description
WCF Host Select an item from the list of WCF Service Hosts.

Note

WCF Service Host allows to host and test your WCF Service Library. For more information, see WCF Service Host.
Library path Specify the path to WCF Service Library that should be deployed onto WCF Service Host.
Config path Specify the path to the configuration file for WCF Service Library.
Client path Specify the path to the client that should be launched alongside WCF Service Host.
Client arguments Specify the client`s command-line arguments.

Application kind: IIS Application

Item Description
Run browser Select this check box if you want to specify explicitly url and browser that should open after IIS starts.

Note

IIS should be installed.

Application kind: IIS Express Application

Item Description
Server Select a server from the list of available IIS Express servers.
Configuration file Click Configuration file if you want to profile a website.
Site Defines the site to be profiled.
Configuration file Defines the path to a configuration file that should be used during the profiling process.
Application path Click Application path if you want to profile a Web application.
Application path Defines the path to the application to be profiled.
Runtime version Defines the runtime to be used to profile the application.
Port Optionally, you can change the port number if you want to run IIS Express Server on a specific port. Do not specify a port occupied by any other service.
Auto detect port If this check box is selected, dotTrace Performance determines the port number to listen to automatically.
Run browser Select this check box if you want to specify explicitly url and browser that should open after IIS Express starts.
Open browser on remote computer Select this check box if you want to run a browser on a remote computer.

Application kind: Windows Service

Item Description
Service Select a service you want to profile from the list of available services.
Arguments Specify arguments if the chosen service requires them.
Start dependent services Select this check box if you want to start services that depend on the chosen service.

Application kind: .NET Process

Item Description
Profile Silverlight applications Select this check box if you want to profile Silverlight applications.

Application kind: Attach to Process

Item Description
Processes Choose one of the processes to be attached to and profiled.
Refresh Click to update the list of available processes.

Application kind: Smart Device Application

Item Description
Application Enter the path to the executable file of an application you want to profile.
Arguments Specify command-line arguments if needed.
Working directory Specify working directory. If the working directory is not specified, it will be automatically set to the path that contains the application executable.
Profile child processes Select this check box if you want to profile child processes as well.

See Also

Procedures:

Reference: