Profiling

Python Tools for Visual Studio also supports profiling your Python program (this feature is only available for CPython based interpreters and requires Visual Studio 2010 Ultimate.  You must also be running SP1 of VS 2010 or later). To start profiling you can go to the Analyze menu and and select Launch Python Profiling. You can then use the dialog to configure how you’d like to setup profiling:

i.profile.setting.png

When you click OK the profiler will run and then open the resulting performance report. You can then drill into which functions are consuming the most time.

i.profile.result.png

Note: Please see the Cluster/MPI section for Profiling code on a cluster.

Last edited Apr 26, 2013 at 10:27 PM by dinov, version 4

Comments

No comments yet.