Share via


Profiling Tip #1: release vs. debug

Don't laugh!  I've seen this happen a few times now.  In the UI , if you are debugging your debug build and then switch to performance tools and push launch, you will be profiling your Debug bits!  Don't do this.  Make sure you have set your configuration to Release and then profile.  Performance data from debug builds is next to useless. 

If you see Debug.Assert() as the top called function in your app, that means you have fallen prey to this pitfall.

Comments

  • Anonymous
    April 10, 2005
    The comment has been removed
  • Anonymous
    June 09, 2005
    I’ve pulled together all of the technical articles and walkthroughs from the various team member blogs...