A simple decorator to measure a function excecution time. Clone of https://pypi.tw.martin98.com/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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file how-short-0.1.1.tar.gz.
File metadata
- Download URL: how-short-0.1.1.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.8.10 Linux/4.19.104-microsoft-standard
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51140bb329e67ee2e3d75537132122164a1366d2548fab392bfc039dcd4a1462
|
|
| MD5 |
7a10b14b96143c6f1ac6f4bc6e78042c
|
|
| BLAKE2b-256 |
b2f648e4a91fbb404716b6c986e767f493fb7f5551957d61728176f5f824ee65
|
File details
Details for the file how_short-0.1.1-py3-none-any.whl.
File metadata
- Download URL: how_short-0.1.1-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.8.10 Linux/4.19.104-microsoft-standard
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fc30b94a3c816a5466f7aba9a538592cd5724936eeee7837e346d18733fefe3
|
|
| MD5 |
0784fa42c451d34651689623f2f10e5d
|
|
| BLAKE2b-256 |
d575fec342cccf51a794ae638eca7fc781044586088dcb57e03a8119275a2963
|