Skip to content
Simple Decorator to measure a function execution time.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
how_long
tests
.gitignore
LICENSE
README.rst
poetry.lock
pyproject.toml

README.rst

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)]
You can’t perform that action at this time.