##// END OF EJS Templates
Bug fixed in jroIO_usrp: nProfiles and profileIndex values were defined. (nProfiles = number of profiles in one second)
Bug fixed in jroIO_usrp: nProfiles and profileIndex values were defined. (nProfiles = number of profiles in one second)

File last commit:

r795:a852583c4e96
r823:459a29f11c52
Show More
speedTools.bash
10 lines | 358 B | text/x-sh | BashLexer
#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