Created
June 5, 2013 16:53
-
-
Save scraperdragon/5715431 to your computer and use it in GitHub Desktop.
Python profile by lines, thanks to http://pythonhosted.org/line_profiler/
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
pip install line_profiler | |
kernprof.py -l worldbank.py | |
python -m line_profiler worldbank.py.lprof | |
# put @profile before the functions you care about |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment