Decorator
    Execute tracemalloc

def malloc(func):
    """ Decorator
    Execute tracemalloc
    """
    def _f(*args, **kwargs):
        print("\n<<<---")
        tracemalloc.start()
        res = func(*args, **kwargs)
        snapshot = tracemalloc.take_snapshot()
        top_stats = snapshot.statistics('lineno')
        print("[ Top 10 ]")
        for i, stat in enumerate(top_stats[:10]):
            frame = stat.traceback[0]
            filename = os.sep.join(frame.filename.split(os.sep)[-2:])
            print("#%s: %s:%s: %.1f KiB"
                  % (i, filename, frame.lineno, stat.size / 1024))
            print(linecache.getline(frame.filename, frame.lineno).strip())
            # print(stat)
        print("--->>>\n")
        return res
    return _f