/how-long

Simple Decorator to measure a function execution time.

Primary LanguagePythonMIT LicenseMIT

how_long

Simple Decorator to measure a function execution time.

Example

from how_long import timer


@timer
def some_function():
    return [x for x in range(10_000_000)]