Thanks for the guide. I've always been disappointed with Python's built-in debugging and profiling tools, even as the popularity of the language has increased. The built-in profiler still doesn't have good threading support, and built-in memory inspection tools are essentially nonexistent.
The maintainers of Python should take a look at jmap and jhat from the Java world for examples of informative and usable analysis utilities provided by the language.
I was googling for how to time some slightly different implementations of an algorithm in python and I found this guide. Definitely useful if you ever have a need for more serious performance metrics in Python.
2 comments
1 u/CaptainRex 27 Aug 2015 18:37
Thanks for the guide. I've always been disappointed with Python's built-in debugging and profiling tools, even as the popularity of the language has increased. The built-in profiler still doesn't have good threading support, and built-in memory inspection tools are essentially nonexistent.
The maintainers of Python should take a look at jmap and jhat from the Java world for examples of informative and usable analysis utilities provided by the language.
0 u/mwolf [OP] 28 Aug 2015 07:24
Glad you like it!
I was googling for how to time some slightly different implementations of an algorithm in python and I found this guide. Definitely useful if you ever have a need for more serious performance metrics in Python.