Comparing frames from different data sets | Profile Analyzer | 0.7.0-preview.4
docs.unity3d.com
    Show / Hide Table of Contents

    Comparing frames from different data sets

    This workflow explains how to compare two frames from different data sets. In this example, it shows how to compare the median frames from each data set. Comparing the median frames helps you understand what might be happening in a frame that is central to the distribution for each data set.

    Step 1: Collect performance data to analyze

    1. Open the Profile Analyzer window (menu: Window > Analysis > Profile Analyzer). Click the Compare button in the toolbar to enter the Compare view.
    2. Collect some profiling data. To pull data from an active profiling session, click the Pull Data button. This pulls in the current set of available frames from the Profiler. If you don't have an active profile session, click the Open Profiler Window button, then load or record some data. For more information on how to collect data, see the workflow documentation on Collecting and viewing data.
    3. Pull a different data set that you want to analyze into each graph in the Frame Control pane.

    Step 2: Select frames of interest

    Enable Pair Graph Selection. Right-click on one of the graphs in the Frame Control pane and then choose Select Median Frame from the context menu.

    Frame Control context menu
    The Frame Control context menu

    The Profile Analyzer then analyzes the two median frames of the data sets like this:

    Two data sets compared

    You can then look further and compare the differences between the median frames of each data set.

    For further information, see the Ordering frames by length workflow, which extends the selected range and number of frames used from the middle of the frame distribution.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023