Monday, January 23, 2017

Python Profiling - Some hints



No time to compose fully; Here are some links which helped me in CPU profiling


Python Profilers

http://www.vrplumber.com/programming/runsnakerun/

 python -m cProfile -o profile_out ANR_4G_IRAT.py

 pacman -S kdesdk-kcachegrind

 http://thirld.com/blog/2014/11/30/visualizing-the-results-of-profiling-python-code/

 runsnakerun http://wiki.wxpython.org/How%20to%20install%20wxPython

 pstats dechipering cprofile output
 https://pymotw.com/2/profile/
 https://docs.python.org/2/library/profile.html

 yappi https://code.google.com/archive/p/yappi/

 pyprof2calltree -k -i myscript.cprof
 https://julien.danjou.info/blog/2015/guide-to-python-profiling-cprofile-concrete-case-carbonara


 performance tips python
 https://wiki.python.org/moin/PythonSpeed/PerformanceTips#Profiling_Code

No comments:

Install/Upgrade NVIDI Driver in Ubuntu for CUDA SDK

Most linux distribution comes with the Nouveau https://nouveau.freedesktop.org/wiki/ display driver configured. If you need to use NVIDIA...