Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thronemonkey
· 14y ago · 0 comments
Can you suggest any resources for learning about profiling in python? I'm just getting into scientific computing with numpy,scipy,etc. and I'd be interested to learn more.
Comments
[–]
blaze33
14y ago
I used timeit (
http://docs.python.org/2/library/timeit.html
), cProfile (
http://docs.python.org/2/library/profile.html
) and pycallgraph. There is a nice Q&A on this subject:
http://stackoverflow.com/q/582336/343834
.
[–]
Thrymr
14y ago
Ian Ozsvald has a nice tutorial on high performance python, from profiling through cython and some multiprocessing and parallel techniques. You can find video and other materials here:
http://ianozsvald.com/2012/03/18/high-performance-python-1-f...