Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Feature Request GC Allocation Column on Profile Analyzer

Discussion in 'Profiler Previews' started by Ruhan-_-, Jul 11, 2020.

  1. Ruhan-_-

    Ruhan-_-

    Joined:
    Sep 14, 2016
    Posts:
    20
    Not sure why this isn't a part of the analyzer since knowing GC allocations is pretty important for game performance. Is this planned for a future release or is the analyzer strictly for measuring and comparing time?
     
    EthanKennerly-Glu and DF3Boris like this.
  2. SteveCav

    SteveCav

    Unity Technologies

    Joined:
    Jun 30, 2018
    Posts:
    2
    Hi,

    Thanks for your question on the Performance Analyzer, as you alluded to, it is primarily a tool for aggregating and comparing time, more specifically only CPU time, and uses the marker data from the profiler to achieve that function.

    You can use it to see the marker behaviour associated with GC allocations by setting the name filter to GC which would enable you to see the counts of all GC named markers (and compare the behaviour between two datasets) but that would not include the actual allocated memory values - this is something we have under consideration for future functionality.

    In the meantime the Memory Profiler preview package is another way to capture and compare memory state, you can access the package from the Package Manager, ensuring you have preview packages visible.

    Thanks.
     
    MartinTilo and Ruhan-_- like this.