A simple decorator to measure a function excecution time.
Project description
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)]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
how-long-0.1.2.tar.gz
(2.1 kB
view hashes)