Python Profiling In Windows, How do you ignore Builtin Functions
- by Tim McJilton
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.