Created
October 20, 2017 21:31
-
-
Save mgoldey/1538f1b3d5cddaeb33988be1b325dad0 to your computer and use it in GitHub Desktop.
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
for i in test*.py; do export j=`echo $i | sed 's/.py/.profile/g'`; python2 -m cProfile -o $j $i ; python2 -c "import pstats ; print(pstats.Stats('$j').sort_stats('tottime').print_stats(20))"; done > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment