def METHOD_NAME(*args, **kwargs):
    if attr_name not in self.__dict__:
        self.__dict__[attr_name] = 0
    tic = perf_counter()
    ret = fn(*args, **kwargs)
    toc = perf_counter()
    self.__dict__[attr_name] += toc - tic
    return ret