Skip to content

Instantly share code, notes, and snippets.

@jassinm
Created March 16, 2012 00:24
Show Gist options
  • Save jassinm/2047836 to your computer and use it in GitHub Desktop.
Save jassinm/2047836 to your computer and use it in GitHub Desktop.
nosetest profiling
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)"
@jassinm
Copy link
Author

jassinm commented Mar 16, 2012

use this in a makefile, fabric, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment