Search Unity

Overhead in profiler

Discussion in 'Editor & General Support' started by ratamorph, Mar 10, 2011.

  1. ratamorph

    ratamorph

    Joined:
    Sep 2, 2007
    Posts:
    458
    when I profile my game overhead is usually at top around the 40%+ is this normal? What's this overhead? is it the overhead from using the profiler?
     
  2. ratamorph

    ratamorph

    Joined:
    Sep 2, 2007
    Posts:
    458
    I noticed the overhead grows as I play the game, is there any way of knowing what this overhead might be?
     
  3. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    The overhead depends on the number of functions you call etc.
    When you use the profiler, you normally do so not to get a profile of the effective performance, but a ratio of what function eats most time out of the complete runtime the application had to optimize the function, the exact overhead etc should not be of concern as they will never be stable or static in their impact, be it debugging or profiling.