Andrew Straw
unread,Sep 25, 2012, 4:28:44 AM9/25/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py4scie...@googlegroups.com
Py4Science VBC talk announcement
*profiling: why is my script running so slow?*
�mit Seren
Friday, 28 September 2012, 12:30pm, GMI Orange Seminar Room (room 9.36)
Profiling is an important but often neglected aspect in programming,
especially in the area of scientific computing. I will show various
tools that can be used to identify performance hotspots in your code.
We will use timeit to measure the execution time, move on to cProfile
and pstats for detailed profiling. Based on the results of cProfile I
will show how to interpret the results visually and finally demonstrate
line_profiler.py for retrieving line by line profiling information.