Search Unity

Profiling Question

Discussion in 'General Graphics' started by CodeMonke234, Jun 25, 2015.

  1. CodeMonke234

    CodeMonke234

    Joined:
    Oct 13, 2010
    Posts:
    181
    We are seeing periodic spike in profiler that causes a hiccup in otherwise smooth scrolling.

    The strange thing is that the profiler shows 90% in Camera.Render, but when you expand the line, the resulting lines don't add up to 90%. The other profilers I have used always add up when you drill into a line?

    <see Screenshot>
    Screen Shot 2015-06-25 at 1.53.31 PM.png Thanks for any advice/help
     
  2. phil_lira

    phil_lira

    Unity Technologies

    Joined:
    Dec 17, 2014
    Posts:
    584
    You have to look at Total and Self columns. 90% correspond to Camera.Render (self) 73.4% + 15.3 + 1.1 ~ 89.8%.
    The difference is due to clamped values displayed on editor. So for instance, Camera.ImageEffects is not 0%, it's something like 0.0XXXX.