A simple decorator to measure a function excecution time. Clone of https://pypi.org/project/how-long/.
Project description
Simple Decorator to measure a function execution time. Clone of how-long.
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-short-0.1.1.tar.gz
(1.6 kB
view hashes)
Built Distribution
Close
Hashes for how_short-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fc30b94a3c816a5466f7aba9a538592cd5724936eeee7837e346d18733fefe3 |
|
MD5 | 0784fa42c451d34651689623f2f10e5d |
|
BLAKE2b-256 | d575fec342cccf51a794ae638eca7fc781044586088dcb57e03a8119275a2963 |