Skip to content

Instantly share code, notes, and snippets.

@kirang89
Forked from jassinm/nosetests profiling
Last active August 29, 2015 14:10
Show Gist options
  • Save kirang89/d4c72f8b77d048ee51dc to your computer and use it in GitHub Desktop.
Save kirang89/d4c72f8b77d048ee51dc to your computer and use it in GitHub Desktop.
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