### JetBrains dotTrace Getting Started and Analysis Guides Source: https://www.jetbrains.com/help/profiler/Profile_ Links to essential guides for using JetBrains dotTrace, including initial setup, timeline profiling, identifying UI freezes, optimizing performance and memory, and working with snapshots. ```APIDOC Getting Started and Analysis: - Get Started with Performance Viewer: https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer.html - Get Started with Timeline Profiling: https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Profiling_(Basic).html - Find the Cause of a UI Freeze: https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Viewer.html - Optimize App Performance and Memory Traffic: https://www.jetbrains.com/help/profiler/Optimize_App_Performance_and_Memory_Traffic.html - Analyzing Concurrency Profiling Results (Timeline): https://www.jetbrains.com/help/profiler/Analyzing_Concurrency_Profiling_Results_Timeline_.html - Studying Profiling Results (Index): https://www.jetbrains.com/help/profiler/Studying_Profiling_Results__Index.html - Work with Snapshots: https://www.jetbrains.com/help/profiler/Basic_Operations_with_Snapshots.html ``` -------------------------------- ### dotTrace Introduction and Getting Started Source: https://www.jetbrains.com/help/profiler/Profile_WCF_Service Introduction to JetBrains dotTrace profiler and guides for getting started with performance viewer and timeline profiling. ```en dotTrace Introduction https://www.jetbrains.com/help/profiler/dotTrace_Introduction.html Get Started with Performance Viewer https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer.html Get Started with Timeline Profiling https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Profiling_(Basic).html ``` -------------------------------- ### Get Started with Timeline Profiling Source: https://www.jetbrains.com/help/profiler/Profile_Windows_Service Basic guide to starting with timeline profiling in JetBrains dotTrace. Covers initial setup and basic usage for timeline analysis. ```APIDOC Get Started with Timeline Profiling (Basic): Description: Introduction to timeline profiling. URL: https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Profiling_(Basic).html Related: Get Started with Performance Viewer ``` -------------------------------- ### dotTrace Introduction and Scenarios Source: https://www.jetbrains.com/help/profiler/Profile_Web_Application_on_IIS_Express Introduction to JetBrains dotTrace profiler, version 2025.2. Includes links to various profiling scenarios and getting started guides. ```APIDOC dotTrace Introduction: Version: 2025.2 Shortcuts: Visual Studio Download Link: https://www.jetbrains.com/profiler/download/ Profiling Scenarios: - Get Started with Performance Viewer: https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer.html - Get Started with Timeline Profiling: https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Profiling_(Basic).html - Find the Cause of a UI Freeze: https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Viewer.html - Optimize App Performance and Memory Traffic: https://www.jetbrains.com/help/profiler/Optimize_App_Performance_and_Memory_Traffic.html - Profile Standalone Application: https://www.jetbrains.com/help/profiler/Profile_Standalone_Application.html - Profile Running Process: https://www.jetbrains.com/help/profiler/Profile_Running_Process.html - Profile Web Application on IIS Server: https://www.jetbrains.com/help/profiler/Profile_ASP_Web_Site.html - Profile .NET Core or .NET Application: https://www.jetbrains.com/help/profiler/Profile_.NET_Core_Application.html - Profile Native Application: https://www.jetbrains.com/help/profiler/Profile_Native_Application.html - Profile WCF Service: https://www.jetbrains.com/help/profiler/Profile_WCF_Service.html - Profile WinRT Application: https://www.jetbrains.com/help/profiler/Profile_WinRT_Application.html - Profile Windows Service: https://www.jetbrains.com/help/profiler/Profile_Windows_Service.html - Profile External .NET Process: https://www.jetbrains.com/help/profiler/Profile_NET_Process.html - Profile XBAP Application: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__XBAP.html - Profile Unit Tests: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Profiling_Unit_Tests.html - Profile Static Method: https://www.jetbrains.com/help/profiler/Profile_Static_Method.html - Profile Mono Application: https://www.jetbrains.com/help/profiler/Profile_Mono_Application.html - Profile Unity Application: https://www.jetbrains.com/help/profiler/Profile_Unity_Application.html - Profile Unreal Engine Application: https://www.jetbrains.com/help/profiler/Profile-Unreal-Engine-Application.html - Profile MAUI Application: https://www.jetbrains.com/help/profiler/Profile-MAUI-application.html - Profile Application in Docker Container: https://www.jetbrains.com/help/profiler/Profile_Application_in_Docker_Container.html Analysis and Results: - Run Profiling: https://www.jetbrains.com/help/profiler/Run_Profiling.html - Analyzing Concurrency Profiling Results (Timeline): https://www.jetbrains.com/help/profiler/Analyzing_Concurrency_Profiling_Results_Timeline_.html - Studying Profiling Results (Index): https://www.jetbrains.com/help/profiler/Studying_Profiling_Results__Index.html - Work with Snapshots: https://www.jetbrains.com/help/profiler/Basic_Operations_with_Snapshots.html ``` -------------------------------- ### Get Started with dotTrace Performance Viewer Source: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Profiling_Unit_Tests A guide to getting started with the dotTrace Performance Viewer, a tool for analyzing performance data collected by the dotTrace profiler. ```en Get Started with Performance Viewer: https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer.html ``` -------------------------------- ### Starting a Profiling Session Source: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Starting_a_Profiling_Session Guides on how to initiate a profiling session with dotTrace, including starting from Visual Studio and general session initiation. ```en Start Profiling Session: https://www.jetbrains.com/help/profiler/Starting_Local_Profiling_Session.html Start Profiling Session from Visual Studio: https://www.jetbrains.com/help/profiler/Starting_Local_Profiling_Session_VS.html ``` -------------------------------- ### JetBrains dotTrace Performance Viewer Get Started Source: https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer This section provides guidance on getting started with the Performance Viewer in JetBrains dotTrace, which is essential for analyzing application performance. ```APIDOC Get Started with Performance Viewer: Description: Basic steps and information to begin using the Performance Viewer for analyzing application performance. ``` -------------------------------- ### Get Started with Timeline Profiling Source: https://www.jetbrains.com/help/profiler/Profile_Standalone_Application A basic guide to getting started with timeline profiling in JetBrains dotTrace. This focuses on understanding the timeline view for performance analysis. ```APIDOC Get Started with Timeline Profiling: Description: Basic introduction to timeline profiling. URL: https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Profiling_(Basic).html Related: Get Started with Performance Viewer, Analyzing Concurrency Profiling Results ``` -------------------------------- ### Getting Started with dotTrace Viewer Source: https://www.jetbrains.com/help/profiler/Analyzing_Concurrency_Profiling_Results_Timeline_ Guidance for new users of dotTrace Viewer, recommending specific sections for initial learning and best practices for performance analysis. ```APIDOC Get Started with dotTrace Viewer: - Recommended starting point: [dotTrace Viewer Concepts](https://www.jetbrains.com/help/profiler/dotTrace_Viewer_Concepts.html) - Essential reading for UI freeze analysis: [Find the Cause of a UI Freeze](https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Viewer.html) ``` -------------------------------- ### Get Started with Timeline Profiling in dotTrace Source: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Profiling_Unit_Tests Instructions for beginners on how to start using timeline profiling with the JetBrains dotTrace profiler, focusing on basic usage and understanding timeline data. ```en Get Started with Timeline Profiling: https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Profiling_(Basic).html ``` -------------------------------- ### Get Started with Timeline Profiling Source: https://www.jetbrains.com/help/profiler/Profile_Running_Process Basic guide to timeline profiling using JetBrains dotTrace, focusing on understanding the sequence of events during application execution. ```APIDOC Get Started with Timeline Profiling (Basic): Description: Provides a basic introduction to timeline profiling for understanding application execution flow. Focus: Tracks events over time, including method calls, thread activity, and I/O operations. Purpose: Helps identify performance issues related to timing and event sequencing. ``` -------------------------------- ### Get Started with Performance Viewer Source: https://www.jetbrains.com/help/profiler/Profile-Unreal-Engine-Application An introduction to using the Performance Viewer in JetBrains dotTrace. This guide likely covers basic navigation and features for analyzing performance data. ```en Get Started with Performance Viewer https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer.html ``` -------------------------------- ### Get Started with Performance Viewer Source: https://www.jetbrains.com/help/profiler/Profile_Running_Process Introduction to the Performance Viewer in JetBrains dotTrace, a tool for analyzing application performance. ```APIDOC Get Started with Performance Viewer: Description: Introduces the Performance Viewer for analyzing application performance metrics. Features: Covers CPU profiling, memory profiling, and event monitoring. Usage: Provides basic steps for launching the viewer and interpreting initial performance data. ``` -------------------------------- ### dotTrace Profiler Introduction and Navigation Source: https://www.jetbrains.com/help/profiler/Reference__Dialog_Boxes__Bookmarks Provides an introduction to the dotTrace profiler, including version information, shortcut references, and links to key documentation sections for getting started and exploring profiling scenarios. ```APIDOC dotTrace Profiler Overview: - Version: 2025.2 - Shortcuts: Visual Studio integration. - Download link provided. - Navigation links to: - Introduction - Other Profiling Scenarios - Run Profiling - Analyzing Concurrency Profiling Results (Timeline) - Studying Profiling Results (Index) - Work with Snapshots - Specify license information - Home Window - Reference: Performance Viewer - Reference: Timeline Viewer - Timeline Viewer in Visual Studio - Reference: Home Window Dialog Boxes - Reference: Dialog Boxes: Add/Edit Line-by-line Filter - Reference: Dialog Boxes: Edit Symbol Search Policy - Reference: Dialog Boxes: Add/Edit Formatting for Function - Reference: Dialog Boxes: Adjust Time - Reference: Dialog Boxes: Bookmarks - Reference: Dialog Boxes: Properties - Reference: Dialog Boxes: Subsystem Definition - Reference: Dialog Boxes: Options - Profiling Guidelines: Transparent Integration (Integrate Third-Party Tools) ``` -------------------------------- ### Get Started with Timeline Profiling Source: https://www.jetbrains.com/help/profiler/Profile-Unreal-Engine-Application Instructions on how to begin using Timeline Profiling in JetBrains dotTrace. This guide would cover the basics of capturing and analyzing timeline data. ```en Get Started with Timeline Profiling https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Profiling_(Basic).html ``` -------------------------------- ### Get Started with Performance Viewer Source: https://www.jetbrains.com/help/profiler/Profile_Mono_Application Introduction to the Performance Viewer in JetBrains dotTrace for analyzing profiling data. ```APIDOC Get Started with Performance Viewer: Description: Introduction to the Performance Viewer in JetBrains dotTrace. URL: https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer.html ``` -------------------------------- ### Get Started with Performance Viewer Source: https://www.jetbrains.com/help/profiler/Profile-MAUI-application An introduction to the Performance Viewer in JetBrains dotTrace. This guide explains how to use the viewer to analyze profiling data and identify performance bottlenecks. ```en Get Started with Performance Viewer https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer.html ``` -------------------------------- ### Profile .NET Core or .NET Application Guide Source: https://www.jetbrains.com/help/profiler/Profile_Native_Application Instructions for profiling .NET Core and .NET applications using JetBrains dotTrace. This includes setup and execution details for .NET environments. ```APIDOC Profile .NET Core or .NET Application: URL: https://www.jetbrains.com/help/profiler/Profile_.NET_Core_Application.html Description: Guide for profiling .NET Core and .NET applications. Related Guides: - Profile Native Application: https://www.jetbrains.com/help/profiler/Profile_Native_Application.html - Profile Web Application on IIS Express: https://www.jetbrains.com/help/profiler/Profile_Web_Application_on_IIS_Express.html ``` -------------------------------- ### Starting a Profiling Session in dotTrace Source: https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer Instructions on how to initiate a performance profiling session after configuring the run settings and profiling type in dotTrace. ```APIDOC Starting Profiling Session: 1. Ensure the created run configuration is selected. 2. Specify the desired profiling options, including the 'Profiling Type' (Sampling, Tracing, Line-by-line, or Timeline). 3. Under 'Run profiling', click 'Run'. dotTrace will attach to the application process and begin data collection. ``` -------------------------------- ### Get Started with Timeline Profiling Source: https://www.jetbrains.com/help/profiler/Other_Profiling_Scenarios Basic guide to timeline profiling using JetBrains dotTrace. This focuses on understanding the timeline view for analyzing application execution over time. ```en Get Started with Timeline Profiling (Basic): https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Profiling_(Basic).html ``` -------------------------------- ### Get Started with Timeline Profiling Source: https://www.jetbrains.com/help/profiler/Profile_Mono_Application Introduction to timeline profiling in JetBrains dotTrace. Covers basic usage and understanding timeline profiling data. ```APIDOC Get Started with Timeline Profiling: Description: Introduction to timeline profiling in JetBrains dotTrace. URL: https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Profiling_(Basic).html ``` -------------------------------- ### Profile Unity Application Source: https://www.jetbrains.com/help/profiler/Profile_Unity_Application Instructions on how to profile a Unity application using JetBrains dotTrace. This guide covers the setup and execution steps required to profile Unity projects. ```APIDOC Profile Unity Application: Description: Guides on profiling Unity applications with JetBrains dotTrace. URL: https://www.jetbrains.com/help/profiler/Profile_Unity_Application.html Sections: - Cookie Settings: Information about website cookies and IP address usage. - Opt-Out: Instructions on how to adjust or withdraw consent for data collection. - Get Started with Timeline Profiling (Basic): Basic steps for timeline profiling. - Find the Cause of a UI Freeze: Techniques for diagnosing UI freezes. - Optimize App Performance and Memory Traffic: Strategies for performance and memory optimization. - Profile Standalone Application: Profiling standalone .NET applications. - Profile Running Process: Attaching the profiler to a running process. - Profile Web Application on IIS Express: Profiling web applications hosted on IIS Express. - Profile Web Application on IIS Server: Profiling web applications hosted on IIS. - Profile .NET Core or .NET Application: Profiling .NET Core and .NET applications. - Profile Native Application: Profiling native Windows applications. - Profile WCF Service: Profiling Windows Communication Foundation services. - Profile WinRT Application: Profiling Windows Runtime applications. - Profile Windows Service: Profiling Windows services. - Profile External .NET Process: Profiling external .NET processes. - Profile XBAP Application: Profiling XBAP applications. - Profile Unit Tests: Profiling unit tests. - Profile Static Method: Profiling static methods. - Profile Mono Application: Profiling Mono applications. - Profile Unreal Engine Application: Profiling Unreal Engine applications. - Profile MAUI Application: Profiling .NET MAUI applications. - Profile Application in Docker Container: Profiling applications running within Docker containers. - Analyzing Concurrency Profiling Results (Timeline): Analyzing concurrency profiling data. - Studying Profiling Results: General guidance on analyzing profiling results. - Work with Snapshots: Basic operations for managing profiling snapshots. ``` -------------------------------- ### Get Started with Performance Viewer Source: https://www.jetbrains.com/help/profiler/Profile_ASP_Web_Site An introduction to the Performance Viewer in JetBrains dotTrace, a tool for analyzing profiling data and understanding application performance. ```APIDOC Get Started with Performance Viewer: Familiarize yourself with the Performance Viewer interface for analyzing profiling data. Learn to navigate different views and interpret performance metrics. ``` -------------------------------- ### Quickly Start Profiling a Run Configuration Source: https://www.jetbrains.com/help/profiler/Starting_Local_Profiling_Session_VS Provides a faster method to start profiling a specific run configuration by utilizing the Performance Profiler window. This bypasses some of the steps required for a standard profiling start. ```Visual Studio ReSharper | Tools | Run Configurations... | Add ReSharper | Profile | Open Performance Profiler (Select run configuration from list) Click Start ``` -------------------------------- ### Get Started with Performance Viewer Source: https://www.jetbrains.com/help/profiler/Other_Profiling_Scenarios Introduction to using the Performance Viewer in JetBrains dotTrace for analyzing profiling results. This includes understanding the interface and basic analysis techniques. ```en Get Started with Performance Viewer: https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer.html ``` -------------------------------- ### Get Started with Timeline Profiling Source: https://www.jetbrains.com/help/profiler/Profile_ASP_Web_Site An introduction to timeline profiling in JetBrains dotTrace, explaining how to use it to analyze the execution flow and identify performance issues over time. ```APIDOC Get Started with Timeline Profiling (Basic): Understand the basics of timeline profiling to visualize application execution. Identify long-running methods, I/O operations, and thread waits. ``` -------------------------------- ### Start dotTrace Profiling for .NET Core 3.0 or Earlier on Linux/macOS Source: https://www.jetbrains.com/help/profiler/Profile_ Starts a dotTrace profiling session for a .NET Core 3.0 or earlier application on Linux or macOS, including support for older versions. It specifies the framework, the output path for the snapshot, and then executes the application. ```bash ./dotTrace.sh start --framework=NetCore --save-to=~/snapshots/snapshot.dtp --support-earlier-net-core ~/Projects/MyNetCoreApp/MyApp ``` -------------------------------- ### Get Started with Performance Viewer Source: https://www.jetbrains.com/help/profiler/Profile_Windows_Service Introduction to using the Performance Viewer in JetBrains dotTrace for analyzing profiling data. Covers basic navigation and interpretation. ```APIDOC Get Started with Performance Viewer: Description: Introduction to the Performance Viewer. URL: https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer.html Related: Optimize App Performance and Memory Traffic, Get Started with Timeline Profiling ``` -------------------------------- ### Start dotTrace Profiling for .NET Core 3.1+ on Linux/macOS Source: https://www.jetbrains.com/help/profiler/Profile_ Starts a dotTrace profiling session for a .NET Core 3.1 or later application on Linux or macOS. It specifies the framework, the output path for the snapshot, and then executes the application. ```bash ./dotTrace.sh start --framework=NetCore --save-to=~/snapshots/snapshot.dtp ~/Projects/MyNetCoreApp/MyApp ``` -------------------------------- ### Run Profiling Source: https://www.jetbrains.com/help/profiler/Profile-Unreal-Engine-Application General guidance on how to run profiling sessions using JetBrains dotTrace. This would cover the initial steps of starting a profiling task. ```en Run Profiling https://www.jetbrains.com/help/profiler/Run_Profiling.html ``` -------------------------------- ### Work with Snapshots Guide Source: https://www.jetbrains.com/help/profiler/Profile_Native_Application Information on how to work with profiling snapshots generated by JetBrains dotTrace. This includes opening, analyzing, and saving snapshots. ```APIDOC Work with Snapshots: URL: https://www.jetbrains.com/help/profiler/Basic_Operations_with_Snapshots.html Description: Performing basic operations with dotTrace profiling snapshots. Related Guides: - Analyzing Concurrency Profiling Results: https://www.jetbrains.com/help/profiler/Analyzing_Concurrency_Profiling_Results_Timeline_.html - Studying Profiling Results: https://www.jetbrains.com/help/profiler/Studying_Profiling_Results__Index.html ``` -------------------------------- ### Control JetBrains dotTrace Profiling via Command Line Source: https://www.jetbrains.com/help/profiler/Performance_Profiling__Profiling_Using_the_Command_Line Demonstrates how to start a profiling session for an application using the dotTrace command-line tool. It shows how to specify input for controlling the session via stdin or a file, and how to attach to or start profiling an executable. This covers both Windows and Linux/macOS command structures. ```cmd dotTrace.exe start --service-input=stdin c:\MyApp\MyApp.exe dotTrace.exe start --service-input=file.txt c:\MyApp\MyApp.exe ``` ```bash ./dotTrace.sh start --framework=NetCore --service-input=stdin ~/MyApp/myApp ./dotTrace.sh start --framework=NetCore --service-input=file.txt ~/MyApp/myApp ``` -------------------------------- ### Install dotTrace Global .NET Core Tool Source: https://www.jetbrains.com/help/profiler/Performance_Profiling__Profiling_Using_the_Command_Line Installs the dotTrace command-line tool as a global .NET Core tool in the default location. ```dotnetcli dotnet tool install --global JetBrains.dotTrace.GlobalTools ``` -------------------------------- ### Start Local Profiling Session Source: https://www.jetbrains.com/help/profiler/Starting_Local_Profiling_Session Steps to initiate a local profiling session using dotTrace. This involves selecting a run configuration, specifying profiling options, and starting the session. Attaching to running processes is limited to Windows and specific .NET versions. ```APIDOC Start Local Profiling Session: 1. Under Choose what you want to profile, select or create a run configuration. - Reference: https://www.jetbrains.com/help/profiler/Profiler_Options.html#creating-a-run-configuration 2. Under Choose how you want to profile it, specify profiling options. - Reference: https://www.jetbrains.com/help/profiler/Profiler_Options.html 3. Under Run profiling, click Start. Warning: Attaching to running processes is available only on Windows. You can attach only to .NET Framework 4.0 or later, .NET Core 3.0 or later, .NET 5 or later processes. ``` -------------------------------- ### Install dotTrace Local .NET Core Tool Source: https://www.jetbrains.com/help/profiler/Performance_Profiling__Profiling_Using_the_Command_Line Installs the dotTrace command-line tool as a local .NET Core tool within the current directory. ```dotnetcli dotnet new tool-manifest dotnet tool install JetBrains.dotTrace.GlobalTools ``` -------------------------------- ### Work with Snapshots Source: https://www.jetbrains.com/help/profiler/Profile_Windows_Service Guide on performing basic operations with profiling snapshots generated by JetBrains dotTrace. Covers loading, analyzing, and saving snapshots. ```APIDOC Work with Snapshots: Description: Basic operations for handling profiling snapshots. URL: https://www.jetbrains.com/help/profiler/Basic_Operations_with_Snapshots.html Related: Analyzing Concurrency Profiling Results ``` -------------------------------- ### Profile MAUI Application Source: https://www.jetbrains.com/help/profiler/Profile_Windows_Service Steps for profiling .NET MAUI applications using JetBrains dotTrace. Covers setup and execution for MAUI projects. ```APIDOC Profile MAUI Application: Description: Guide for profiling .NET MAUI applications. URL: https://www.jetbrains.com/help/profiler/Profile-MAUI-application.html Related: Profile .NET Core or .NET Application ``` -------------------------------- ### dotTrace Introduction and Scenarios Source: https://www.jetbrains.com/help/profiler/Profile_Application_in_Docker_Container Overview of the dotTrace profiler, including shortcuts for Visual Studio and links to various profiling scenarios. ```APIDOC dotTrace Introduction: Version: 2025.2 Shortcuts: Visual Studio Download Link: https://www.jetbrains.com/profiler/download/ Key Features: - Get Started with Performance Viewer - Get Started with Timeline Profiling - Find the Cause of a UI Freeze - Optimize App Performance and Memory Traffic - Profile Standalone Application - Profile Running Process - Profile Web Application on IIS Express - Profile Web Application on IIS Server - Profile .NET Core or .NET Application - Profile Native Application - Profile WCF Service - Profile WinRT Application - Profile Windows Service - Profile External .NET Process - Profile XBAP Application - Profile Unit Tests - Profile Static Method - Profile Mono Application - Profile Unity Application - Profile Unreal Engine Application - Profile MAUI Application - Profile Application in Docker Container Analysis Guides: - Analyzing Concurrency Profiling Results (Timeline) - Studying Profiling Results (Index) Snapshot Operations: - Work with Snapshots ``` -------------------------------- ### Initialize and Profile with Single Snapshot Source: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Advanced_Profiling_Using_dotTrace_API Demonstrates initializing the dotTrace API, configuring the save directory, attaching to the process, starting data collection, and taking a single snapshot. ```C# static void Main(string[] args) { ... // here goes some init code // initialize the API and download the tool (if needed) DotTrace.Init(); // config that sets the save directory var config = new DotTrace.Config(); config.SaveToDir("C:\\Temp\\Snapshot"); // start profiling session DotTrace.Attach(config); // start collecting data DotTrace.StartCollectingData(); SomeMethod(); // end session DotTrace.Detach(); } private void SomeMethod() { ... // here goes some code that I want to profile // get a snapshot and save it DotTrace.SaveData(); } ``` -------------------------------- ### Get Started with Timeline Profiling Source: https://www.jetbrains.com/help/profiler/Profile-MAUI-application An introduction to timeline profiling using JetBrains dotTrace. This guide explains how to use the timeline view to analyze application execution over time. ```en Get Started with Timeline Profiling https://www.jetbrains.com/help/profiler/Get_Started_with_Timeline_Profiling_(Basic).html ``` -------------------------------- ### dotTrace Introduction and Shortcuts Source: https://www.jetbrains.com/help/profiler/Analyzing_Async_Calls An introduction to the JetBrains dotTrace profiler, including information on available shortcuts for Visual Studio. ```en dotTrace Introduction: https://www.jetbrains.com/help/profiler/dotTrace_Introduction.html Shortcuts: Visual Studio ``` -------------------------------- ### Run Profiling Source: https://www.jetbrains.com/help/profiler/Other_Profiling_Scenarios General instructions on how to initiate and run profiling sessions with JetBrains dotTrace. ```en Run Profiling: https://www.jetbrains.com/help/profiler/Run_Profiling.html ``` -------------------------------- ### JetBrains dotTrace Profiler Introduction and Navigation Source: https://www.jetbrains.com/help/profiler/Studying_Profiling_Results__Index Provides an overview of the JetBrains dotTrace profiler, including version information, shortcuts for Visual Studio, and links to download the profiler. It also lists various topics related to profiling scenarios and analyzing results. ```en Project: /websites/jetbrains_help_profiler dotTrace 2025.2 Shortcuts: Visual Studio [Get dotTrace](https://www.jetbrains.com/profiler/download/) Topics: - Introduction - Other Profiling Scenarios - Run Profiling - Analyzing Concurrency Profiling Results Timeline - Studying Profiling Results (Index) - Studying Profiling Results (Different Ways of Presenting Snapshot Data) - Studying Profiling Results (Finding Application Bottlenecks) - Studying Profiling Results (Identifying and Narrowing an Area of Interest) - Simplify Analysis with Subsystems - Forecast Performance - Studying Profiling Results (Navigation and Search) - Studying Profiling Results (Labeling and Formatting) - Studying Profiling Results (Previewing Source Code) - Compare Profiling Data - Share Snapshot Data - Work with Snapshots ``` -------------------------------- ### dotTrace Introduction and Shortcuts Source: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Profiling_Unit_Tests Provides an introduction to the JetBrains dotTrace profiler and lists available keyboard shortcuts for Visual Studio integration, enhancing productivity during profiling sessions. ```en dotTrace Introduction: https://www.jetbrains.com/help/profiler/dotTrace_Introduction.html Shortcuts: Visual Studio ``` -------------------------------- ### Running dotTrace Standalone Source: https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer Instructions for launching JetBrains dotTrace as a standalone application, recommended for scenarios without direct project access or Visual Studio. ```APIDOC Running Standalone dotTrace: 1. Open JetBrains Toolbox. 2. Run dotTrace. ``` -------------------------------- ### dotTrace Introduction and Shortcuts Source: https://www.jetbrains.com/help/profiler/Profile-MAUI-application An overview of JetBrains dotTrace, including information on its version (2025.2) and available shortcuts for Visual Studio integration. ```en dotTrace 2025.2 Shortcuts: Visual Studio ``` -------------------------------- ### Start Profiling Session from Visual Studio Source: https://www.jetbrains.com/help/profiler/Starting_Local_Profiling_Session_VS This section details how to initiate a profiling session for a startup project within Visual Studio using JetBrains dotTrace. It outlines the menu navigation and configuration steps required to profile your solution's run configurations. ```APIDOC Start Profiling Session from Visual Studio: Initiate profiling for a startup project within Visual Studio. Steps: 1. Access profiling options: - If no run configurations exist: Select 'ReSharper | Profile | Run Startup Configuration Performance Profiling' from the Visual Studio menu. - If multiple run configurations exist: Select 'ReSharper | Tools | Run Configurations', choose the '[project_name] (VS Startup)' configuration, then select 'ReSharper | Profile | Run Startup Configuration Performance Profiling'. 2. Configure profiling settings in the 'Profile Startup Project' window as described in 'Configure Profiling Session'. 3. Click 'Start' to begin the profiling session. Alternative Method: - Profiling can also be initiated via the 'Performance Profiler' window, accessible through 'ReSharper | Profile | Open Performance Profiler window'. Related Configurations: - Run Configurations: Allow predefined settings for startup projects, executables, or static methods, differing by parameters like CPU architecture and CLR version. ``` -------------------------------- ### Get Started with Performance Viewer Source: https://www.jetbrains.com/help/profiler/Profile_Standalone_Application An introduction to using the Performance Viewer in JetBrains dotTrace for analyzing profiling data. This covers basic navigation and interpretation of results. ```APIDOC Get Started with Performance Viewer: Description: Introduction to the Performance Viewer for analyzing profiling data. URL: https://www.jetbrains.com/help/profiler/Get_Started_with_Performance_Viewer.html Related: Work with Snapshots ``` -------------------------------- ### Profiling Unit Tests - How To Source: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Profiling_Unit_Tests A 'How To' guide specifically for profiling unit tests, likely detailing the process and best practices within the JetBrains dotTrace profiler. ```en How To Profile Unit Tests: https://www.jetbrains.com/help/profiler/Other_Profiling_Scenarios.html#0 ``` -------------------------------- ### dotTrace Profiler Introduction and Navigation Source: https://www.jetbrains.com/help/profiler/File_I_O Overview of the JetBrains dotTrace profiler, including version information, shortcut settings, and links to key documentation sections for analysis and usage. ```APIDOC dotTrace Profiler: - Version: 2025.2 - Shortcuts: Visual Studio integration available. - Download link: https://www.jetbrains.com/profiler/download/ - Key Documentation Sections: - Introduction: https://www.jetbrains.com/help/profiler/dotTrace_Introduction.html - Other Profiling Scenarios: https://www.jetbrains.com/help/profiler/Other_Profiling_Scenarios.html - Run Profiling: https://www.jetbrains.com/help/profiler/Run_Profiling.html - Analyzing Concurrency Profiling Results Timeline: https://www.jetbrains.com/help/profiler/Analyzing_Concurrency_Profiling_Results_Timeline_.html - dotTrace Viewer Concepts: https://www.jetbrains.com/help/profiler/dotTrace_Viewer_Concepts.html - Timeline Diagram: https://www.jetbrains.com/help/profiler/Timeline_Diagram.html - Filters: https://www.jetbrains.com/help/profiler/Filters.html - Analysis Subject: https://www.jetbrains.com/help/profiler/Analysis_Subject.html - Time: https://www.jetbrains.com/help/profiler/Time.html - .NET Memory Allocations: https://www.jetbrains.com/help/profiler/Memory_Allocation.html - Unreleased Native Allocations: https://www.jetbrains.com/help/profiler/Native_Memory_Allocation.html - Debug Output: https://www.jetbrains.com/help/profiler/Debug_Output.html - CLR Activity (Garbage Collection): https://www.jetbrains.com/help/profiler/CLR_Activity.html - Exceptions: https://www.jetbrains.com/help/profiler/Exceptions.html - JIT Compilation: https://www.jetbrains.com/help/profiler/JIT_Compilation.html - File Operations: https://www.jetbrains.com/help/profiler/File_I_O.html - SQL Queries: https://www.jetbrains.com/help/profiler/SQL_Client.html - Threads: https://www.jetbrains.com/help/profiler/Threads.html - Thread State: https://www.jetbrains.com/help/profiler/Thread_State.html - Interval Filters: https://www.jetbrains.com/help/profiler/Interval_Filters.html - Subsystems: https://www.jetbrains.com/help/profiler/Subsystems.html - Call Stack: https://www.jetbrains.com/help/profiler/Call_Stack.html - Events Window: https://www.jetbrains.com/help/profiler/Events_Window.html - Plain List (dotTrace Viewer): https://www.jetbrains.com/help/profiler/Plain_List_dotTrace_Viewer.html - Source View: https://www.jetbrains.com/help/profiler/Source_View.html - Comparison: https://www.jetbrains.com/help/profiler/Comparison.html - Studying Profiling Results (Index): https://www.jetbrains.com/help/profiler/Studying_Profiling_Results__Index.html - Basic Operations with Snapshots: https://www.jetbrains.com/help/profiler/Basic_Operations_with_Snapshots.html ``` -------------------------------- ### Working with Snapshots Source: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Starting_a_Profiling_Session Guidance on how to manage and analyze profiling data stored in snapshots. ```en Work with Snapshots: https://www.jetbrains.com/help/profiler/Basic_Operations_with_Snapshots.html ``` -------------------------------- ### Initialize and Profile with Multiple Snapshots Source: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Advanced_Profiling_Using_dotTrace_API Illustrates initializing the dotTrace API and taking multiple snapshots within a loop, restarting data collection after each snapshot. ```C# static void Main(string[] args) { ... // here goes some init code // initialize the API and download the tool (if needed) DotTrace.Init(); // config that sets the save directory var config = new DotTrace.Config(); config.SaveToDir("C:\\Temp\\Snapshot"); // start profiling session DotTrace.Attach(config); // start collecting data DotTrace.StartCollectingData(); SomeMethod(); // end session DotTrace.Detach(); } private void SomeMethod(IEnumerable collection) { foreach (var item in collection) { ... // here goes some code that I want to profile // get a snapshot and save it DotTrace.SaveData(); // start collecting data again DotTrace.StartCollectingData(); } } ``` -------------------------------- ### Profile Web Application on IIS Express Source: https://www.jetbrains.com/help/profiler/Profile-Unreal-Engine-Application Steps for profiling web applications hosted on IIS Express using JetBrains dotTrace. This guide would cover the setup for local web development environments. ```en Profile Web Application on IIS Express https://www.jetbrains.com/help/profiler/Profile_Web_Application_on_IIS_Express.html ``` -------------------------------- ### dotTrace Profiler Introduction and Navigation Source: https://www.jetbrains.com/help/profiler/Reference__Dialog_Boxes__Options__Subsystems Provides an introduction to JetBrains dotTrace Profiler, including version information, shortcuts, and links to key documentation sections for various profiling tasks and features. ```APIDOC dotTrace Profiler Overview: Version: 2025.2 Shortcuts: Visual Studio integration Download Link: https://www.jetbrains.com/profiler/download/ Key Documentation Links: - Introduction: https://www.jetbrains.com/help/profiler/dotTrace_Introduction.html - Other Profiling Scenarios: https://www.jetbrains.com/help/profiler/Other_Profiling_Scenarios.html - Run Profiling: https://www.jetbrains.com/help/profiler/Run_Profiling.html - Analyzing Concurrency Profiling Results (Timeline): https://www.jetbrains.com/help/profiler/Analyzing_Concurrency_Profiling_Results_Timeline_.html - Studying Profiling Results (Index): https://www.jetbrains.com/help/profiler/Studying_Profiling_Results__Index.html - Work with Snapshots: https://www.jetbrains.com/help/profiler/Basic_Operations_with_Snapshots.html - Specify license information: https://www.jetbrains.com/help/profiler/Specifying_License_Information.html - Home Window: https://www.jetbrains.com/help/profiler/Home_Window.html - Reference - Performance Viewer: https://www.jetbrains.com/help/profiler/Reference_Performance_Viewer.html - Reference - Timeline Viewer: https://www.jetbrains.com/help/profiler/Reference_Timeline_Viewer.html - Timeline Viewer in Visual Studio: https://www.jetbrains.com/help/profiler/Timeline_Viewer_in_Visual_Studio.html - Reference - Home Window Dialog Boxes: https://www.jetbrains.com/help/profiler/Reference_Home_Window_Dialog_Boxes.html - Reference - Options Dialog Boxes: https://www.jetbrains.com/help/profiler/Reference__Dialog_Boxes__Options.html - Reference - Options (General): https://www.jetbrains.com/help/profiler/Reference_Timeline_Viewer_in_Visual_Studio_Options_General.html - Reference - Options (View): https://www.jetbrains.com/help/profiler/Reference__Dialog_Boxes__Options__View.html - Reference - Options (Filters): https://www.jetbrains.com/help/profiler/Reference__Dialog_Boxes__Options__Filters.html - Reference - Options (Subsystems): https://www.jetbrains.com/help/profiler/Reference__Dialog_Boxes__Options__Subsystems.html - Reference - Options (Profiles): https://www.jetbrains.com/help/profiler/Reference_Options_dotTrace_Profiles.html - Reference - Options (Source Preview): https://www.jetbrains.com/help/profiler/Reference__Dialog_Boxes__Options__Source_Preview.html - Integrate Third-Party Tools: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Transparent_Integration.html ``` -------------------------------- ### Profile Unreal Engine Application Source: https://www.jetbrains.com/help/profiler/Profile-Unreal-Engine-Application Instructions on how to profile an Unreal Engine application using JetBrains dotTrace. This guide likely covers setup, attachment, and data collection specific to Unreal Engine environments. ```en Profile Unreal Engine Application https://www.jetbrains.com/help/profiler/Profile-Unreal-Engine-Application.html ``` -------------------------------- ### JetBrains dotTrace - Run Profiling Source: https://www.jetbrains.com/help/profiler/Reference__Dialog_Boxes__Options__System_Module_Folding Instructions and guidance on how to run profiling sessions using JetBrains dotTrace. This covers the process of starting and configuring a profiling run. ```APIDOC Run Profiling: - Step-by-step guide to initiating and configuring profiling runs. - Related to: Analyzing_Concurrency_Profiling_Results_Timeline_.html, Studying_Profiling_Results__Index.html. - Located at: Run_Profiling.html ``` -------------------------------- ### Call Tree Example with Folded Recursive Calls Source: https://www.jetbrains.com/help/profiler/Folding_Calls Demonstrates the Call Tree structure after folding recursive calls, starting from a specific call (e.g., 'A' for UserMethod1). It shows how the call times are summarized by method signatures. ```text UserMethod1 A + B + C + D + E + F + G + H + I | UserMethod2 E + G | | SystemMethod1 G | SystemMethod1 C + H | SystemMethod2 I ``` -------------------------------- ### dotTrace Introduction and Usage Source: https://www.jetbrains.com/help/profiler/Native_Memory_Allocation An introduction to the dotTrace profiler, including its version, shortcuts, and download information. It also links to various aspects of using the profiler for performance analysis. ```APIDOC dotTrace Profiler Overview: Version: 2025.2 Shortcuts: Visual Studio integration available. Download: https://www.jetbrains.com/profiler/download/ Key Documentation Links: - Introduction: https://www.jetbrains.com/help/profiler/dotTrace_Introduction.html - Other Profiling Scenarios: https://www.jetbrains.com/help/profiler/Other_Profiling_Scenarios.html - Running Profiling: https://www.jetbrains.com/help/profiler/Run_Profiling.html - Analyzing Concurrency: https://www.jetbrains.com/help/profiler/Analyzing_Concurrency_Profiling_Results_Timeline_.html ``` -------------------------------- ### Starting and Controlling a dotTrace Profiling Session Source: https://www.jetbrains.com/help/profiler/Profile_WinRT_Application This snippet describes how to start a profiling session in dotTrace for WinRT applications and how to control data collection. It includes options for collecting data from the start and using the profiling controller window. ```APIDOC dotTrace Session Control: Starting the Session: - Select 'Collect profiling data from start' if you want data collection to begin immediately. - Click 'Start' to initiate the profiling session. Controlling Data Collection: - Interact with the profiled application to perform desired workflows or reproduce issues. - Use the 'Get Snapshot' button in the profiling controller window to collect snapshots of profiling data. - Detach the profiler or close the profiled application when finished. ``` -------------------------------- ### Initialize and Profile with Single Snapshot Source: https://www.jetbrains.com/help/profiler/2018.3/Profiling_Guidelines__Advanced_Profiling_Using_dotTrace_API Demonstrates initializing the JetBrains Profiler Self API, configuring it to save snapshots to a specific directory, attaching to the profiling session, starting data collection, and saving a single snapshot. ```C# static void Main(string[] args) { // ... here goes some init code // initialize the API and download the tool (if needed) DotTrace.Init(); // config that sets the save directory var config = new DotTrace.Config(); config.SaveToDir("C:\\Temp\\Snapshot"); // start profiling session DotTrace.Attach(config); // start collecting data DotTrace.StartCollectingData(); SomeMethod(); // end session DotTrace.Detach(); } private void SomeMethod() { // ... here goes some code that I want to profile // get a snapshot and save it DotTrace.SaveData(); } ``` -------------------------------- ### Profile Unit Tests with dotTrace Source: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Profiling_Unit_Tests Guidelines for profiling unit tests using the JetBrains dotTrace profiler. This section likely covers setup, execution, and analysis specific to unit test scenarios. ```en Profiling Unit Tests: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Profiling_Unit_Tests.html ``` -------------------------------- ### dotTrace Process Filter Example Source: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Profiling_Unit_Tests An example of a process filter to exclude specific processes from profiling, such as the nunit-console.exe process. ```APIDOC nunit-console* ``` -------------------------------- ### Compare Snapshots Example Usage Source: https://www.jetbrains.com/help/profiler/Performance_Profiling__Profiling_Using_the_Command_Line An example of executing the 'Reporter.exe compare' command with specific file paths for snapshots, pattern, and report generation. ```bash Reporter.exe compare c:\Snapshots\base_snapshot.dtp c:\Snapshots\snapshot.dtp --pattern=pattern.xml --save-to=c:\Reports\report.xml ``` -------------------------------- ### JetBrains dotTrace Profiler - Configuration and Navigation Source: https://www.jetbrains.com/help/profiler/Source_View_and_Line-by-Line_Profiling This section covers configuration options and navigation capabilities within the JetBrains dotTrace profiler, including setting up source file paths and navigating to Visual Studio. ```APIDOC Configure Path to Source Files: Allows users to specify the directory where source files are located for accurate profiling analysis. Navigate from dotTrace Source Preview to Visual Studio: Enables seamless navigation from the dotTrace source code preview directly to the corresponding location in Visual Studio. ``` -------------------------------- ### JetBrains Profiler Core GUID and Paths Source: https://www.jetbrains.com/help/profiler/Profiling_Guidelines__Transparent_Integration Specifies the GUID and library paths for the JetBrains profiler core, used to load the profiler into a process. ```APIDOC Variable | Windows registry data type | Description ---|---|--- JETBRAINS_PROFILER_CORE_GUID | REG_SZ | (Required) The profiler core GUID. JETBRAINS_PROFILER_CORE_PATH32 | REG_SZ | (Required on Windows ARM64/x64/x86) An absolute path to the x86 profiler core shared library. JETBRAINS_PROFILER_CORE_PATH64 | REG_SZ | (Required on Linux x64, macOS ARM64/x64, Windows ARM64/x64) An absolute path to the x64 profiler core shared library. JETBRAINS_PROFILER_CORE_PATH_ARM32 | REG_SZ | (Required on Linux ARM) An absolute path to the ARM profiler core shared library. JETBRAINS_PROFILER_CORE_PATH_ARM64 | REG_SZ | (Required on Linux ARM64, macOS ARM64, Windows ARM64) An absolute path to the ARM64 profiler core shared library. ``` -------------------------------- ### XML Report Structure Example Source: https://www.jetbrains.com/help/profiler/Performance_Profiling__Profiling_Using_the_Command_Line An example of the XML structure for a performance report generated by the JetBrains Profiler. It includes information about the snapshot, executable, and function execution times. ```xml ```