-
-
Save lanwen/f714f02c4efdb3b55388fb53c0d551fd 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