Decorators

decorators.timer(f: Callable)[source]

timer decorator for counting a function’s running time.