docs.unity3d.com
    Show / Hide Table of Contents

    Entities Profiler modules

    You can use the Unity Profiler to profile your application and understand more about the performance of your application. There are two Entities Profiler modules that you can use to track and collect data on the performance of your Entities code:

    • Entities Structural Changes: Displays information about when the ECS framework created and destroyed Entities and Components.
    • Entities Memory: Displays how much memory the Archetypes in your project used on a per-frame basis.

    For information on how to use the Profiler, and its other modules, see the Unity User Manual documentation on the Profiler Window.

    To open the Profiler window, go to Window > Analysis > Profiler. By default, the Entities Profiler modules appear in the Profiler window. To enable or disable them, use the Profiler Modules dropdown.

    Important

    The Profiler doesn’t collect any data for modules that aren’t enabled. If you enable a module after profiling your application, the newly enabled Profiler modules won’t display any data.

    You can profile your application in Play mode, or a development build of your application on a target device. You can also profile the Editor itself, to see how much overhead it has, and to profile Conversion code, which runs in Edit mode. For more information on how to build your Entities application, see Building your project.


    Profiler window with the Entities Profiler modules displayed

    Additional resources

    • Profiler window
    • Profiling your application
    Back to top
    Terms of use
    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