profiler for script.
From the command line
Make sure you havent installed a version of line_profiler before!!!
$ git clone https://github.com/reubenlindroos/profiler.git
$ cd profiler/
$ git clone https://github.com/rkern/line_profiler.git
$ cd line_profiler/
$ python setup.py install --user
From the command line
$ python gen_profiler.py -f path/to/your/script.py