To open the Profiler, go to Window > Analysis > Profiler or use the keyboard shortcut Ctrl+7 (Command+7 on macOS). Use the Profiler module charts to inspect and analyze Profiler data.
To select and inspect a frame:
Unity then displays more details about the frame in the panel in the bottom half of the Profiler window. The type of detail in this window changes depending on which Profile module you select. For more information about the specific details that each module displays in this area, refer to the individual documentation for the Profiler modules.
Unity manages the vertical scale of the charts automatically, and the charts attempt to fill the vertical space of the window. To inspect a chart in more detail, drag the splitter between the charts and the details pane to increase the screen area of the charts.
Hide or display metrics in a module’s chart, or reorder the metrics, to identify the causes of spikes, or make more prominent metrics visible. To customize the metrics displayed in a chart:
By default, the Profiler records and keeps the last 300 frames of your application, and displays detailed information about every frame. To increase the default frame count:
Note: If you increase this setting to a large number, the Profiler’s overhead and memory usage might become more performance intensive.