Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

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?
     
    DF3Boris likes 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.