A simple decorator to measure a function excecution time.
Project description
Simple Decorator to measure a function execution time.
Very lightweight project to get familiar with poetry publishing to PyPi, built from tutorial https://www.pythoncheatsheet.org/blog/python-projects-with-poetry-and-vscode-part-1
Example
from iva2_how_long import timer
@timer
def some_function():
return [x for x in range(10_000_000)]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
iva2k-how-long-0.1.4.tar.gz
(1.6 kB
view hashes)
Built Distribution
Close
Hashes for iva2k_how_long-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7394681b173ee63f1b744288ea4112a0f0821597dadb59567081d86c0e5edc35 |
|
MD5 | 1f3bda75f939177aac11c10193e4586a |
|
BLAKE2b-256 | 57dfb4a95801691859f8b9d657c99a41da0d36f730758fb90e731e50c3323619 |