When I call cProfile.run('myFunction1')
it returns with a number of function calls.
I would like to compare various versions of myFunction and find the most effective one(e.g. with the least complexity).
What is the connection between the function calls
and the complexity
?
What do the function calls describe?
If I have two functions, is the function with the least number of function calls the most efficient?