title: Python question about time spent
body: <p>I would like to know that how much time a particular function has spent during the duration of the program which involves recursion, what is the best way of doing it?</p>
  
  <p>Thank you</p>