Created
May 5, 2012 05:20
-
-
Save ashwin/2599993 to your computer and use it in GitHub Desktop.
Profiling in Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Assuming we want to profile function doMain() | |
import cProfile | |
cProfile.run( "doMain( a, b )" ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment