##// END OF EJS Templates
Merge branch 'v3.0-devel' of http://jro-dev.igp.gob.pe/rhodecode/schain into v3.0-devel
Merge branch 'v3.0-devel' of http://jro-dev.igp.gob.pe/rhodecode/schain into v3.0-devel

File last commit:

r795:a852583c4e96
r1190:29b77fb75833 merge
Show More
speedTools.bash
10 lines | 358 B | text/x-sh | BashLexer
Miguel Valdez
speedTools.bash updated and tested
r795 #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/
Miguel Valdez
Bash para medir testear el tiempo de ejecución y rendimiento del código en python
r327 #!/bin/sh
Miguel Valdez
speedTools.bash updated and tested
r795 script = "testRawData.py"
output = "profile.pdf"
Miguel Valdez
Bash para medir testear el tiempo de ejecución y rendimiento del código en python
r327
Miguel Valdez
speedTools.bash updated and tested
r795 python -m cProfile -o profile.pstats $script
Miguel Valdez
Bash para medir testear el tiempo de ejecución y rendimiento del código en python
r327
Miguel Valdez
speedTools.bash updated and tested
r795 gprof2dot -f pstats profile.pstats | dot -Tpdf -o $output