Profile and Tune Your Algorithm’s Performance with vprof

Example tool for to profiling algorithm performance for:

  • CPU
  • Memory
  • Profiler
  • Heatmap

The pip includes vprof for profiling algorithm code performance

  1. Start vprof in remote mode in a first terminal


    This command will start a webapp on port 3434

    vprof -r -p 3434
  2. Start Profiler in a second terminal


    This command pushes data to the webapp in the other terminal listening on port 3434

    vprof -c cm ./analysis_engine/perf/