Y
Hacker News
new
|
ask
|
show
|
jobs
by
thronemonkey
4974 days ago
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.
2 comments
blaze33
4974 days 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
.
link
Thrymr
4974 days 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...
link