Python Profiling In Windows, How do you ignore Builtin Functions

Posted by Tim McJilton on Stack Overflow See other posts from Stack Overflow or by Tim McJilton
Published on 2010-04-29T23:59:50Z Indexed on 2010/04/30 1:47 UTC
Read the original article Hit count: 223

I have not been capable of finding this anywhere online. I was looking to find out using a profiler how to better optimize my code, and when sorting by which functions use up the most time cumulatively, things like str(), print, and other similar widely used functions eat up much of the profile. What is the best way to profile a python program to get the user-defined functions only to see what areas of their code they can optimize?

I hope that makes sense, any light you can shed on this subject would be very appreciated.

© Stack Overflow or respective owner

Related posts about python

Related posts about profiling