##// END OF EJS Templates
Bash para medir testear el tiempo de ejecución y rendimiento del código en python
Miguel Valdez -
r327:3d4af4a59855
parent child
Show More
@@ -0,0 +1,8
1 #!/bin/sh
2
3 filename = "testRawData.py"
4 output = "output"
5
6 python -m cProfile -o $output $filename
7
8 gprof2dot -f pstats $output.pstats | dot -Tpng -o $output.png No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now