##// END OF EJS Templates
merged into schain_mp
merged into schain_mp

File last commit:

r965:156d7465eee3
r969:0ac79dee3b6c merge
Show More
speedTools.bash.svn-base
10 lines | 358 B | text/plain | TextLexer
/ schainpy / .svn / text-base / speedTools.bash.svn-base
#Use this script in order to find the slowest module or function in your python code.
#Reference: http://lukauskas.co.uk/articles/2014/02/12/how-to-make-python-faster-without-trying-that-much/
#!/bin/sh
script = "testRawData.py"
output = "profile.pdf"
python -m cProfile -o profile.pstats $script
gprof2dot -f pstats profile.pstats | dot -Tpdf -o $output