code: def timeit(method):
      
  
      import datetime
  
      @functools.wraps(method)
      def timed_method(self, rinput):
  
          time_start = datetime.datetime.utcnow()
          result = method(self, rinput)
          time_end = datetime.datetime.utcnow()
          result.time_it(time_start, time_end)
          self.logger.info('total time measured')
          return result
  
      return timed_method
docs: Decorator to measure the time used by the recipe