Created
March 16, 2012 00:24
-
-
Save jassinm/2047836 to your computer and use it in GitHub Desktop.
nosetest profiling
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
nosetests --with-profile --profile-stats-file=nose.prof | |
python -c "import hotshot.stats ; stats = hotshot.stats.load('nose.prof') ; stats.sort_stats('time', 'calls') ; stats.print_stats(20)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use this in a makefile, fabric, ...