docs: def time_annotated(func, *args, **kwargs):
      """Annotate the decorated function or method with the total execution
      time.
  
      The result is annotated with a `time` attribute.
      """
      start = time()
      result = func(*args, **kwargs)
      end = time()
      result.time = round(end - start, config.PRECISION)
      return result