title: Testing / Improving Performance of Multithreaded Program
body: <p>I was wondering if anyone had any suggestions on how to throuougly test the performance of a program, and in particular a multi-threaded program.  In particular, using Visual Studio 2010, how can I test:</p>
  
  <ol>
  <li>What parts of my code are taking the longest</li>
  <li>What parts of my code are not necessary</li>
  </ol>
  
  <p>Etc.  Any thoughts are much appreciated!
  Cheers</p>