# Analysis preferences reference

> Reference for Analysis preferences.

The **Analysis** preferences define settings for the [Profiler](/engine/6000.3/manual/analysis/profiler.md).. To open the preferences, go to **Edit > Preferences > Analysis** (macOS: **Unity > Settings > Analysis**).

## Profiler

Contains settings for the [Profiler](/engine/6000.3/manual/analysis/profiler.md) window.

| **Setting**                                      | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Profiler Capture Storage Path**                | Set the default folder where Unity saves [Profiler captures](/engine/6000.3/manual/analysis/profiler/window.md#captures-list).                                                                                                                                                                                                                                                                                                                                                 |
| **Frame count**                                  | Set the maximum number of frames for the Profiler to capture. You can set this number between 600 and 4,000. A higher number of loaded frames increases the memory usage of the Unity Editor.                                                                                                                                                                                                                                                                                  |
| **Automatic memory management**                  | Automatically manage Profiler memory usage. When the system memory usage is at a critical level and the Profiler uses more than 75% of the Editor memory, Unity discards data until the system memory usage is back to a normal state, or the Profiler uses less than 25% of Editor memory.                                                                                                                                                                                    |
| **Show stats for current frame**                 | Display annotations on the frame indicator when you select [**Current frame**](/engine/6000.3/manual/analysis/profiler/window.md). By default, when you select the **Current Frame** button, the frame indicator line doesn't have annotations with the stats for the current frame. This is because the stats annotations might make it difficult to view data in real-time.                                                                                                  |
| **Default recording state**                      | Select the recording state to open the Profiler in. Choose from the following options:**Remember**: Remembers whether you have enabled or disabled the **Record** button during your session and keeps it at its last state next time you open the Profiler window.**Enabled**: Keeps the **Record** button enabled between sessions.**Disabled**: Disables the **Record** button between sessions, regardless of whether you changed its state during your profiling session. |
| **Default editor target mode on start**          | Select the default mode for the [Target Selection](/engine/6000.3/manual/analysis/profiler/window.md) dropdown. Choose from either **Play Mode** or **Edit Mode**.                                                                                                                                                                                                                                                                                                             |
| **Custom connection ID**                         | Set the connection name displayed in the Target Selection dropdown of the [Profiler Window](/engine/6000.3/manual/analysis/profiler/window.md) or [Console Window](/engine/6000.3/manual/unity-editor/editor-windows-views-reference/console.md) for the device that's running your application.                                                                                                                                                                               |
| **Target Frames Per Second** (Highlights Module) | Set the target frames per second that the [Highlights Profiler module](/engine/6000.3/manual/analysis/profiler/visualizing-data/highlights.md) uses. The Highlights Profiler module flags any frames that exceed the budget for this target frame rate.                                                                                                                                                                                                                        |

## Additional resources

* [Project Settings reference](/engine/6000.3/manual/unity-editor/editor-settings-reference/comp-manager-group.md)
* [Profiler introduction](/engine/6000.3/manual/analysis/profiler/introduction.md)
