Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python profiling - What are the columns in runsnakerun output?

This may be really obvious but just wanted to make sure I understand what the columns are in runsnakerun.

Name, Calls, RCalls, Local, /Call, Cum, /Call, File, Line, Directory

Here are some that I think I understand

Name - name of function being called

  1. Calls - number of calls?
  2. File - file where the function is stored
  3. Line - Line in File where the function is defined
  4. Directory - directory of file with function definition

The ones I don't feel comfortable venturing a guess are the rest:

  1. RCalls
  2. Local
  3. /Call
  4. Cum
  5. /Call

Thanks

like image 821
evan54 Avatar asked May 02 '14 02:05

evan54


1 Answers

Here is my understanding:

  • RCalls number of recursive calls
  • Local Total time spent on local execution (without calling another method)
  • /Call Local time per call
  • Cum Total cumulative time
  • /Call Cumulative time per call
like image 149
interskh Avatar answered Oct 14 '22 14:10

interskh