title: Whats are best practices and tools for profiling and performance testing python code?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3045556/how-to-profile-my-code">How to profile my code?</a>  </p>
  </blockquote>
  
  
  
  <p>Whats are best practices and tools for profiling and performance testing python code?
  Any quick wins here or recommendations.</p>
  
  <p>CProfile seams popular and some great notes/answers below, both are very good answers/tutorials. Vote away and I'll pick the top one in a day or two. Thanks @senderle and @campos.ddc</p>
  
  <p>Once a problem area is found are there any idioms and/or tips for converting code to make it faster?</p>